<br>'''Code Example'''
The code below creates the net profit Net Profit / max drawdown Max Drawdown ratio.: <code> <br>if (StrategyPerformance.MaxStrategyDrawDown != 0)
<br>{
<br>return StrategyPerformance.NetProfit / (- <br>StrategyPerformance.MaxStrategyDrawDown);
<br>}
</code> <br>Besides NetProfit and MaxStrategyDrawdown, there are many other properties that can be referenced. The table below shows the available properties.
<br>For example, to reference the number of trades, simply use StrategyPerformance.TotalTrades.
To reference winning percentage, simply use StrategyPerformance.PercentProfitable.
{| class="wikitable" width="65%"