|
Some EasyLanguage Help Please
Hi, I was hoping someone could help me with the code for this.
I would like to know if a certain condition has been true for the last 10 bars.
Lets say one moving average has been less than the other for at least 10 bars and has crossed over on this bar.
When I try coding it it just returns that the condidtion was true 10 bars ago instead of for the last 10 bars.
Could someone please help me?
thanks
JJ
|