NexusFi: Find Your Edge


Home Menu

 





Opening Range Indicator (w/ Indicator Input)


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one wuileng with 3 posts (1 thanks)
    2. looks_two mfbreakout with 1 posts (1 thanks)
    3. looks_3 Big Mike with 1 posts (1 thanks)
    4. looks_4 Itchymoku with 1 posts (0 thanks)
    1. trending_up 6,569 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 wuileng 
Kuala Lumpur + Malaysia
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: ES
Posts: 26 since Aug 2012
Thanks Given: 13
Thanks Received: 9

Hi all,

I'm trying to come up with an opening range indicator. I know there are already countless ones out there (and here), but none of which I've tried so far work with an indicator as an input.

I've already coded an opening range indicator which works for price given a start and end time but it just won't work when using an indicator (e.g. SMA) as an input. The problem I'm facing is that Times[x][0] doesn't work with indicator values. As such I'm thinking I might need to add the indicator as a DataSeries, but am struggling to make it work.

If anyone can share some insight I would be grateful, and would also be happy to share the finished product here on NexusFi (formerly BMT) in case anyone has some use for it like I do.

Thanks


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
No book, only a stair: journaling fills where price move …
Cryptocurrency
Datafeed for Atas
Platforms and Indicators
Daytrading to swingtrading
Traders Hideout
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #2 (permalink)
 
mfbreakout's Avatar
 mfbreakout 
BOSTON, MA
Legendary Market Wizard
 
Experience: Advanced
Platform: Tradestation, TOS
Trading: ES, CL, GC
Posts: 7,254 since Oct 2010
Thanks Given: 3,478
Thanks Received: 15,818


wuileng View Post
Hi all,

I'm trying to come up with an opening range indicator. I know there are already countless ones out there (and here), but none of which I've tried so far work with an indicator as an input.

I've already coded an opening range indicator which works for price given a start and end time but it just won't work when using an indicator (e.g. SMA) as an input. The problem I'm facing is that Times[x][0] doesn't work with indicator values. As such I'm thinking I might need to add the indicator as a DataSeries, but am struggling to make it work.

If anyone can share some insight I would be grateful, and would also be happy to share the finished product here on NexusFi (formerly BMT) in case anyone has some use for it like I do.

Thanks

Contact Gomi or FatTails. They have a bunch for Ninja trader.


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 R.I.P. 1977-2026 
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,586


Start here



Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 wuileng 
Kuala Lumpur + Malaysia
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: ES
Posts: 26 since Aug 2012
Thanks Given: 13
Thanks Received: 9


Big Mike View Post
Start here



Mike

Have tried both their OR indicators in that post and the ones in the downloads section but unfortunately they don't work with indicators either. Will seek out their help on that thread though!

Thanks!


Started this thread Reply With Quote
  #5 (permalink)
 Itchymoku 
Philadelphia
 
Experience: None
Platform: corded black telephone
Trading: ticker tape
Posts: 2,892 since Apr 2012
Thanks Given: 1,683
Thanks Received: 3,662


wuileng View Post
Hi all,

I'm trying to come up with an opening range indicator. I know there are already countless ones out there (and here), but none of which I've tried so far work with an indicator as an input.

I've already coded an opening range indicator which works for price given a start and end time but it just won't work when using an indicator (e.g. SMA) as an input. The problem I'm facing is that Times[x][0] doesn't work with indicator values. As such I'm thinking I might need to add the indicator as a DataSeries, but am struggling to make it work.

If anyone can share some insight I would be grateful, and would also be happy to share the finished product here on NexusFi (formerly BMT) in case anyone has some use for it like I do.

Thanks

Why are you using an indicator as input? Wouldn't that throw off the exact range?


R.I.P. Joseph Bach (Itchymoku), 1987-2018.
Please visit this thread for more information.
Reply With Quote
  #6 (permalink)
 wuileng 
Kuala Lumpur + Malaysia
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: ES
Posts: 26 since Aug 2012
Thanks Given: 13
Thanks Received: 9


Itchymoku View Post
Why are you using an indicator as input? Wouldn't that throw off the exact range?

Well I have an indicator which estimates the fair value of a security based on the movements of two to three other securities and plots the premium/discount to this estimate of fair value.

I am playing around with a strategy which is based on a breakout of the range of the premium/discount from the first hour's range. Right now it does this by checking the value of the indicator c.f. the previous high/low attained on every OnBarUpdate and updating the high/low values as necessary. At the end of the defined Opening Range, the high/low values are ready for use.

However, I'm thinking that if I could turn this into an indicator, it would be much more flexible.


Started this thread Reply With Quote
Thanked by:




Last Updated on January 21, 2014


© 2026 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 - Downloads - Top
no new posts