Disliked{quote} Thanks Daengrani07 for the code, i have added exactly the way you have mentioned but it isnt working, it isnt stopping on level 7 and keeps continuing, can you help me solving this please i will highly appreciate your kind help on thisIgnored
OP level & Martingale Level could be count in different way. I have to code ot from scratch..
Try to explain what you really want for marti,
I called it Cycle (my term)
OP1 --- Loss 10 pips (trailed)
OP2 --- Los 25 pips (trailed) --->>> MartiLevel1 start
OP3 --- Profit 5 pips >> MartiLevel2
OP4 --- Hit target >>> end of cycle, >>> New Cycle start
This is save because i count lot based on risk, not doubling it wit marti factor
Another way to count OP Level is extract info from Comment
Also i like to use enum for selecting strategy, somtimes using structure (if needed)
In my personal EA, i use HashMap too