Start time filter
-
@fxDreema
i want some change in start time and end time
Constants
Start Hour = 00:00 Time set by GMT+0
End Hour = 10:00 Time set by GMT+0now check GMT+0 and broker server time,
Formula
gmt 0 time - broker server time = different time,
Variables
if different time +2, so Start Hour (00:00) +2 = start time 02:00
and
End Hour (10:00)+ 2 = end time 12:00 -
@Hiten7405 You will need custom code to do that. No fxDreema block can do it directly. Sadly, I'm not the guy knowing that custom code, sorry.
-
@l-andorrà said in Start time filter:
You will need custom code to do that. No fxDreema block can do it directly. Sadly, I'm not the guy knowing that custom code, sorry.
Thanks for replying, @l-andorrà
if you find any answer please let me know. -
You're welcome.
-
You need to add a * if you want 12% The idea in the constant was to make this changeable in the inputs:

-
@jstap
Thanks for replying,
But My question is not this..
My question is: How to change the auto start and end time?
I want to enter the start and end time based on GMT +0.
Exm;- Constants
Start Hour = 00:00 (as per GMT+0)
End Hour = 10:00 (as per GMT+0)If a broker's server time is GMT +2, then the EA should have a new start time (02:00) and end time (12:00). Without changing the constants.
-
Sorry, I sent that to the wrong post.
In here I have put all in a comment that I think you need, GMT and SERVER time on FX don't seem to give the correct time. Admin does know about this so I have used text code input, I have added 3 hours for backtesting purposes, you need to remove it if using on live. Let me know if you need more assistance
https://fxdreema.com/shared/BTcT2xiwd