I need an ea that stops other ea if spread is too high.
or you need to use DLLs afaik
other EA should be smart enough to stop itself if spread is high :)
or you need to use DLLs afaik
i dont know what is that
i dont know what is that
i dont know what is that
He's saying that your first EA should already have that functionality built-in. It sounds like you don't have that.
So, you could use API calls from a second EA to enable/disable the first EA.
This thread may give you more information.
https://www.mql5.com/en/forum/113277
This thread (different forum) stuffs the keyboard buffer.
https://www.tradingsystemforex.com/mql-programming/1166-disable-ea-form-ea-or-script.html
He's saying that your first EA should already have that functionality built-in. It sounds like you don't have that.
So, you could use API calls from a second EA to enable/disable the first EA.
This thread may give you more information.
https://www.mql5.com/en/forum/113277
This thread (different forum) stuffs the keyboard buffer.
https://www.tradingsystemforex.com/mql-programming/1166-disable-ea-form-ea-or-script.html
Maybe those links are helpful for someone who know programming but i know only about the Magic Number. Someone for sure does have a "trades manager" or something like that.
Have an EA that can apply a template on another chart (with your EA on it) that dissables EA trading on that chart when spread is high.
After spread changes to normal it applies template with trading allowed.
Have an EA that can apply a template on another chart (with your EA on it) that dissables EA trading on that chart when spread is high.
After spread changes to normal it applies template with trading allowed.
This sounds interesting.
However, I don't see a way to save a "disable AutoTrading" attribute to a template.
Can you break down your solution for me?
This sounds interesting.
However, I don't see a way to save a "disable AutoTrading" attribute to a template.
Can you break down your solution for me?
Use the "flags". Allow live trading is bit 2.
This solution could however "disturb" the controlled EA and flood the output log, depending of how it's coded.
// Deletes the Expert Advisor form the appropriate chart bool EXPERT::Remove( const long Chart_ID = 0 );
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use