Can i add hour filter for other EA?
-
Hi! Im new here, first of all i want to congratulate the builder, very nice!
Im trying to create an multiple hours filter to another EA, there is any way i can achieve it?
Want i need is:
Other EA is running -> Fxdreema EA Stop other EA from opening new trades on certain intervals.
Thanks!
-
@maledetu This is possible but I do not know how, you need to use global variables so condition is set on your meta trader platform, EA reads this and does as required, I have seen things about using global variables on here so you may find what you need by searching.
-
@jstap Correct. Any communication between different platforms needs Terminal Variables and a programmer knowing how to use them.
-
Without the source code of the first EA it's not possible to achieve your goal. And if you have the source code there's no need to write a 2nd EA (possibly fxDreema). You can just modify the 1st EA directly. So don't get a false impression from the answers here. If I understand your question correctly they will guide you in the wrong direction.
All you can do from outside an EA which you don't have the source code for, is disabling automated trading completely (switch off all EAs running in the terminal). But it seems to me this is not want you want.
Regards
-
Hey guys, thanks for the replys!
Actually i dont have the source code of the 1st EA.
Btw, i was thinking about just turning of trading completely, is this possible with fxdreema?
I mean, instead of "controlling" the main EA, i could just run both EAs on 2 different charts and set the fxdreema EA to stop/resume trading on the terminal on certain intervals.
As rosasurfer said, i might be able to achieve it.
How could it be done?
Thanks
-
@maledetu "Hey google, set notification to turn on EA," & Hey google, set notification to turn off EA." External knowledge from your own would best be handled with tools outside of trying to control that EA especially if its something as simple as clicking 1 button to make that action happen.
-
Well, problem is that i want to stop the trading on NEWs, i want ot configure around 30 min before and after each news on the day. Most of the news are night time for me, like between 3-5am. Just setting it to stop and resume the day before would be great.
-
https://www.forexfactory.com/calendar
heres a comprehensive calendar of all news to be expected, the only thing you can never account for is catastrophic events effecting currencies and markets now. But with this calendar you know many months in advance.
-
@maledetu "...i could just run both EAs on 2 different charts and set the fxdreema EA to stop/resume trading..."
If you indeed want to do this then you have to do it from an indicator, and you can't build indicators with fxDreema. Why an indicator? If you stop all EAs in the terminal before news by using another EA, then you will stop your "controller EA" as well. So there will be no way to resume trading after news, because your "controller EA" will be stopped, too.
-
@TipsyWisdom yep i use this already to stop and resume the EA manually on red news, thanks!
@rosasurfer Well you are right, i might want to get some external automation to stop and resume EA as tipsywisdom said.
Ill take a look on thisThanks!