How do i make an EA to work the next day?
-
When i disable my EA because it has hit my Daily DD limit and i want it to start trading the next day, what Block will i use please?
-
You will need a structure like this:
-
Thanks. In that turn ON block, no time is needed? Assuming I want the block to turn up at 00:00 server time.
-
@Ideal
It is contolled by the block above, i.e. once a day. Default is what you want, sure you can change to some other time. -
ok. Thanks
-
Exactly.
-
Please, I have done the above. Yet it does not work well. After the daily limit is hit, it still places trade the same day. This EA use SL and TP already. I just want it to stop trading on a day the account falls below say 4% of initial balance/equity. Please help me out. Thanks
-
@Ideal
So you just need to change the condition of stop trading -
@sktsec how do I do that please?
-
@Ideal Use a variable with the block Once a Day to record daily balance. Use a condition block to check the balance. Whenever it become true, close all trades and disable the abovemost block in the trading logic
-
Can you please share the link to your project?
-
-
You need to change the order of heading blocks. Block 33 needs to be block 1 and then what is now block 1 should be block 2. Then you will have to readjust all 'turn on/off' blocks accordingly.
-
@l-andorrà hi thanks for help i want when im loss 5 trade will close box till 24h and after 24h will open box pls thanks for help
-
What do you exactly mean by 'box'?
-
@l-andorrà next 24 hours
-
What time period is every day's box?
-
@l-andorrà can set the time?
-
If you need dynamic periods, boxes are completely unnecessary. You can simply use constants to establish the beginning and the end of the period.
-
@l-andorrà ้ how bro pls tell me