So this is a pic of my initial idea and how it works. I’ve not included the code yet thats been modded as it’s not quite finished owing to tweaking the margin tolerance, and snagging out any scenarious where calculation may stop the program continuing, but it’s looking promising – if needing refinement..
The idea is that when running well it will increase the trade amount in increments, and when experiencing a loss reduce the trade amount accordingly up to the initial trade amount starting the program. Potentially it could be reduced as well if experiencing too much program drawdown..
The 100% data in the pic attached highlights the incremental change, and it reduces back to the intial trade amount once it has hit a target amount which I call my absolute gain = myabsgain in the code.
As a reasonably newby I think its important to optimise potential success of a strategy at startup and put in risk tolerance before quitting, so this is to look to optimise profitable runs and it can be tweaked with the myabsgain, some code, and reduces trade amount accordingly if dropping profits… Not much interest in the idea It seems, so I’ll limit posting unless some interest shown..