Jaya chandra:
I have created a Ea with EMA and ADX. However while adding EA to the Forex pair chart, it was showing up the below error. Could you help me in resolving this issue.
While compiling the EA, it showed 0 errors
ema_adx_alert (NZDUSD,M1) ❌ Failed to create EMA handle for 0
Create the handle after initialization
attach the mq5 file , we cant see it
String Replace returns how many characters it replaced not the new string
the string is still in pairs[i]
string tempSymbol = StringReplace(pairs[i], " ", ""); // ✅ Fix StringTrim issue
Jaya chandra #:
Those all are available in the account, but all the pairs are not present in marketwatch
Those all are available in the account, but all the pairs are not present in marketwatch
try this
string tempSymbol = StringReplace(pairs[i], " ", ""); // ✅ Fix StringTrim issue if(SymbolSelect(pairs[i],true)){ CheckRetracement(pairs[i], PERIOD_M5, "M5"); // 5 Min Timeframe CheckRetracement(pairs[i], PERIOD_M1, "M1"); // 1 Min Timeframe }
although its not the optimal way to approach this
Lorentzos Roussos #:
string tempSymbol = StringReplace(pairs[i], " ", ""); // ✅ Fix StringTrim issue if(SymbolSelect(pairs[i],true)){ CheckRetracement(pairs[i], PERIOD_M5, "M5"); // 5 Min Timeframe CheckRetracement(pairs[i], PERIOD_M1, "M1"); // 1 Min Timeframe }
string tempSymbol = StringReplace(pairs[i], " ", ""); // ✅ Fix StringTrim issue if(SymbolSelect(pairs[i],true)){ CheckRetracement(pairs[i], PERIOD_M5, "M5"); // 5 Min Timeframe CheckRetracement(pairs[i], PERIOD_M1, "M1"); // 1 Min Timeframe }
(NZDUSD,M1) ⚠️ Not enough data for AUDJPY on M1

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
I have created a Ea with EMA and ADX. However while adding EA to the Forex pair chart, it was showing up the below error. Could you help me in resolving this issue.
While compiling the EA, it showed 0 errors
Attached the file for reference.