Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access to Box Size and Reversal values for Point & Figure charts

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

    Access to Box Size and Reversal values for Point & Figure charts

    Hi,

    My strategy uses Point & Figure (PNF) charts and I need read-only access to the various properties of the PNF DataSeries as set up on the chart that the strategy is running on.

    I have tried looking in ChartBars.Properties etc.. but I can't find where these PNF properties are located, in particular the Box Size and Reversal values are what I'm after.

    Any help appreciated!

    #2
    Hello ours_solaire,

    BoxSize - BarsArray[0].BarsPeriod.Value
    Reversal - BarsArray[0].BarsPeriod.Value2

    This can be found in the PointAndFigure script
    SetPropertyName("Value", Custom.Resource.NinjaScriptBarsTypePointAndFigureB oxSize);
    SetPropertyName("Value2", Custom.Resource.NinjaScriptBarsTypePointAndFigureR eversal);
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I am using NT7.0.1000.37 version. When I try to plot P&F chart for Nifty Futures, I get disjointed Xs and Os as can be seen in the attachment. This instrument is defined as NIFTY_I and is linked to the NSE session. Please help me in finding the root cause of this issue.
      Attached Files

      Comment


        #4
        Hello gdshan,

        This may be due to gaps in the data.

        Are there also gaps on a 1 minute chart?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi Chelsea

          Gaps in data would indeed be there between days. However, P&F chart is supposed to fill it with either Xs or Os accordingly as its a gap up or gap down. In my case, chart simply plots like any time based chart. Hence wanted to check if I am missing any setup.

          Comment


            #6
            Hello gdshan,

            With all bars including point and figure, a new bar will form at the start of a new session and this will not be connected with the last bar of the previous session.

            This means there can be a gap there if the price at the close of one session is different than the open of the next session.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DT215, 08-08-2023, 11:03 AM
            3 responses
            442 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by Thomas79, Today, 08:14 AM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by xiinteractive, Today, 08:29 AM
            0 responses
            3 views
            0 likes
            Last Post xiinteractive  
            Started by linneon, Yesterday, 09:04 PM
            2 responses
            15 views
            0 likes
            Last Post linneon
            by linneon
             
            Started by burtoninlondon, 10-03-2023, 03:59 AM
            3 responses
            763 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X