NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 48 posts (61 thanks)
    2. looks_two rfiske with 17 posts (0 thanks)
    3. looks_3 gtichauer with 16 posts (2 thanks)
    4. looks_4 TempletonPeck with 4 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 1.3 thanks per post
    2. looks_two soulartist with 1 thanks per post
    3. looks_3 runner with 0.3 thanks per post
    4. looks_4 gtichauer with 0.1 thanks per post
    1. trending_up 43,858 views
    2. thumb_up 68 thanks given
    3. group 13 followers
    1. forum 105 posts
    2. attach_file 29 attachments




 
Search this Thread

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

  #1 (permalink)
 rfiske 
temecula,ca
 
Experience: Advanced
Platform: NT
Broker: AMP/Zen
Trading: Euro
Posts: 46 since May 2010
Thanks Given: 33
Thanks Received: 8

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

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Futures True Range Report
The Elite Circle
ZombieSqueeze
Platforms and Indicators
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NexusFi Journal Challenge - April 2024
Feedback and Announcements
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
The Program
20 thanks
GFIs1 1 DAX trade per day journal
19 thanks
  #3 (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


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)
 rfiske 
temecula,ca
 
Experience: Advanced
Platform: NT
Broker: AMP/Zen
Trading: Euro
Posts: 46 since May 2010
Thanks Given: 33
Thanks Received: 8


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.

Started this thread Reply With Quote
  #5 (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

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)
 
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

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
Click image for larger version

Name:	Chart 1 Current OHLC (ETH).jpg
Views:	539
Size:	106.6 KB
ID:	17588   Click image for larger version

Name:	Chart 2 Opening Range and RTH Open.jpg
Views:	440
Size:	95.9 KB
ID:	17589   Click image for larger version

Name:	Chart 3 3 Hour Night Session Range.jpg
Views:	370
Size:	94.7 KB
ID:	17590  
Reply With Quote
Thanked by:
  #7 (permalink)
 rfiske 
temecula,ca
 
Experience: Advanced
Platform: NT
Broker: AMP/Zen
Trading: Euro
Posts: 46 since May 2010
Thanks Given: 33
Thanks Received: 8

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
Click image for larger version

Name:	TS Horz Lines.jpg
Views:	464
Size:	55.9 KB
ID:	17593  
Started this thread Reply With Quote
  #8 (permalink)
 
deandavis's Avatar
 deandavis 
Poulsbo, Wa US
 
Experience: Intermediate
Platform: NinjaTrader Tradestation
Broker: Ninja Trader, Continuum
Trading: ES, CL
Posts: 30 since Jul 2010
Thanks Given: 109
Thanks Received: 6

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

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

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
Thanked by:
  #10 (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


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




Last Updated on October 14, 2015


© 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