In order to create a strategy based on seasonality, I would like to graph a variable that returns the number of trading days per month without including sunday candles.
I can return with the following code the number of trading days including sundays. I have tried to add a “elsif dayofweek=2 then c1=c1” but it doesn”t work.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.