PDA

View Full Version : Plotting Strategy Equity Curve on Chart


whitmark
06-04-2007, 03:55 PM
Is there a straightforward way to plot an equity curve on the chart for a NinjaScript Strategy? From what I can tell, Ninja Strategies can't do their own plots and any indicator you can call and plot would not know about the strategies equity position. If my assumptions are correct, perhaps I can develop an indicator, PlotOneValue, that would plot the value I give it and I can call from within the Strategy like:

PlotOneValue(Performance.AllTrades.Performance.Cur rency.CumProfit);

Will this work? Is there a better way to do this?

Regards,

Whitmark

NinjaTrader_Ray
06-04-2007, 05:25 PM
Unfortunately there is no straightforward way to do this.