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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 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