Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Candles or HLOC in StrategyPlot?

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

    Candles or HLOC in StrategyPlot?

    I assume that adding an indicator to a chart via a Strategy is still done via StrategyPlot as such:

    StrategyPlot(1).Value.Set(myFancyPlot[0]);

    Now, is it possible to add my plot somehow as a candle or HLOC (assuming I have the entire high/low/open/close data set) or do I have to do this manually on the chart directly?

    Thanks!

    Molecool

    #2
    Hello,

    Thank you for your forum post.

    To add an indicator to a via a strategy is done by using the following command in the Initialize method.

    Add(SMA(5));



    Now if this is a custom indicator you have coded in the strategy you would use the plot similar to what you mentioned using the guide below:



    Then click on Plot in the table to see how to set this plot to Barstyle.

    Let me know if I can be of further assistance.
    Last edited by NinjaTrader_Brett; 08-19-2010, 05:18 PM.
    BrettNinjaTrader Product Management

    Comment


      #3
      I know how to add an indicator to a strategy - I am trying to have my data series plotted as a bar or candle. Your add plot is not working for me - it's throwing errors complaining about it. BTW, I'm using NT7.

      Comment


        #4
        Hello,


        In this case please use the updated documents for NinjaTrader 7.



        Then check out this page for the available plot styles:





        Let me know if you have any specific questions.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        606 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        353 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X