Time filter constans
-
Hi All
What is the correct type of constans type to be used for the the time filter
it should appear same like this ( 00:00)
i try double and int but both can't add :
Thanks
-
String type.
-
@l-andorrà String type no working
-
@piotras10000 Can you please share your project?
-
If you only care about the hourly optimization and not the minutes then you can just set it to a double.
This is what I do when I'm optimizing. Start hour I set at 1 and then step 1 and end at 23. End hour I set at 2, step 1 end at 24. Hope this helps. -
hmm my project
-
I would be wait for your answer?
-
 -
@piotras10000 I mean the link, not the image. I need to look inside the blocks, please.
-
-
@piotras10000 I mean this:

-
-
@piotras10000 I see you are using this:

I do not recommend you to use it that way. Instead, create as mant string typ Constants as necessary and the embed them into those boxes.
-
@l-andorrà That's what you meant

-
no working
-
-
@piotras10000 said in Time filter constans:
) -
@piotras10000 Then the problem is not in those blocks. I can confirm those variables are correct. Is your EA opening any trade or not a single trade?
-
@l-andorrà he doesn't open a position
It is also not possible to test the robot in the strategy tester -
This topic is no longer important. I have a new topic here
https://fxdreema.com/forum/topic/11507/buy-close-and-sell-close-strategy-someone-can-do-it