PureBytes Links
Trading Reference Links
|
Hi All,
With TS 2000, is it still usefull to begin a code by :
(1) If CurrentBar = 1 then ........
to make the code processing calculations after the Maxbarsback ?
I 've also seen some codes written with
(2) If Barnumber = 1 then......
Since CurrentBar references only the most recent Bar and BarNumber can
reference any bar, Would it mean that's preferable to use (2) when you
backtest and (1) when you use your system in real time ?
Thanks,
Greetings from Paris
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
plhermie@xxxxxxxxxxxxxxxx
Philippe Lhermie ¤¿¤
~
===================================
|