PureBytes Links
Trading Reference Links
|
Hello List,
Having problems discerning how TS is calculating these
buys.
Vars:
Whatitis = Range Data2 * .5;
TKD1 = O Data1;
If D <>[1] then buy TKD1 + Whatitis stop;
If Marketposition = 1 then exitlong next bar market;
Print("Date:",Date:6:0," Range
Data2:",Whatitis:4:4," OpenD1:", TKD1:4:4);
After examining the dubug window in 2000i and Using
60min bars on the SP for Data1 and EOD on Data2 it
appears that the Range of Data2 and Open of Data1 are
all correct but the Buys are inconsistent. Sometimes
its the O of the 1st bar, sometimes the 2nd or 3rd.
How is TS doing these calculations? Having a devil of
a time with intraday.
Thank you to anyone who could shed some light,
Todd
Houston, Tx
|