Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

fix problem of indicator in market analyser

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

    fix problem of indicator in market analyser

    good morning
    You have created a strategy with the Strategy Builder and converted it into an indicator
    But when I want to use the indicator in the Market Analyzer;
    Don't show a plot
    How can I fix this problem please?
    You will find a picture of the source code and a picture of the problem I am facing in the analyzer
    Thank you very much

    #2
    Hello salaksi1,

    Thanks for your post.

    To add a plot to your indicator, you would need to call the AddPlot() method in OnStateChange when the State is State.SetDefaults and assign a value to the plot in OnBarUpdate() using Value[0] = 'x'.

    See the help guide documentation below for more information about AddPlot() and sample code.

    AddPlot(): https://ninjatrader.com/support/help...t8/addplot.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      thank you sir

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      601 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      347 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      559 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X