Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 different charts

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

    2 different charts

    Can I reference candlestick chart's functions and point and figure chart's functions at the same time in a strategy using ninjascript?

    #2
    30percent, can you please clarify? You can add a point and figure series to your strategy without an issue - http://www.ninjatrader.com/support/h...tandfigure.htm.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Hi,

      say I add AddPointAndFigure() to Initialize()...

      when I call Low(1) function, I believe I would be retrieving the low of a column ago of a
      Point and Figure chart.

      Then how do I call or retrieve the low of the previous bar in a bar chart? in the same strategy

      Hope I'm clear.

      Thanks!

      Comment


        #4
        Hi 30percent,

        If you add a series, then that series values are available with Lows[1][0], Opens[1][0], etc. You can see a sample through tools > Edit NinjaScript > Strategy > SampleMultiTimeFrame.
        Documentation for this is available here:


        The previous low for the primary series of the strategy is accessed with Low[1].
        Last edited by NinjaTrader_RyanM1; 12-06-2011, 05:39 PM.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          understood.
          Thank you!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          639 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          366 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          107 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          569 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          572 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X