Indicator to Plot the OHLC - user selected start/stop times - NinjaTrader Programming | futures io social day trading
futures io futures trading


Indicator to Plot the OHLC - user selected start/stop times
Updated: Views / Replies:22,533 / 105
Created: by rfiske Attachments:30

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 30  
 
Thread Tools Search this Thread
 

Indicator to Plot the OHLC - user selected start/stop times

  #1 (permalink)
Elite Member
temecula,ca
 
Futures Experience: Advanced
Platform: NT
Broker/Data: AMP/Zen
Favorite Futures: Euro
 
Posts: 46 since May 2010
Thanks: 32 given, 8 received

Indicator to Plot the OHLC - user selected start/stop times

Indicator to Plot the OHLC - user selected start/stop times I have searched the futures.io (formerly BMT) and Ninja forums for an indicator that will do the following on NT7: (have not found one)

Plot the OHLC (each selectable on/off), selectable std line attributes, and user defined fill-in labels, eg. 'Open', etc. Lines would extend right until next defined calculation time.

With user defined start stop times on an ES data series, eg "CME US Index Futures ETH" Session Template

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


What exactly do you need that for? Do you want to plot night session pivots (Globex) or do you want to see the opening range, or what is your idea behind it? I have some indicators doing this, but I would need a specifiic example to understand what you are looking for.



rfiske View Post
Indicator to Plot the OHLC - user selected start/stop times I have searched the futures.io (formerly BMT) and Ninja forums for an indicator that will do the following on NT7: (have not found one)

Plot the OHLC (each selectable on/off), selectable std line attributes, and user defined fill-in labels, eg. 'Open', etc. Lines would extend right until next defined calculation time.

With user defined start stop times on an ES data series, eg "CME US Index Futures ETH" Session Template


Reply With Quote
 
  #4 (permalink)
Elite Member
temecula,ca
 
Futures Experience: Advanced
Platform: NT
Broker/Data: AMP/Zen
Favorite Futures: Euro
 
Posts: 46 since May 2010
Thanks: 32 given, 8 received


Fat Tails View Post
What exactly do you need that for? Do you want to plot night session pivots (Globex) or do you want to see the opening range, or what is your idea behind it? I have some indicators doing this, but I would need a specifiic example to understand what you are looking for.

Yes - i want to plot the Globex H/L, the H/L from 2 - 5 AM CST, and the first hour Open/high/low (8:30 - 9:29 CST). As stated above want to be able to label the lines (user defined) and have the lines extend right until end of set 'Session Template' time.

Reply With Quote
 
  #5 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Have an indicator, which could do that, but I have to modify it first. Will come back.

Just by curiosity, what is the reasoning behind the 2 -5 AM CST H/L?


rfiske View Post
Yes - i want to plot the Globex H/L, the H/L from 2 - 5 AM CST, and the first hour Open/high/low (8:30 - 9:29 CST). As stated above want to be able to label the lines (user defined) and have the lines extend right until end of set 'Session Template' time.


Reply With Quote
 
  #6 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Some examples here

Here are three charts for ES. All use the ETH session template (Globex session)

Chart 1 : Indicator which plots Current OHLC of the Globex session. It will display the Globex high and lows until they are taken out by price action. The indicator also shows midline and Fib sections of the current day's range. It automatically adapts to two day sessions, if trade date is next day.

Chart 2: Opening range indicator. It plots the high, low and the midline of the opening range. It also plots the RTH open. You can adjust length of the RTH session, which counted back from the end of the Globex session as per session template, and you can adjust the lenght of the opening range. This is work in progress.

Chart 3: Shows the same indicator as on chart two. The RTH open is set to transparent, and the labels read opening range, which could be changed. But it does display the high and low of that period between 2:00 and 5:00 in the morning (on my chart it would be 8:00 to 11:00, as I am on CET).

Would just need to change the labels (fast), or to make them user selectable. It also need different settings for different instruments.

