Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

I can't see Strategy plots and indicators in Chart

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

    I can't see Strategy plots and indicators in Chart

    Hello,

    I have created a new STRATEGY and added:

    1.) Plot using - AddPlot(new Stroke(Brushes.Red,1), PlotStyle.Line, "Plot1"); in state State.SetDefaults
    2.) I also added an indicator using - AddChartIndicator(ATR(60)); in state State.DataLoaded

    Now, when I run the strategy analyzer, I can see both the plot and ATR indicator in the chart.
    However, when I add the strategy into a chart using New -> Chart and then adding a strategy, I cannot see the indicator nor the plot.

    Is this expected behavior? Is there any way how to visualize the strategy without running the strategy analyzer?

    With Regards,
    Martin

    #2
    Hello svitaz,

    Is the strategy enabled on the chart?
    (Does the strategy show with the Enabled checkbox checked on the Strategies tab of the Control Center?)
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      You are right indeed! The strategy was not enabled. When it is, plot and indicator will show up.

      One more question though. Is it possible for a strategy to display the plot in a separate panel or does the plot need to be always in a price panel? I can't figure out how to display the plot in a separate panel...

      Martin

      Comment


        #4
        Hello Martin,

        The indicator will do the plotting. The plots of an indicator must be in the same panel of the indicator.

        The Strategy can put an indicator in a different panel.

        Below is a link to an example.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        52 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        70 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X