I want to restrict my EA from trading between specific dates. For example: no trades from 01.01.2024 until 01.02.2024.
-
@jstap
I want to restrict my EA from trading between specific dates.
For example: no trades from 01.01.2024 until 01.02.2024.What is the best way to do this in FxDreema?
-
Try this, just check the time format returned in the comment is the same: https://fxdreema.com/shared/vSS5R67xb
-
i dont want to show that on chart just work as background
-
It's only there so you can see if it should work
-
still it has tradign this date perioud
-
My platform are busy, what is the comment telling you? Add your latest shared link, and add a picture to see the comment
-
yes i see comment showing only running date
-
i dont want trading in december 2024 full month
-
That's the builder not your project. Add a picture. You need to ensure the condition blocks are looking for the same format as the comment is showing.
-
i dont no how to add the picture here sorry
-
i just copy pasted what u send me the code with comment and condition block -
another image

-
your conditions are looking for date/time in this format: 0000.00.00 00:00 add the time in the comment to the date, like 00:00 (start of the day.).
-
like this ?

-
Yes.....
-
ok thank you
-
@mdjaveed123
Time Mode: Now means the time you are running the EA. Try Candle Time or Time Stamp. I like Candle Time as there is no ambiguity, but it need appropriate timeframe -
no candle time neeed only specific date must b blocked but i found out thank you