Attached Thumbnails
Indicator to Plot the OHLC - user selected start/stop times-chart-1-current-ohlc-eth-.jpg   Indicator to Plot the OHLC - user selected start/stop times-chart-2-opening-range-rth-open.jpg   Indicator to Plot the OHLC - user selected start/stop times-chart-3-3-hour-night-session-range.jpg  
Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
 
  #7 (permalink)
Elite Member
temecula,ca
 
Futures Experience: Advanced
Platform: NT
Broker/Data: AMP/Zen
Favorite Futures: Euro
 
Posts: 46 since May 2010
Thanks: 32 given, 8 received

Yes - this is what I have been looking for. I had this capability with Trade Station but I have move completely to Ninja 7.

On attached you can see what the TS indicators produced. I had 1 indicator for Globex H/L, another indicator for London 2-5AM CST H/L, one indicator for Regular session Open, and one indicator for First Hour (FH H/L) on attache the FHL is still showing previous day FHL as the current 1st hour is not complete.

The lines updated H/L until the close of the stated time period then stayed persistent on the chart until replaced the next session start - Globex, London, Regular Session.

Attached Thumbnails
Indicator to Plot the OHLC - user selected start/stop times-ts-horz-lines.jpg  

Last edited by rfiske; July 28th, 2010 at 10:30 AM.
Reply With Quote
 
  #8 (permalink)
Elite Member
Poulsbo, Wa US
 
Futures Experience: Intermediate
Platform: NinjaTraderm Tradestation
Broker/Data: Ninja Trader, Continuum
Favorite Futures: ES, CL
 
deandavis's Avatar
 
Posts: 16 since Jul 2010
Thanks: 31 given, 0 received

Looking forward to seeing more on this one. Would like a copy when it is available too.

Reply With Quote
 
  #9 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

That is basically what my indicator does. It adapts to the underlying session template, so if you select the US Index Futures ETH session (Globex), the indicator will display the lines until the end of the session at 4:15 PM.

From there you have to calculate backwards to enter the start time. For example for the 2:00 AM to 5:00 PM period you will have to enter

- the difference between start time of the period and the session end time -> 14 hours and 15 minutes
- the length of the selected period -> 3 hours

I could also preconfigure the indicator for different instruments.

For the labels you would have to edit the indicator and change them in program code, then save and compile the indicator under a new name. Could you do that?



rfiske View Post
Yes - this is what I have been looking for. I had this capability with Trade Station but I have move completely to Ninja 7.

On attached you can see what the TS indicators produced. I had 1 indicator for Globex H/L, another indicator for London 2-5AM CST H/L, one indicator for Regular session Open, and one indicator for First Hour (FH H/L) on attache the FHL is still showing previous day FHL as the current 1st hour is not complete.

The lines updated H/L until the close of the stated time period then stayed persistent on the chart until replaced the next session start - Globex, London, Regular Session.


Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #10 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Which opening range times do you use?


Will make it available shortly. Just some questions prior to this:

It now works in session logic. So it adapts correctly to all session times and compesates daylight savings time.

There are two issues that I need to fix.

Preset times for the opening range

Actually I do not want to open the indicator panel each time I change from ES to FDAX and then to 6E, so all the opening range times should be set via indicator dialogue box.

User defined labels

This is a headache, as I need to read the strings and then transfer them to a custom plot method.

So my question: Which instruments do you trade and which opening range times do you use?

Reply With Quote

Reply



futures io > > > > > Indicator to Plot the OHLC - user selected start/stop times

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trading Times Indicator Doppio NinjaTrader 7 May 20th, 2016 02:11 PM
Bar Type with User controlled start times DavidHP NinjaTrader 0 May 30th, 2011 11:42 AM
NinjaTrader indicator to shade times on a chart tradersteph The Elite Circle 3 March 5th, 2010 07:05 PM
OHLC calculations indicator vast NinjaTrader Programming 3 January 16th, 2010 06:43 AM
OHLC with optional session times carlos NinjaTrader Programming 1 September 21st, 2009 08:37 AM


All times are GMT -4. The time now is 06:24 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-17 in 0.13 seconds with 20 queries on phoenix via your IP 54.82.81.154