Hello,
replace this line
if (TradeLong && bullCross && rsi >= RSI_Buy_Thresh && !hasPos) with this
if (TradeLong && !hasPos) and this line:
if (TradeShort && bearCross && rsi <= RSI_Sell_Thresh && !hasPos) with this:
if (TradeShort && !hasPos) no solution, that's just essentially removing the signal logic and making it trade randomly.
I have attached a fixed version
Files:
Hi. Thank you for the fixed ea.
I downloaded it but did not add those 2 changes in the coding.
Instead I downloaded the fixed ea.
Its on my chart on XAUUUSD 5 Min and the bot is blue on auto trading but is not taking trades.
Please advise as I am very excited about this.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register




EMA_RSI_RISK-EA:
Expert Advisor for MetaTrader 5 that combines Exponential Moving Averages (EMA) and Relative Strength Index (RSI) to generate trading signals. Includes risk management features and trading time filter.
Author: solyemam