mixing loop and counters for group of trades
-
hello . please guide me
when the buy trades are open and the price goes up (X pip from first buy position) i want EA run sell pending orders. and each pending order has TP that is x pips bigger than previous order . so if price goes up again (2*X pips from first buy position) i want EA run sell pending orders and their TP have the same condition from previous group. and for 3rd group also same ......
How can I repeat this condition for a specified number of times?
please show me on example in my project that i share here
https://fxdreema.com/shared/4jf7J9rcb -
please help me
-
@khansari Strip this down to 2 simple conditions,
- place trade (as you have)
- Use the pips away (as you have) You don't need the or block.
Use another group for your pips away trade, when you place new pending you can use the in loop option to get exststing value, Adjust this to whatever you need.
-
hello Mr. can you show me how to do this in my shared project link?