NexusFi: Find Your Edge


Home Menu

 





Overnight H L plot?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 4 posts (4 thanks)
    2. looks_two keymoo with 3 posts (0 thanks)
    3. looks_3 josh with 2 posts (0 thanks)
    4. looks_4 cory with 1 posts (0 thanks)
    1. trending_up 3,833 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 8 posts
    2. attach_file 2 attachments




 
Search this Thread

Overnight H L plot?

  #1 (permalink)
 
keymoo's Avatar
 keymoo 
Bedford, UK
 
Experience: Beginner
Platform: SierraChart/TT Feed
Trading: NQ
Posts: 129 since Mar 2012
Thanks Given: 212
Thanks Received: 215

Hi,

I have my charts set up like this.

[img]https://nexusfi.com/v/fsesku.png[/img]

I'd like to automatically add the overnight GLOBEX sessoin high and low when the market opens but keep an RTH timeframe chart on screen. Does anyone know of an indicator that will do that? Using Ninja 7.

Thanks
keymoo

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - May 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
62 thanks
NexusFi site changelog and issues/problem reporting
46 thanks
Battlestations: Show us your trading desks!
34 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
23 thanks

  #2 (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


keymoo View Post
Hi,

I have my charts set up like this.

[IMG]https://nexusfi.com/v/fsesku.png[/IMG]

I'd like to automatically add the overnight GLOBEX sessoin high and low when the market opens but keep an RTH timeframe chart on screen. Does anyone know of an indicator that will do that? Using Ninja 7.

Thanks
keymoo


The problem here is that the overnight high and low can only be calculated from the night session data. If you exclude that data from your chart, it is not obvious to plot overnight high and low, unless you open a second chart and then enter the values manually.

What do you need your RTH session template for?

Reply With Quote
  #3 (permalink)
 
keymoo's Avatar
 keymoo 
Bedford, UK
 
Experience: Beginner
Platform: SierraChart/TT Feed
Trading: NQ
Posts: 129 since Mar 2012
Thanks Given: 212
Thanks Received: 215


What I want to do is only show RTH prices, and RTH sessions, but I want a line drawn automatically showing the overnight high and low from the globex session similar to the Y-Low and Y-High I have on there now. If I could have something that said O-High, O-Low or something that would be great. I'm not interested in the price action of the Globex session, only the high and low of it. Do you know of anything that can do that?

Follow me on Twitter Started this thread Reply With Quote
  #4 (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


keymoo View Post
What I want to do is only show RTH prices, and RTH sessions, but I want a line drawn automatically showing the overnight high and low from the globex session similar to the Y-Low and Y-High I have on there now. If I could have something that said O-High, O-Low or something that would be great. I'm not interested in the price action of the Globex session, only the high and low of it. Do you know of anything that can do that?


Indicators usually perform calculations from data loaded with the chart. If you don't load overnight data, then the indicator cannot calculate indicator values from that data.

No data - no indicator values. This is rather simple.

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

you can color the background of Globex session to the same color as the foreground so that you don't see it.

Reply With Quote
  #6 (permalink)
 
keymoo's Avatar
 keymoo 
Bedford, UK
 
Experience: Beginner
Platform: SierraChart/TT Feed
Trading: NQ
Posts: 129 since Mar 2012
Thanks Given: 212
Thanks Received: 215


Fat Tails View Post
Indicators usually perform calculations from data loaded with the chart. If you don't load overnight data, then the indicator cannot calculate indicator values from that data.

No data - no indicator values. This is rather simple.

I did write one for TradeStation a few years ago. Maybe I will try and code up my first NT indicator, but I thought someone else might have already done it. I can't see any reason why the overnight data cannot be loaded in to NT and overlaid onto the RTH chart with the data series made transparent. It should then be fairly easy to work out the Globex High and Low.

Or maybe I'm missing something fundamental in the way Ninjatrader works?

Follow me on Twitter Started this thread Reply With Quote
  #7 (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

You can do that. The indicator already exists. Load a secondary Data Series with an ETH session template on your chart, then set that Data Series to transparent.

Then apply the anaOpeningRangeV38, which displays the Globex High and Low calculated from the overnight session. Set the opening range itself to transparent, if you do not need it.

The result is shown below. You will get what you look for, but the hidden Data Series will create a huge gap on your chart.


Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
  #8 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Rithmic
Trading: ES, NQ, YM
Posts: 6,210 since Jan 2011
Thanks Given: 6,734
Thanks Received: 18,100

Speaking of this topic, how difficult is it to shade the background for the overnight session with a different color? I have looked but strangely can't seem to find something like this. I would like to be able to shade the top to bottom of the chart, though shading just the high to low of price would be okay too. It must work on non-time-based periodicities 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


josh View Post
Speaking of this topic, how difficult is it to shade the background for the overnight session with a different color? I have looked but strangely can't seem to find something like this. I would like to be able to shade the top to bottom of the chart, though shading just the high to low of price would be okay too. It must work on non-time-based periodicities too..

If you have an indicator that has generated the values, you can shade any areas with DrawRegion() or DrawRectangle().

The problems arrive if you have several different colours, then you need to play with the opacity or define additional colors, where the shades overlap.

Example below, showing pivot range, opening range and night session range.

For the opening range indicator I had only shaded the opening range, but not the night session to avoid two many shades.



Reply With Quote
The following user says Thank You to Fat Tails for this post:





Last Updated on May 1, 2012


© 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