I have noticed another problem backtesting MACD EMA robot scalper, just to try if all was working, but after it completed it didn't show the results and in the main backtests list it is just a straight line.
A straight line equity curve means no positions were opened.
Taking a look at the indicator (shared v10) it seems the entry criteria are contradictory, or at least unlikely to combine to generate a signal.
In the first block that would generate SELL signals we have:
maCD > maCD MACD is below its signal line, indicating downward trend.
ema(EMAslow) > ema(EMAquick) Fast moving average is below slow moving average, also indicating downward trend.
rsi(periods) > 70 RSI is high, indicating overbought market after upward trend.
I suspect intention here, especially with the take profit action to close opposing long positions in this block, is for the 3 conditions to give confirmation of a bullish and consequently overbought market.
@karel.goldmann I hope you don't mind me taking the liberty - please put back if incorrect... I've saved a version (shared v11) with the first 2 conditions switched to indicate bullish movement. Also added a few lines to plot the indicator values.
I've given it a run and it's opening positions fairly frequently.