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.