help with trading times :)
-
Hi everyone , so i have a harmonic pattern EA working well but it doesn't have any time filters,
So is there any way i can make a separate EA to disable AUTO trading around midnight and then turn it back on say 1hr after midnight , it just that the spreads get wild around then.
image here shows a 40 pip spread which ive never seen and ended up closing at a loss even though it went my way , annoying azz
![2024-05-01 09_49_03- - ThinkMarkets-Live - Hedge - TF Global Markets (Aust) Pty Ltd - AUDNZD,.png
-
Yes you can. Just make sure you use the same magic number for both.
-
@biztet how though
-
I guess the the harmonic pattern EA is not created with fxDreema, right? AFAIK you can do it by using terminal variables, but that's not field of expertise, I'm afraid. Probably jstap can eb more helpful here.
-
You have a few options, is the trade place with an FX EA? You could use a spread filter to prevent trades, you could use global variables to pass information, you could just stop trading at the time. Or create the auto trading switch, this is more work this link will show how: https://fxdreema.com/forum/topic/19004/help-custom-mql-code/2?_=1714553828983
-
@max-c its the veinox harmonic scanner thing on mql5 market place i purchased a while back but now its free- anyway im not sure but i dont want to be up at midnight all the time thanks
-
I know that feeling, what's in that link will work, get a block set up and test, it will turn trading off
-
@jstap yes its and EA trading forex
with this custom code do i put this in a custom mql code block then im not sure,
Just want to turn off auto trading at 23:30 Then turn back on at 01:00 as i can not think of any other ways to interact with this other EA other than to just toggle the autotrade at that time , thanks
-
@max-c https://fxdreema.com/shared/Ctereftlb
will this work perhaps if the magic numbers the same
-
If you create the block in the link on live/demo the algo trading will switch off, once working test on 1 minute, with a small time difference. Magic numbers won't make a difference because nothing on the terminal will work, just make sure no EA's that you want to run are on the platform
-
@jstap https://fxdreema.com/shared/DXWx8ngfe
do you think this will work with the same magic number to delay the other EA from working at these times.
-
Generally the on tick block is unnecessary on the on tick tab, I do not know about the delay block, I think it stops the terminal, but you would have to test to see what it does