Traders Laboratory - View Single Post - Some EasyLanguage Help Please
View Single Post
  #1 (permalink)  
Old 10-14-2007, 09:16 AM
jjthetrader's Avatar
jjthetrader jjthetrader is offline
jjthetrader has no status.

 
Join Date: Aug 2007
Location: Canada
Posts: 344
Thanks: 121
Thanked 71 Times in 43 Posts
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

Reply With Quote