need ea to do a calculation and modify an existing block
-
https://fxdreema.com/shared/uMNBhIQrb
i have been trying to master this for a while now without success
this is what i want to happen
i have a $10000 account
before my trading starts i load block 2125 & 4205 with my daily target ,
say 3% , so i enter 10300 in those blocksafter target is reached , i need a block ( i think the formula block ) to do
a calculation and reset block 2125 & 4205 .in other words account balance x 3% + account balance = 10609
i want this not to happen immediately , because ea will start trading
again as it is in its allowed time according to the time filter
it must be reset 2 hours before london openi need this for back testing , as i can only back test day for day at this stage
thank you very much
-
I don't fully understand the logic of turning off all blocks drawing texts. What's the point of it?
-
so that i can see what the draw down was quickly on chart instead of going to report the whole time
i only want to see it once , if i do not turn it off , it will print 10 every tick the account was under 9000
im happy with that portion of ea
-

-
-
i am on a vps .
does not support screenshot .
with the correct settings this ea reached target every day for 6 months .
but back testing is taking forever , as I have to test day for day without those auto reevaluating blocks .
i only want to trade the pacific time after London open , so I can not run the test for a whole year without having a equity target .Can you pls assist with my problem
-
Ok. I think I get it. You need the EA to stop trading AFTER you get your target but BEFORE the day is over. Right?
-
@l-andorrà correct and show me on chart ( once ) what the drawdown were
those calculation blocks must work as follows
1h before london open and yesterdays target not reached - do nothing
1h before london open and yesterdays target was reached - calculate a new 3% target automatically
-
You can use this structure:

You can specify in the 'time filter' block the daily perdio the EA is supposed to be active. Then create a boolean variable like the one in the image. Connect two 'modify variable' blocks below it, one if true, the other one if false. That is the time controller.
Then you need to use the 'condition' block in teh image on top of your launching structure. That way no new trades will be open out of that period.
