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?
The following user says Thank You to Todd for this post:
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...
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).
Last edited by cbatt; February 26th, 2010 at 02:37 PM.
@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).
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).
The following 3 users say Thank You to Fat Tails for this post: