i`m a beginner of MQL programming and have try to program this but without success
trade 1 -20 profit
trade 2 -8 profit
trade 3 +35 profit
if total profit > +7 profit - for this example (optional value - extern variable: extern int profit=7) - now TRAIL ALL open trades
i know it`s a "for" - loop code but found no solution ........
thanks for help and sorry for my bad english