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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      80 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X