NexusFi: Find Your Edge


Home Menu

 





Correct Globex Pivot Point Levels for Ninja 6.5


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Private Banker with 10 posts (1 thanks)
    2. looks_two Fat Tails with 10 posts (3 thanks)
    3. looks_3 vegasfoster with 2 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (1 thanks)
      Best Posters
    1. looks_one skyholder84 with 2 thanks per post
    2. looks_two Big Mike with 1 thanks per post
    3. looks_3 Fat Tails with 0.3 thanks per post
    4. looks_4 Private Banker with 0.1 thanks per post
    1. trending_up 12,306 views
    2. thumb_up 7 thanks given
    3. group 4 followers
    1. forum 24 posts
    2. attach_file 5 attachments




 
Search this Thread

Correct Globex Pivot Point Levels for Ninja 6.5

  #21 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Private Banker View Post
OK, thanks for clarifying. Not sure what happened earlier today but I just placed a limit order and it went through no problem. I may have had the DOM on SIM earlier. In any event, thanks again for your continued help with this. I'm good to go now.

Best regards,

I had the same problem. You can select the color of the DOM. Make it red in simulation mode, and for sure you will realize that you are not trading your real account.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #22 (permalink)
 
Private Banker's Avatar
 Private Banker 
La Jolla, CA
 
Experience: Master
Platform: Sierra Chart, X_Trader Pro, OptionsCity
Broker: Advantage, Trading Technologies, OptionsCity, IQ Feed
Trading: CL, NG
Posts: 1,038 since Jul 2010
Thanks Given: 1,713
Thanks Received: 3,863

Yeah, there's a lot of drop downs in Ninja Trader. I had the Control Center with my account selected but the DOM was still in SIM when I initially put in the order. It's working perfect now though.

I've since changed the SIM DOM to Red so I know to click the drop down to access my account.

Thanks again!

Started this thread Reply With Quote
  #23 (permalink)
 skyholder84 
Singapore
 
Experience: Beginner
Platform: Ninjatrader
Trading: Forex
Posts: 3 since Oct 2010
Thanks Given: 0
Thanks Received: 6



Fat Tails View Post
Yes, I do trade TF. I use floor pivots for my trading. Kinetick has the correct values for high, low and close. Just install NT 7.0, use the SessionPivots V2.3 indicator in DailyBars mode. That is all.

The SessionPivots indicator also displays yesterday's high, low and close. This allows you to check from time to time, whether the values are correct. I have started a thread on how to use these pivots, which can be found here:



The chart below shows the pivot indicator in dailybars mode with Kinetick data. This is a personal version that I have not published yet, It also shows the pivot range. Today's pivot range is narrow, because yesterday was a balancing day.

Hi Fattails, just want to say a big thank you for creating this fantastic thread! I am hoping you can help me solve this terrible headache of mine! I am building an automated FX trading strategy with pivots at the core, and I have been tearing my hair out every day trying to get Floor Pivots to work properly on Ninjatrader. The problem is that there are so many moving parts!

My strategy seeks to do this: When the price comes within 10 pips of a Pivot Resistance level (along with confirmation from some other trending conditions), I sell. When the price comes within 10 pips of a Pivot Support level (along with confirmation), I buy. I don't trade off the central pivot at all.

How I tried to do this: I sought to do this by specifying a 20 pip range within the price must lie (using the condition builder). You can see in my strategy that in condition sets 6,7 and 8 (for trading Resistances R1, R2 and R3), I have specified that Price < Rn + 10 ticks and Price > Rn - 10 ticks as conditions (using the offset parameter). The desired effect of these two conditions was to create a trade condition which would be met if the price lay within 10 pips on either side of the relevant pivot. I have done the same in condition sets 1, 2 and 3 for trading Supports.

The problem: I ran the strategy today, and got fills at levels ridiculously far from the pivots. My strategy seems to completely ignore the pivot levels calculated, although it sticks stringently to all my other conditions. I have no idea how this works! Can you see any reason why my pivot conditions are being ignored?

My Hypothesis 1: Barchart quotes prices in tenthpips, and hence each tick is 0.1 pips. To define a 10 pip band above and below the pivot, I set the offset value to 100 ticks and -100 ticks respectively. However, I've tried other offset methods such as percentage offsets with a 0.0004% offset, which amounts to about 5pips on EURUSD. And the strategy still trades far off the pivots. Hence, I don't think this is the problem, but I'm just listing down all the possibilities.

My Hypothesis 2: I am paying $60 a month for a Barchart datafeed which I hook up to NT7. Barchart provides daily data, and the strange thing is that my chart displays pivot values perfectly! Thus, it appears that the pivots showing on my charts are different from the pivots calculated in the strategy. However, I have already taken all precautions against that happening by specifying the same session convention in the chart and in my strategy (FOREX)! It seems as though the data is being ignored by my strategy, which sticks obediently to all my other conditions except the pivots. I have no idea how this is possible! Does the problem lie in the pivot indicator provided by Ninjatrader, and is there a better, bug-free indicator which I can use?

