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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        168 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        323 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        247 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X