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

Ninja default pivot script problems

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

    Ninja default pivot script problems

    I use the default script for daily and weekly on the ES and FESX, although I rearranged the databox order of the list.
    After the dailyclose I put the HLC into my excel spreadsheet and do the same after friday's close for weekly numbers.

    The weekly pivots always match once I get past Sunday, but the daily never match before midnite on the ES ( charts set 6-415pm) and then I lose the matchup in the morning after the open. The PriorDayOHLC script shows the same values I had already put into excel so why is Ninja not using those numbers?
    My FESX, done the same way does match (charts set 2am-4pm) so I know its not anything I rearranged on my indicator.

    #2
    simpletrades, from which data have you set to calculate the pivots? http://www.ninjatrader-support2.com/...ead.php?t=4676
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      simpletrades, from which data have you set to calculate the pivots? http://www.ninjatrader-support2.com/...ead.php?t=4676
      For daily the box reads prior HLC daily, daily bars.
      for weekly it reads weekly, daily bars
      not user defined since I want the pivots to still be plotted on prior sessions as well if i scroll back.
      I tried posting my script but its too long.
      Last edited by simpletrades; 08-27-2009, 08:49 AM.

      Comment


        #4
        simpletrades, ok which datafeed are you using? Do you have historical daily data access? http://www.ninjatrader-support.com/H...ricalData.html
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          simpletrades, ok which datafeed are you using? Do you have historical daily data access? http://www.ninjatrader-support.com/H...ricalData.html
          zenfire and i think i have historical access--on my charts i can click reload historical data although it doesnt change the pivot result, i just tried.

          Comment


            #6
            Ok, with ZenFire you would not have the needed historicla daily data access unfortunately - http://www.ninjatrader-support.com/H...ricalData.html

            Please use the 'CalcFromIntraday' option.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Bertrand View Post
              Ok, with ZenFire you would not have the needed historicla daily data access unfortunately - http://www.ninjatrader-support.com/H...ricalData.html

              Please use the 'CalcFromIntraday' option.
              i switched the daily pivot indicator to read that way, hit apply, then ok but same wrong numbers still plot.

              Comment


                #8
                Ok, please let me know which values you get for which day and for which contract so I can compare here on my end, thanks
                BertrandNinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_Bertrand View Post
                  Ok, please let me know which values you get for which day and for which contract so I can compare here on my end, thanks
                  ES chart data box Prior H 1032.00, L 1020.25, C 1026.75 (from 8/26 close)
                  chart for today plots:
                  Daily R3 1047.92 R2 1036.17 R1 1028.58
                  PP 1024.42 S1 1016.83 S2 1012.67 S3 1000.92

                  My excel using the same prior HLC from yesterday
                  DAILY ES for today
                  R3 1049.83 R2 1038.08 R1 1032.42 P 1026.33
                  S1 1020.67 S2 1014.58 S3 1002.83

                  and I know my formulas are OK because the FESX matches exactly as do both weeklies. (give or take some pennies on the ES)
                  Last edited by simpletrades; 08-27-2009, 09:27 AM.

                  Comment


                    #10
                    simpletrades, I get exactly your Excel values on my ES 09-09 chart - so I would suggst rechecking the used session setup for the ES to use the correct H L C values in the calculation.
                    BertrandNinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by NinjaTrader_Bertrand View Post
                      simpletrades, I get exactly your Excel values on my ES 09-09 chart - so I would suggst rechecking the used session setup for the ES to use the correct H L C values in the calculation.
                      my ES charts are all defaulted to exclude weekends except on sundays and time is always 6pm-415pm. i am EST

                      Comment


                        #12
                        Getting the same values when setup my session like yours, try a right click on the charts > reload historical data
                        BertrandNinjaTrader Customer Service

                        Comment


                          #13
                          Originally posted by NinjaTrader_Bertrand View Post
                          Getting the same values when setup my session like yours, try a right click on the charts > reload historical data
                          doesnt help. i tried repair database under options but nothing changed.

                          Comment


                            #14
                            Which underlying chart are you using? Please also try the default 'Pivots' indicator we supply.
                            BertrandNinjaTrader Customer Service

                            Comment


                              #15
                              Originally posted by NinjaTrader_Bertrand View Post
                              Which underlying chart are you using? Please also try the default 'Pivots' indicator we supply.
                              Its the same code as mine except for the colors and order that the databox list the 7 pivots. But I tried loading the default and it still gives the wrong ones (ex 1024.42 for the daily pivot)

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by helpwanted, Today, 03:06 AM
                              1 response
                              7 views
                              0 likes
                              Last Post sarafuenonly123  
                              Started by Brevo, Today, 01:45 AM
                              0 responses
                              7 views
                              0 likes
                              Last Post Brevo
                              by Brevo
                               
                              Started by aussugardefender, Today, 01:07 AM
                              0 responses
                              5 views
                              0 likes
                              Last Post aussugardefender  
                              Started by pvincent, 06-23-2022, 12:53 PM
                              14 responses
                              242 views
                              0 likes
                              Last Post Nyman
                              by Nyman
                               
                              Started by TraderG23, 12-08-2023, 07:56 AM
                              9 responses
                              384 views
                              1 like
                              Last Post Gavini
                              by Gavini
                               
                              Working...
                              X