My Hypothesis 3: Ninjatrader's Pivot Indicator calculates only on bar close, while my strategy updates per tick. However, my knowledge of how NT works is very skimpy, and I'm not sure how this works.

My Hypothesis 4: I live on the Pacific Rim, at GMT +8. This is generally 12 hours ahead of New York, and 11 hours ahead of New York during daylight saving time. The close of each FX trading day, by convention, is 5pm EST. Is the time configuration on my computer important in getting Ninjatrader to work? Do I need to adjust my computer's internal clock to Eastern Standard time to ensure that Pivots work correctly?

Also, does the PC's time automatically adjust itself daylight saving time, or would I have to make that adjustment myself when DST kicks in? It's a huge mess!

My Plea: Could some kind soul take a look at this strategy and shed some light on my problem? It's killing me trying to get my strategy to adhere to the daily pivots!!!

Attached Files
Elite Membership required to download: Skyholderhelp.zip
Reply With Quote
Thanked by:
  #24 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


skyholder84 View Post
The problem: I ran the strategy today, and got fills at levels ridiculously far from the pivots. My strategy seems to completely ignore the pivot levels calculated, although it sticks stringently to all my other conditions. I have no idea how this works! Can you see any reason why my pivot conditions are being ignored?

My Hypothesis 1: Barchart quotes prices in tenthpips, and hence each tick is 0.1 pips. To define a 10 pip band above and below the pivot, I set the offset value to 100 ticks and -100 ticks respectively. However, I've tried other offset methods such as percentage offsets with a 0.0004% offset, which amounts to about 5pips on EURUSD. And the strategy still trades far off the pivots. Hence, I don't think this is the problem, but I'm just listing down all the possibilities.

My Hypothesis 2: I am paying $60 a month for a Barchart datafeed which I hook up to NT7. Barchart provides daily data, and the strange thing is that my chart displays pivot values perfectly! Thus, it appears that the pivots showing on my charts are different from the pivots calculated in the strategy. However, I have already taken all precautions against that happening by specifying the same session convention in the chart and in my strategy (FOREX)! It seems as though the data is being ignored by my strategy, which sticks obediently to all my other conditions except the pivots. I have no idea how this is possible! Does the problem lie in the pivot indicator provided by Ninjatrader, and is there a better, bug-free indicator which I can use?

My Hypothesis 3: Ninjatrader's Pivot Indicator calculates only on bar close, while my strategy updates per tick. However, my knowledge of how NT works is very skimpy, and I'm not sure how this works.

My Hypothesis 4: I live on the Pacific Rim, at GMT +8. This is generally 12 hours ahead of New York, and 11 hours ahead of New York during daylight saving time. The close of each FX trading day, by convention, is 5pm EST. Is the time configuration on my computer important in getting Ninjatrader to work? Do I need to adjust my computer's internal clock to Eastern Standard time to ensure that Pivots work correctly?

Also, does the PC's time automatically adjust itself daylight saving time, or would I have to make that adjustment myself when DST kicks in? It's a huge mess!

My Plea: Could some kind soul take a look at this strategy and shed some light on my problem? It's killing me trying to get my strategy to adhere to the daily pivots!!!

Hi shyholder84,

sounds like you have some fun. Before dealing with the different ideas, please note, that there is a NinjaTrader bug. Pivots cannot be correctly accessed in Dailybars mode via another strategy or indicator. I am currently trying to get a response from support to that problem.

NT7 b20 [AUTOLINK]Pivots[/AUTOLINK] do not return values - Page 2 - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

I suggest that you use the pivots in CalcFromIntradayData mode only. Now, if these are the wrong pivots, I might modify my indicator and edit a special version that does not require DailyBars. Do you use your strategy on minute charts, tick charts? What are your session times and which is the close that you chose?

Hypothesis 1: You need to configure NT7 under Tools -> Options -> Data -> Quote currencies (FX) in to comply with the Barchart data feed.

Hypothesis 2: Yes, your data is ignored, because the Pivot values cannot be accessed in DailyBars mode.

Hypothesis 3: Should not be a problem.

Hypothesis 4: One of the NinjaScript methods did not work correctly until version NT 7.0.0.20. You must use NT 7.0.0.21 or later. I have never set my PC to GMT +8, but if your chart is correct, the strategy should also run correctly, as it uses the same sessions.

NinjaTrader 7.0 is based on .NET framework 3.5. The adjustment of daylight savings times should be done automatically, as the sessions adapt to the various DST zones. This is one of the advantages of NT 7.0 versus NT 6.5. So there should be no issues.

Let me know, whether this helped.

Reply With Quote
  #25 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,599

@skyholder84, you may want to take a look at this:



It is code I created a long time ago for a Murrey Math strategy. It is Elite only. I created one for Pivots as well but can't find it at the moment (don't feel like digging). I haven't looked at your code, but you may have wanted a routine to find the nearest pivot. That function is in the example above, you'll have to just replace Murrey Math lines with pivot lines.

I use daily floor pivots with CL in my trading and find them very useful.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on October 27, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts