Tradestation question

mdszj

Newbie
Messages
8
Likes
0
I am trying to decode a trading strategy that I found which has been written for Tradestation TS2000i. Can anyone tell me what this condition means: "If currentbar > 1"? I am figuring that it means either the bar is complete or is positive. Any help appreciated.
 
currentbar is the bar being processed. So the first bar it processes (the earliest in time) is bar 1, the second bar is bar 2 etc.

So - this condition will only be run on the 2nd and successive bars.

Let''s say you use ATR(14) in a strategy - you might not want to process any of your trade entry code until after the 14th bar.
 
Top