Is there a bar overlap indicator? - NinjaTrader | futures io social day trading
futures io futures trading


Is there a bar overlap indicator?
Updated: Views / Replies:2,170 / 4
Created: by jstnbrg Attachments:3

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

Is there a bar overlap indicator?

  #1 (permalink)
Elite Member
Chicago, Illinois
 
Futures Experience: Advanced
Platform: Ninjatrader, TT, InvestorRT
Broker/Data: Advantage Futures, Ninja/TT and InvestorRT/IQFeed.
Favorite Futures: Treasury futures
 
Posts: 285 since Nov 2010
Thanks: 175 given, 815 received

Is there a bar overlap indicator?

Is there an existing indicator that counts bar overlap? What I'm looking for is an indicator that counts the number of bars out of the previous n bars that the current bar overlaps.

Reply With Quote
 
  #2 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer


jstnbrg View Post
Is there an existing indicator that counts bar overlap? What I'm looking for is an indicator that counts the number of bars out of the previous n bars that the current bar overlaps.

I have seen something similar, but I cannot find it.

As it was faster to code than to search for it, I have recoded it. I think it best shows as a histogram. It looks quite usful, so I do not regret the few minutes that I have spent to code it.

I have added a filter to identify bars with an overlap that are large than the average overlap plus two standard deviations. The multiplier and lookback for the standard deviation can be adjusted.

The indicator and a chart are attached.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: zip BarOverlap.zip (6.0 KB, 90 views)
Reply With Quote
The following 8 users say Thank You to Fat Tails for this post:
 
  #3 (permalink)
Elite Member
Chicago, Illinois
 
Futures Experience: Advanced
Platform: Ninjatrader, TT, InvestorRT
Broker/Data: Advantage Futures, Ninja/TT and InvestorRT/IQFeed.
Favorite Futures: Treasury futures
 
Posts: 285 since Nov 2010
Thanks: 175 given, 815 received


Wow, ask and you shall receive! Thanks, Harry. I thought it would be easy to code but for me that probably would have been a frustrating 8 hour torture session.

Everyone talks about avoiding chop, and chop is nothing but a lot of bar overlap. It's easy to see but I always thought it might be helpful to quantify the overlap. Thanks for the help and the quick response. Hope everything is going well for you, I just walked the dog and it is 9 degrees F (-13 C). I want to be somewhere WARM!

"You don't need a weatherman to know which way the wind blows..."
Reply With Quote
 
  #4 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

I am still not satisfied with the first approach. I think that there is a conceptual problem.

If you have a wide ranging bar - which in fact ends the chop period - it is likely to overlap with more of the preceding bars than the prior narrow range bars. The breakout bar would therefore obtain the highest chop reading, and only the bar after the breakout bar would show little overlap. This means that the original indicator is lagging unnecessarily by 1 bar.

I have therefore tried to modify the concept in several ways.

(1) I am looking at which fraction of the last bar is covered by previous bars. The results are weighted in a way that the prior bar has a higher weight than the prior2 bar, the prior2 bar a higher weight than the prior 3 bar.

(2) Then I have added a simple SMA as a signal line.

It is still an experimental indicator. The chart below shows that

-> when the bars are exceeding the signal line, it is getting choppy
-> when the bars stay below the signal line, price is trending

I think it is possible to transform this into a MACD type indicator, which indicates chop and trending conditions via an EMA or a SMA cross.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #5 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Alternatively try Fractal Dimension Index

You could also try this indicator, which I coded today.

https://futures.io/multicharts/17091-who-can-help-me-some-math-fractal-dimension-index-indicator.html#post184901

It is still experimental, but @Jura has obtained the same results with a TradeStation version. Could be better than bar overlap.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:

Reply



futures io > > > > Is there a bar overlap indicator?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inside_ Outside Bar Indicator GilR NinjaTrader 16 September 12th, 2013 06:38 AM
Heikin Ashi indicator with bar outline same color as bar? Todd NinjaTrader 29 September 7th, 2013 08:33 AM
Chart Bar with volume indicator inside Bar? hector24 NinjaTrader 11 October 9th, 2011 11:41 AM
Decision bar indicator? Lacie Traders Hideout 2 November 9th, 2010 01:27 PM
Overlap Percentage zeller4 NinjaTrader Programming 0 October 6th, 2009 02:30 PM


All times are GMT -4. The time now is 04:56 PM.

Copyright © 2017 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
Page generated 2017-12-16 in 0.10 seconds with 30 queries on phoenix via your IP 54.163.210.170