Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 funk10101, Today, 12:02 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by GLFX005, Today, 03:23 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by nandhumca, Yesterday, 03:41 PM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by The_Sec, Yesterday, 03:37 PM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by vecnopus, Today, 06:15 AM
            0 responses
            1 view
            0 likes
            Last Post vecnopus  
            Working...
            X