igorgontijo / Publications
Forum
RiskPercentage & MaxSpread code help
Good afternoon, I have a simple script that I developed: Buy Close ( 1 ) > Close ( 2) / Sell Close ( 1 ) < Close (2) that serves me well in the type of strategy and asset use . However wanted to add two parameters : RiskPercent - Percentage of capital allocated to each operation , the batch varies