PDA

View Full Version : trade visualization not plotting PnL lines


ATI user
11-06-2008, 02:13 AM
a year ago I believe I turned off the automatic PnL lines that are drawn on the chart by NT...or charttrader

I did this because I draw the lines myself in my strategy

I would now like them back on (for non-strategy charts) and can not find how to activate them

in chart properties I am plotting Text and Marker...have default 'position line' colors and no lines

how do I activate?

thanks.

NinjaTrader_Jason
11-06-2008, 03:34 AM
You can configure these lines under "NinjaScript strategy position line profitable trade" and ""NinjaScript strategy position line unprofitable trade" in the chart properties menu.

However these lines will only plot for trades generated by automated strategies in your chart.

ATI user
11-11-2008, 02:40 AM
per my first post ... "have default 'position line' colors " ...meaning they are set to default in Trade Visualization in Chart Properties

the only difference in the charts below is that one has no strategy running and the other has SampleAtmStrategy running...which is generating the trades

Plot Executions is set to 'MarkersOnly' so i am getting plots in chart 1...why not in chart 2

and why no profit lines in either?

NinjaTrader_Vincent
11-11-2008, 02:00 PM
You might want to link the 2 charts together with the 'L' button on top of the window. Select the same color for both.

ATI user
11-12-2008, 04:11 AM
linking the charts has nothing to do with the issue of no PnL lines being plotted in either...and no markers in chart 2

this would appear to be a bug

have you tested? reproduced the problem?

NinjaTrader_Vincent
11-12-2008, 06:43 AM
Hi,

Sorry for misunderstanding the issue.

If you want you can send me the exact steps you take including the ATM strategy so I can try to reproduce on my end and determine if it's a bug.

ATI user
11-13-2008, 07:53 AM
here is the reason....

i only use AtmStrategyCreate in my cs....


AtmStrategyCreate()
Definition
Submits an entry order that will execute the specified ATM Strategy that can then be managed manually by any order entry window such as the SuperDOM or within your NinjaScript strategy.


This method is not back testable and will not execute on historical data
Executions resulting from the ATM Strategy will not be plotted on the chart <---------