Sorry, protected script as it uses a couple key indicators that are somewhat of a trade secret.
What I will tell you, is that the code is version 3, so no repaints, although this one never had them in the first place.
In my code, I use 'contracts', which I suppose are sizes, of 20.
Commission included to make it more realistic.
All this profit is from the start of the last week.
This is a trend-following strategy, so it does poorly in ranging conditions.
Essentially 4 lines of code.