Some of the values I get for the indicator ALMA is 22919.31303361931, 22919.42770739924.
Whereas the value is supposed to be in the range of 1.18000 - 1.19000.
holocast:
Also this EA works perfectly in strategy tester but when it's run on a live account trades open and close in seconds
I have an EA written in MQL5 the EA depends on data from four indicators, sometimes it copies the data correctly most times I get an error 4116, as a result of this error trades that depend on the value of the indicator are closed because of the ridiculous values that are posted to the indicator array.
Here is the code
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 an EA written in MQL5 the EA depends on data from four indicators, sometimes it copies the data correctly most times I get an error 4116, as a result of this error trades that depend on the value of the indicator are closed because of the ridiculous values that are posted to the indicator array.
Here is the code