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 Big Mike with 1 posts (1 thanks)
    3. looks_3 Itchymoku with 1 posts (0 thanks)
    4. looks_4 mfbreakout with 1 posts (1 thanks)
    1. trending_up 5,392 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Opening Range Indicator (w/ Indicator Input)

  #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 futures.io (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?
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
  #2 (permalink)
 
mfbreakout's Avatar
 mfbreakout 
BOSTON, MA
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 futures.io (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
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


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 Twitter 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,894 since Apr 2012
Thanks Given: 1,683
Thanks Received: 3,681


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 futures.io (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


© 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