Any Ideas of how I get High Low of a Range set by an Indicator - futures io
futures io futures trading



Any Ideas of how I get High Low of a Range set by an Indicator


Discussion in NinjaTrader

Updated
    1. trending_up 978 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Any Ideas of how I get High Low of a Range set by an Indicator

(login for full post details)
  #1 (permalink)
london
 
Experience: Advanced
Platform: NinjaTrader, cqg, TT
Trading: futures
 
Posts: 9 since May 2011
Thanks: 2 given, 1 received

Can someone point me in the right direction? I have looked everywhere on BM's and also Ninja Boards and can't find what I am looking for. Can someone either point me in the right direction or give me an idea of how I might be able to achieve the following? Any help would be greatly welcome and put my frustrations to bed (where they should be!)

I want to be able to take the High and the Low Price from a range, made up of a number of bars (could be be 2 or up to around 25). The range is determined by 2 indicators crossing each other at the beginning and then crossing the other way at the end so creating the range. (there is the possibility that it re-crosses only 2 bars later.

I have looked at a number of different ways of possibly doing this. (please excuse my naivety but although I have traded for a number of years, my programming journey is underway but there is still an awfully long way to go !! I have looked at different code, searched the NT boards and their reference samples, looked through the NT Help; nosed around everywhere possible in BM's, watching quite a few of the webinars and I have even considered looking down the back of the sofa !

Range, HiLo, BarsPeriod, FirstBarOfSession, High, HighestBar, Minimum, Maximum all seem to have Bar Lookbacks but no indication (pun not intended) that I can use a range to determine the range.

Big Mike quotes that "with NT it is possible to get a rocket into space if you wanted to " so I know it is possible. But could someone just point my Rocket in the right direction .

Started this thread Reply With Quote

Journal Challenge February 2021 results:
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(173 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(120 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(35 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #2 (permalink)
Cedar Rapids, iowa
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Trading: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 593 since Aug 2009
Thanks: 430 given, 1,142 received


bundwidower View Post
Can someone point me in the right direction? I have looked everywhere on BM's and also Ninja Boards and can't find what I am looking for. Can someone either point me in the right direction or give me an idea of how I might be able to achieve the following? Any help would be greatly welcome and put my frustrations to bed (where they should be!)

I want to be able to take the High and the Low Price from a range, made up of a number of bars (could be be 2 or up to around 25). The range is determined by 2 indicators crossing each other at the beginning and then crossing the other way at the end so creating the range. (there is the possibility that it re-crosses only 2 bars later.

I have looked at a number of different ways of possibly doing this. (please excuse my naivety but although I have traded for a number of years, my programming journey is underway but there is still an awfully long way to go !! I have looked at different code, searched the NT boards and their reference samples, looked through the NT Help; nosed around everywhere possible in BM's, watching quite a few of the webinars and I have even considered looking down the back of the sofa !

Range, HiLo, BarsPeriod, FirstBarOfSession, High, HighestBar, Minimum, Maximum all seem to have Bar Lookbacks but no indication (pun not intended) that I can use a range to determine the range.

Big Mike quotes that "with NT it is possible to get a rocket into space if you wanted to " so I know it is possible. But could someone just point my Rocket in the right direction .


It would seem that you simply want to trigger on a moving average crossover, count (record the bar numbers) the subsequent bars until the moving averages cross again then simply evaluate the bars.

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote
The following user says Thank You to Tasker_182 for this post:
 
(login for full post details)
  #3 (permalink)
london
 
Experience: Advanced
Platform: NinjaTrader, cqg, TT
Trading: futures
 
Posts: 9 since May 2011
Thanks: 2 given, 1 received



Tasker_182 View Post
It would seem that you simply want to trigger on a moving average crossover, count (record the bar numbers) the subsequent bars until the moving averages cross again then simply evaluate the bars.

Thanks Tasker. I will give that a go.

I feel a bit stupid asking as it is probably very obvious to others but I really couldn't get my head around it despite giving it a lot of thought. I guess it is the only way to learn.

Will let you know how I get on .....don't hold your breath though !!

Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
Cedar Rapids, iowa
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Trading: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 593 since Aug 2009
Thanks: 430 given, 1,142 received


bundwidower View Post
Thanks Tasker. I will give that a go.

I feel a bit stupid asking as it is probably very obvious to others but I really couldn't get my head around it despite giving it a lot of thought. I guess it is the only way to learn.

Will let you know how I get on .....don't hold your breath though !!

It's not obvious if you've not done it before and sometimes getting a fresh perspective helps.

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Any Ideas of how I get High Low of a Range set by an Indicator


Last Updated on February 10, 2014


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

New Challenge (TBD)

April
     



Copyright © 2021 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