Hello Guys,
just for Testing i want to buy one Contract of DaxMini Future if the low of the Dax reach 16.
Means 10816, 10716 and so on!
The Code i wrote is here, problem i get no execution if i Backtest the code. May anyone help me ?
DailyL = DLow(0)
ModLo = DailyL mod 100
mylot = 1
BuyPrice = DailyL - 6
if DailyL = 16 then
buy mylot contract at BuyPrice limit
endif
set stop loss 33
set target pprofit 21
Thank you for your help in advanced
AleSsandro
Hi,
line 6 should be: if ModLo = 16 then, shouldn’t it?
Beyond that, I can’t help.