Can this be automated on FXDREEMA
-
I desire to create an EA but just thought to ask first if its something that can be automated so i dont just waste my time trying what cannot be automated.
First, the EA is to BUY say 0.1 lot. If this goes wrong the EA should hedge with an equal SELL 0.1 lot. Then which ever goes into profit the EA is to be close the profit whenever it reaches a certain amount that can close at least 0.01 lot of the losing side and then open an equal opposite side of 0.09 to balance the hedge.Please can this be automated and a helping example pleaseeeeee...
THANK YOU GUYS -
Yes this can be automated but a working example is a lot of work, make a start just doing 1 thing, then add a shared link asking how to sort something
-
@jstap thank you sooo much for the prompt response. I have been able to put up sth, but only blocks 1 to 10 works as i intend. But from block 11 is somewhat confusing for me.
The logic of blocks 1 to 10 is, no trade open a BUY, if BUY is in loss by the specified distance open a SELL leg. The modify variable block is to prevent block 6 from opening SELL always...
But after the SELL is opened, i cant seem to put the logic of blocks together that will make the EA close certain amount in profit and then remove the equivalent of that from the BUY side in pips that is in loss...https://fxdreema.com/shared/enKo1Rued
Please i would appreciate help on this. THANKS
-
Blocks 6 and 8 need a for each block above
-
@jstap THANK YOU. I just did that and blocks 1 to 10 is more stable now.
https://fxdreema.com/shared/j4LLma0jc
Blocks 11 upwards is supposed to close trades in profit at a certain profit amount (say $100) and then close a corresponding amount in pip value and then whatever pip the $100 could close from the losing side the robot is to balance it back on the profiting side. That is the isssue ive been having pls. -
@jstap i just reduced the blocks, its still working but only from blocks 1 to 10.
https://fxdreema.com/shared/TUvkIMJte
After that nothing seems to be working.
What i intend is for the EA to close profiting trades at a certain amount ($) and then reduce same amount (either in amount or in pips) from the losing side and then balance the hedge again please