Hi friends,
I have systems that must be run on daily timeframe, but since ProRealTime don’t have “look inside bar”, I can’t see which SL and TP that works best.
But if I change the code to the following, then maybe I could run the code on any timeframe, and it would still use daily data? Is that correct?
System 1:
From (On daily TF):
aa1=-d1*x1-a2*x2-a3*x3-d4*x4+close
To (On 5m TF):
aa1=-d1*x1-a2*x2-a3*x3-d4*x4+Dclose(0)
System 2:
From (On daily TF):
Indicator1=A1*close[1*A]+A2*close[2*L]+A3*close[3*L]
To (On 5m TF):
Indicator1=A1*Dclose(1*A)+A2*Dclose(2*L)+A3*Dclose(3*L)
Am I correct? Have I translated the code correctly?
Thanks!
Yes it is correct! Well done 🙂