Hi,
I’m doing a simple strategy, just to verify how a ticket like Soybean ZS behave buying at first hour of day and selling last hour.
DEFPARAM CumulateOrders=false
OrarioInizioGiorno=000000
OrariofineGiorno=200000
TIMEFRAME(1 hour,default)
IF (DayOfWeek = KK) and time=OrarioInizioGiorno THEN
buy 1 shares AT MARKET
ENDIF
IF time=OrariofineGiorno THEN
sell 1 shares AT MARKET
ENDIF
KK goes from 1 to 5. it works until 2015 and nothing more after. any idea why?
thank’s in advance for your answer.
Alessio