Had introduced priorday a few days ago when i first started on NT, and have done a lot of messing since. Didn't undesrtand the syntax.
I had PriorDayOHLC().Close
instead of PriorDayOHLC().PriorClose
--------------------------------------------------------------------
HI,
I have a strategy that looks at the previous days close etc, but for some reason these values are not working. See the attached output.
If i replace with Close[1] and Open[0] i get output, but obviously only useful for the first bar of the next day, and does not cover yesterdays open.
I thought PRiorDay would be the answer. Is there some trick to getting these to work?
Cheers
Print ("CurrentDayOHL().Open[0]:" + CurrentDayOHL().Open[0].ToString());
Print ("PriorDayOHLC().Open[0]:" + PriorDayOHLC().Open[0].ToString());
Print (" PriorDayOHLC().Close[0]:" + PriorDayOHLC().Close[0].ToString());


Comment