Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

trade visualization not plotting PnL lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    trade visualization not plotting PnL lines

    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.

    #2
    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.
    JasonNinjaTrader Customer Service

    Comment


      #3
      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?
      Attached Files

      Comment


        #4
        You might want to link the 2 charts together with the 'L' button on top of the window. Select the same color for both.
        Vince B.NinjaTrader Customer Service

        Comment


          #5
          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?

          Comment


            #6
            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.
            Vince B.NinjaTrader Customer Service

            Comment


              #7
              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 <---------

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by GussJ, 03-04-2020, 03:11 PM
              16 responses
              3,279 views
              0 likes
              Last Post Leafcutter  
              Started by WHICKED, Today, 12:45 PM
              2 responses
              19 views
              0 likes
              Last Post WHICKED
              by WHICKED
               
              Started by Tim-c, Today, 02:10 PM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by Taddypole, Today, 02:47 PM
              0 responses
              5 views
              0 likes
              Last Post Taddypole  
              Started by chbruno, 04-24-2024, 04:10 PM
              4 responses
              51 views
              0 likes
              Last Post chbruno
              by chbruno
               
              Working...
              X