EA multischedule
-
Hi friends, can you help me to set up times correctly?
My EA will work with some time bands and will close orders also when some specific times.
Can you please validate if you agree with my logic, if there is something wrong or if you would have some better logic?Monday
EA operation from 00:01 to 08:00 closing all orders at 08:00.
EA returns to work from 12:00 to 00:00 closing all orders at 00:00.
Tuesday
EA operation from 00:01 to 08:00 closing all orders at 08:00.
EA returns to work from 12:00 to 00:00 closing all orders at 00:00.
Wednesday
EA operation from 00:01 to 08:00 closing all orders at 08:00.
EA returns to work from 12:00 to 00:00 closing all orders at 00:00.
Thursday
EA operation from 00:01 to 08:00 closing all orders at 08:00.
EA returns to work from 12:00 to 00:00 closing all orders at 00:00.
Friday
EA operation from 00:01 to 08:00 closing all orders at 08:00.
EA returns to work from 12:00 to 17:00 closing all orders at 17:00.My project here : https://fxdreema.com/shared/RNXDvc66c
-
@ontradingx Your logic is correct, but you should move all blocks to the 'on tick' tab. Otherwise the EA will not be able to recognise when it is supposed to activate those hours. The 'on timer' tab is used to execute blocks at specific time segments (every 60 seconds by default). You need the ticks for teh EA to now when 08:00 is now, for example.
-
@l-andorrà
Hi my friend, thanks for your help.
I found some little problems and I will fix the logic and update the project.
About the "On Tick" tab, I understood what you meant and I thank you because the intention was actually to have the fastest millisecond.But I wanted to explain why I put it on "on Timer":
I realized that "On Tick" means that everything will happen with each movement of the "candle, or bis, or ask, in short, the market is moved" and I don't know why when I do some things in "Ontick" I get the impression that delays occur, because if the broker crashes, or takes a long time to send this "market tick" to Metatrader, some step of the strategy will skip.
My intention was that if I put it in the "on Timer" tab it would go away, but this detail of "60 seconds" will unfortunately cause problems with my strategy.
Thank you so much for evaluating and helping me, it will be a great help in my ideas. -
@ontradingx said in EA multischedule:
@l-andorrà
Hi my friend, thanks for your help.
I found some little problems and I will fix the logic and update the project.
About the "On Tick" tab, I understood what you meant and I thank you because the intention was actually to have the fastest millisecond.But I wanted to explain why I put it on "on Timer":
I realized that "On Tick" means that everything will happen with each movement of the "candle, or bis, or ask, in short, the market is moved" and I don't know why when I do some things in "Ontick" I get the impression that delays occur, because if the broker crashes, or takes a long time to send this "market tick" to Metatrader, some step of the strategy will skip.
My intention was that if I put it in the "on Timer" tab it would go away, but this detail of "60 seconds" will unfortunately cause problems with my strategy.
Thank you so much for evaluating and helping me, it will be a great help in my ideas.every 60 seconds, can be changed in with global properties, if that helps to keep it to your thought
-
@tipsywisdom Thanks my friend, I saw that I can download for (seconds), but I believe that ontick is better because it is milliseconds.
I will run my tests.
Thank you very much.
Now I'm looking for market depth, I'll try to put together another post.