NexusFi: Find Your Edge


Home Menu

 





Opening Range Indicator - small glitch


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 8 posts (12 thanks)
    2. looks_two grantwood with 4 posts (0 thanks)
    3. looks_3 aligator with 4 posts (0 thanks)
    4. looks_4 Todd with 3 posts (2 thanks)
      Best Posters
    1. looks_one Fat Tails with 1.5 thanks per post
    2. looks_two cory with 0.7 thanks per post
    3. looks_3 Todd with 0.7 thanks per post
    4. looks_4 madLyfe with 0.5 thanks per post
    1. trending_up 11,706 views
    2. thumb_up 17 thanks given
    3. group 9 followers
    1. forum 27 posts
    2. attach_file 4 attachments




 
Search this Thread

Opening Range Indicator - small glitch

  #1 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

I use the BTOpening Range Indicator which is a simple but great indicator.

However, when I tried to set the time start at 9am and time stop at 8:59am (the next day) it won't draw the lines.

I need this because, on 6B, for example, at 3am this morning, 6B hit a new hight but it actually matched the high from trading hours only on Tuesday. However, I couldn't see that. I've used the PriorOHLC indicator but apparently, it defaults to showing the prior day OHLC from the 24 hour period starting at midnight.

Can someone look at the attached code and tell me how to change it to allow it to draw lines from a starting point on one day to a end point on the next day?



Thanks,
Todd

Attached Files
Elite Membership required to download: BTOpeningRange.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


try my overnight OR at bottom of page
Downloads - [AUTOLINK]NinjaTrader[/AUTOLINK] Indicators - Big Mike's Day Trading Forum

Reply With Quote
  #4 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

I'll try it...thanks, cory.

I just want to be able to see the high and low from the for 6B from 6pm EST start until 6pm EST.

Todd

Started this thread Reply With Quote
  #5 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

Cory,

I imported your indicator, I set the range start time to 180000 and the range stop time to 170000.

I have the chart properties session times set to start time of 6pm and session stop time of 5:59 pm.

The indicator won't plot anything. Am I doing something wrong?

I'm using NT 6.5. The only way I can get the indicator to plot anything at all is to set the session start and stop time to 12:00 AM.

Todd

Started this thread Reply With Quote
  #6 (permalink)
 cbatt 
Indy, IN
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp Futures/Zen-Fire
Trading: currency futures
Posts: 2 since Feb 2010
Thanks Given: 1
Thanks Received: 0

Guys,

Similar issue on 6e. Trying to plot a window (EST) from 11:00 pm to 3:00 am

Chart Props set to 12:00 and 12:00 and also tried 5:00 pm or 170000 (end) and 5:59 pm (start).

Niether settings work. Placed indiactor start times all over the map with next day overlap.

Still working on it...

Chris
______________________________________________________________________________

Actually Cory's indicator works fine as it's doing what it's supposed to on my end. I'm not applying it properly as to what I it to do. That is place a colored "Box" around specific times showing the highs and lows within that time and not necessarily a breakout indicator which is what it's there for but a "highlight" indicator. Kudos to you Cory and do you guys have a sugesstion about an indicator that "Color Boxes with highs and lows" within specific times (ex 11pm to 3am EST).

Reply With Quote
  #7 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


Todd View Post
I'll try it...thanks, cory.

I just want to be able to see the high and low from the for 6B from 6pm EST start until 6pm EST.

Todd

from 6 to 6 that is a full 24hr you may as well bring up a separate 360m chart from 12-12 and take the high and low from there.

Reply With Quote
  #8 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,620 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,992

@Fat Tails

A quick question regarding anaOpeningRange38 Indicator. Considering the change in CME trading hours, should this indicator be reviewed?

In the past, for ES one had to use a correction of -06.45 for the opening range to start at RTH (6:30 Pacific Time). Should now be using -07:45 correction?

Thanks.

Visit my NexusFi Trade Journal Reply With Quote
  #9 (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


aligator View Post
@Fat Tails

A quick question regarding anaOpeningRange38 Indicator. Considering the change in CME trading hours, should this indicator be reviewed?

In the past, for ES one had to use a correction of -06.45 for the opening range to start at RTH (6:30 Pacific Time). Should now be using -07:45 correction?

Thanks.

@aligator: I assume that you want to display the opening range of the regular session for ES. The regular session starts at 8:30 AM Central Time. There are different ways to achieve this:


(1) If you use a session template with three sessions per trading day no correction is required.


(2) If you use a simple session template which just reflects the Electronic Trading Hours for ES (since November 18 from 5:00 PM Central to 4:30* PM Central), then you have two options


(2a) Select Session # for RTH = First and set the offset to + 15:30, as you need to shift the session start 15 hours and 30 minutes away from the start of the electronic session.


(2b) Select Session # for RTH = Second and set the offset to - 8:00 , as you need to shift the session start 8 hours back from the start of the (non-existant) second session of the trading day.


Just keep in mind that the indicator aligns itself to the start of the selected session. If you apply a negative offset the opening range will start earlier, if you apply a positive offset the opening range will start later. With an ETH session you can therefore apply a negative offset counting from the end of the first session (start of the assumed second session) or a positive offset counting from the session start (first session).

The "Auto" setting is for use with segmented session templates. It catches the second session for all futures contracts, but the third session for currency futures and FOREX instruments.

*) 4:30 PM to allow for complete display of data prior to November 18, otherwise you would set the session end to 4:15 PM, which is the current close of the trading day as per new contract specifications


Below is a chart with the settings as per (2a).


Reply With Quote
Thanked by:
  #10 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,620 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,992


Thank you @Fat Tails.

If I use the 4:15 end session for ES (post November 18) then the offset (in my case for Pacific Time) would be -7:45 for RTH open range at 6:30 Pacific. Correct?

Thanks.

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on October 10, 2014


© 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