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, 05-11-2026, 05:56 AM
      0 responses
      26 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      182 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      335 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      260 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X