Hi ThinkScripters. Have a thinkscript question that maybe simple for somebody to respond to. In Stock Hacker I am looking for an event that occured "between a RANGE of bars" ago. In this case I don't want a moving average cross-over to have occured between 300 and 30 bars ago.
The thinkScript in stock hacker that I used which it will not accept is:
MovingAvgCrossover("length1" = 50, "length2" = 200) is false within between 300 and 30 bars.
So the question is what is the correct thinkscript for a within "RANGE of bars" ago.
Appreciate the assistance!
The thinkScript in stock hacker that I used which it will not accept is:
MovingAvgCrossover("length1" = 50, "length2" = 200) is false within between 300 and 30 bars.
So the question is what is the correct thinkscript for a within "RANGE of bars" ago.
Appreciate the assistance!