Hello - I'd like to find some code that would plot appropriate stops based on risk (assessed using ATR) and say a constant % of risk of available equity.
So if you are looking at the chart ...not only is the appropriate stop points indicated but (given one's current running total equity...from global variable?) the appropriate number of contracts to trade...shares to trade. Also break even lines based on points of entry.
This is a money anagement...position sizing routine. Has any of this been coded before in some form or another? That I might use as template?
So if you are looking at the chart ...not only is the appropriate stop points indicated but (given one's current running total equity...from global variable?) the appropriate number of contracts to trade...shares to trade. Also break even lines based on points of entry.
This is a money anagement...position sizing routine. Has any of this been coded before in some form or another? That I might use as template?