Hi,
i have a problem, my backtesting and live(demo) dosent take positions at the same time which makes the whole system wrong. The only thing i can think of is that i use a multiframe for it, can that be the problem? This is the code ;
// RSI 30 minutes
timeframe(30 minutes,updateonclose)
indicator1 = (RSI[3](close))
n1 = (indicator1 >= 40)
// Stochastic 15 minutes
timeframe(15 minutes,updateonclose)
indicator2 = (Stochastic[3,3](close))
n2 = (indicator2 <= 50)
Spread on Live is not fixed spread like it is that we enter into the backtesting settings.
Also your broker will vary the minimum distance throughout a 24 hour period.
I have tried different spreads on the backtest and still getting the same results?
And its also taking trades on the live one but not the backtest at all.
Could you please post the complete code of the strategy?