Thankyou samsamoop. Looking forward to your input about trailing stop. Im still learning and im going to try to understand your code. This forum has been extremely useful/helpful, thankyou.
My code clearly wasnt doing what i initally wanted it to as i wanted the breakeven, tp and sl to be for each individual trade. I read somewhere that IG may trade individually but not PRT. Ill do a live demo to see.
I changed SL down to 4% and the buy/sell contracts from 1 to 3. The results are much better. Only 4 looser in a row and 50% less loosers.
I am attaching the 200k test the Drawdown is very high …