Manual Trades organization
-
Hi everyone I really need some help here. I am attempting to create a manual trade ea. Everything works well except my Trailing stop. so if i have a trade on EURUSD in profit and TS moves and i enter another position in the same direction the trailing stops are the same and new trade stops out. Any ideas on how i can have multiple trades without this issue? here is the project ( I know blue and pink blocks aren't supposed to go together but it works) https://fxdreema.com/shared/4g9b8thF
-
Connecting the trailing blue block below the for each trade breaks the logic of the second one. The blue block will modify ALL open trades regardless what selected trade is stored in the temporary memory of the 'for each trade' block. What is the point of that? Use condition blocks instead and you will avoid that issue.
-
I was doing this to attempt to check the profit of the individual trade. I have taken your advice and switched to condition blocks. however it seems to still be checking the sum of profit of the manual trades and not the individual amount. here is what i have https://fxdreema.com/shared/DXdv5GFQ
-
@l-andorrà I stand corrected it is now identifying the trades profit individually. Except now I run into this: if i have a hedge position in as well when the Trailing stop moves for the reverse position it moves the SL of the opposite position. I don't why it does this when I have modify stops under the once per trade block. https://fxdreema.com/shared/DXdv5GFQ
-
Pink blocks need to be connected below a 'for each trade' or 'for each closed trade'. Otherwise they are not necessarily fully functional.
-
I have connected "check profit" to pink blocks however it only recognizes when set to group 0. And in that case it calculates the sum of other trades on newer trades. For instance TS of trade #2 will move if trade #1 is 5% in profit when trade #2 is only 1% https://fxdreema.com/shared/JfFfqfpEd . I don't what i am missing to properly organize manual trades profit individually
-
Blue blocks work on all trades, whereas pink work on the individual selected trade, to work on only 1 you need to set up pink blocks mimicking the blue.
-
@jstap so the breakeven works fine but the issue would be finding a way to mimic the trailing stop block as it is only provided in blue
-
Break even works because it has a built in loop that checks each individual trade. You can trail with pink but you would have to check each attribute then move the stop if it fits.
-
@jstap Shouldn't TS have this same loop? I only ask because it says (each trade)
-
Yes it is a loop but under a pink loop as soon one trade fits the loop condition then all trades will have the trail block actions completed, so there is no point in having it under pink blocks.
-
Got it! Thanks!
-
@jstap ok i understand. thanks!