What heuristic would you use to determine which side of an outside bar broke first? - futures io
futures io



What heuristic would you use to determine which side of an outside bar broke first?


Discussion in NinjaTrader

Updated
    1. trending_up 696 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 2 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
 

What heuristic would you use to determine which side of an outside bar broke first?

(login for full post details)
  #1 (permalink)
 trendisyourfriend 
Legendary Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,024 since Oct 2009
Thanks: 3,692 given, 5,209 received

I am trying to determine the best heuristic rules to know if an outside bar (engulfing bar) has broken the previous bar high or low first on past historical series. Can you help?

This:


or that:

Started this thread Reply With Quote

Journal Challenge April 2021 results:
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(620 thanks from 61 posts)
looks_twoSalao's Journalby Salao
(161 thanks from 29 posts)
looks_3Learning to Profit - A journey in algorithms and optionsby Syntax
(115 thanks from 27 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(94 thanks from 30 posts)
looks_5Maybe a little bit different journalby Malykubo
(53 thanks from 32 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
I finally blew up an account
128 thanks
The Crude Dude Oil Trading System
85 thanks
Spoo-nalysis ES e-mini futures S&P 500
65 thanks
The tiyfTradePlanFactory indicator
31 thanks
Building a Crypto Mining Rig
19 thanks
 
(login for full post details)
  #2 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received

Just spit-balling, but would the bar's direction work(open-close relationship)?

I did a complicated zz indicator a while back for NT7, and that was the logic I used, I believe I had several relationships for dealing w/outside bars.

You mentioned heuristic, so I tend to think that you expect it to only be an approximation, as you'd never REALLY have a way of knowing unless you saw the bars that made up that bar?

But could logic such as...

 
Code
if(Close > Open && outside bar)
  //then Low came first

Reply With Quote
 
(login for full post details)
  #3 (permalink)
 trendisyourfriend 
Legendary Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,024 since Oct 2009
Thanks: 3,692 given, 5,209 received



forrestang View Post
Just spit-balling, but would the bar's direction work(open-close relationship)?

I did a complicated zz indicator a while back for NT7, and that was the logic I used, I believe I had several relationships for dealing w/outside bars.

You mentioned heuristic, so I tend to think that you expect it to only be an approximation, as you'd never REALLY have a way of knowing unless you saw the bars that made up that bar?

But could logic such as...

 
Code
if(Close > Open && outside bar)
  //then Low came first

I think this is one good way to do it on past historical bars. I also thought that if the bar that preceeds the outside bar has its close > 50% of its range then i might assume the next bar would continue higher first, i.e, the outside bar high would come first even if the outside closes up.

Also, if there is the case where the outside bar close and open are equal?

Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received


trendisyourfriend View Post
I think this is one good way to do it on past historical bars. I also thought that if the bar that preceeds the outside bar has its close > 50% of its range then i might assume the next bar would continue higher first, i.e, the outside bar high would come first even if the outside closes down.

Also, if there is the case where the outside bar close and open are equal?

That's actually a good idea.

I never thought of that with the ZZ I made, but I did use the relationship of the bars prior to the outside bar. I.e., weather price was heading up or down.

But I think using a % of the close is very logical for this type of thing.

Reply With Quote
The following user says Thank You to forrestang for this post:
 
(login for full post details)
  #5 (permalink)
 TWDsje   is a Vendor
 
 
Posts: 638 since Apr 2016
Thanks: 19 given, 684 received

In this case I would just add a smaller data series underneath.

Reply With Quote
The following user says Thank You to TWDsje for this post:
 
(login for full post details)
  #6 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received

@trendisyourfriend

As per an earlier request...

I actually had a catastrophic HDD failure where I keep all my trading files, so I dunno if I can find my older indicators just yet? I'm still sorting that out.

However, I did upload a version of this zz I built for NT7 in the downloads section. Find one of my indies, click the question mark next to my name to show all MY indies, and It is likely the only ZZ I put on this site.

If I remember it is the ZZ that starts over every session, and doesn't plot continuously. But I'm sure the logic is the same. I haven't looked at it in a while, but if you do grab it, and need help figuring it out, lemme know... it's actually quite bloated if I remember? I built it so it would render quickly.

Also, with this thread, are you wanting to build a zz, or do something else? In looking for ideas, it might be easier for us to all brainstorm up ideas if we knew what you are trying to accomplish.

Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > What heuristic would you use to determine which side of an outside bar broke first?


Last Updated on February 10, 2021


Upcoming Webinars and Events

NinjaTrader Indicator Challenge!

Ongoing

Journal Challenge w/$1,800 in prizes!

May 7

The Cold Hard Truth: Maybe I Am Not Good Enough w/Chris Gray @ Earn2Trade

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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