dimanche 31 juillet 2016

From-to-range Trouble

Dear all,

I'm having strange results with this;

Buy = 1;

when historical data starts before the initial value of range.

It happens that ts never buys when historical symbol starts before the 'from' date.

if I add in the buy row a date reference, problem is solved:

buy = 1 and DateNum()>1000201 ;// same date of 'from to range' setting


correlated question:
is there an AFL instruction to put in the TS the from-to-range value?

thank you

cippo


From-to-range Trouble

Aucun commentaire:

Enregistrer un commentaire