Hello, my EA needs a little update.
At the time I drag the EA to a chart
- If Lot size is less or more than the market Value, then the EA has to automatically change the old Value/number to the new minimum allowed in the market!
- If Buy Stop Distance is less than the minimum market Value, then the EA has to automatically change the old Value/number to the new minimum allowed in the market!
- If Sell Stop Distance is less than the minimum market Value, then the EA has to automatically change the old Value/number to the new minimum allowed in the market!
- If Trailing Stop Level is less than the minimum market Value, then the EA has to automatically change the old Value/number to the new minimum allowed in the market!
Example I drag this settings to a chart (Old settings)
Variable : Value
Input Lots : 0.0 <== (EA has to automatically change the number to market minimum)
Buy Stop Distance : 0 <== (EA has to automatically change the number to market minimum)
Sell Stop Distance : 0 <== (EA has to automatically change the number to market minimum)
Trailing Stop Level : 0 <== (EA has to automatically change the number to market minimum)
This is the minimum Value allowed in the market (EURUSD chart)
Variable : Value
Input Lots : 0.01
Buy Stop Distance : 3
Sell Stop Distance : 3
Trailing Stop Level : 3
The inputs has to automatically change to minimum Value allowed in the market (New settings EURUSD)
Variable : Value
Input Lots : 0.01 <== (EA has to automatically change the number to this 0.01)
Buy Stop Distance : 3 <== (EA has to automatically change the number to this 3)
Sell Stop Distance : 3 <== (EA has to automatically change the number to this 3)
Trailing Stop Level : 3 <== (EA has to automatically change the number to this 3)
- It has to change the settings in the EA input even if AutoTrading is off!
Please note that the EA doesn't need to change the input in MetaEditor, just only in the EA input in MT5 terminal. If you can code it then I will send you the EA.