NexusFi: Find Your Edge


Home Menu

 





Dogs Don't Greet a Visitor Away


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 3 posts (18 thanks)
    2. looks_two trendisyourfriend with 2 posts (1 thanks)
    3. looks_3 Big Mike with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,497 views
    2. thumb_up 19 thanks given
    3. group 2 followers
    1. forum 6 posts
    2. attach_file 4 attachments




 
Search this Thread

Dogs Don't Greet a Visitor Away

  #1 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

If you own a dog and a friend of yours enters your home, the dog will likely bark and announce the visitor. When your friend leaves after a while, your dog will do nothing.

Indicators should behave like dogs. If a new price is announced it should be greeted, however, if an old price drops out of the formula, this should not affect indicator values too much.

Unfortunately there is a whole lot of indicators that behaves in a way a dog would never do: It greets price and then barks again, when it leaves. This reduces the usability of the indicator.

I want to show via this thread, how this problem can be easily solved by using triangular moving averages. The first candidate is the momentum indicator.

The chart below shows a solid green candle, and what does the Momentum indicator do? It shows a considerable drop, because it greets away the larger candle that can be found 14 bars back. This simply does not make sense. The solution is simple. In the formula for the momentum, the price 14 periods back is simply replaced with the triangular moving average, which can be expressed as

SMA(SMA, period +1), period+1)[0]

and the momentum indicator will no longer behave in this disorderly fashion. As you can see the Balanced Momentum reacts to price in a similar way as the Momentum does, but it does not greet price away.

Attached Thumbnails
Click image for larger version

Name:	Balanced Momentum.jpg
Views:	330
Size:	100.8 KB
ID:	26882  
Attached Files
Elite Membership required to download: BalancedMomentum.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quantum physics & Trading dynamics
The Elite Circle
Strategy stop orders partially filled
EasyLanguage Programming
MC PL editor upgrade
MultiCharts
static margin on the right side of a chart
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
58 thanks
Spoo-nalysis ES e-mini futures S&P 500
16 thanks
GFIs1 1 DAX trade per day journal
15 thanks
The Trading Pit "Futures VIP" Account Journal
15 thanks
Trading with Intuition
14 thanks
  #3 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,179
Thanks Received: 6,022


Just a observation though it may not apply to this case. If you were using a range interval maybe these sharp moves would be seen in a smoother way by the indicator and provide a better result. What do you think ?

Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


trendisyourfriend View Post
Just a observation though it may not apply to this case. If you were using a range interval maybe these sharp moves would be seen in a smoother way by the indicator and provide a better result. What do you think ?

The problem of old bars being greeted away by an indicator is mostly known from the simple moving average. It is created by wide ranging bars that drop out of the formula for the arithmetic mean. If you use range bars instead of fixed period bars, it is obvious that the impact of bars dropping out at the back end of the indicator is reduced, as you do not have bars with a wide range.

Due to possitive correlation with range, the problem is also reduced on tick and volume charts.

Started this thread Reply With Quote
  #5 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,179
Thanks Received: 6,022

For gauging momentum, i like the d9ParticleOscillator. By curiosity i have compared both your new momentum and the d9ParticleOscillator.


Reply With Quote
Thanked by:
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

This is a simple indicator also known as fractal efficiency. It allows to identify trends versus rangebound price action. The Kaufman Efficiency Ratio is also used to calculate the KAMA.

The indicator uses the close which occurs n bars ago, and as with the momentum indicator it generates better results, when the close is substituted with the triangular moving average.

The chart below shows the original Kaufman Efficiency and below the Balanced Kaufman Efficiency.

Attached Thumbnails
Click image for larger version

Name:	Kaufman Efficiency.jpg
Views:	272
Size:	110.8 KB
ID:	26886  
Attached Files
Elite Membership required to download: BalancedKaufmanEfficiency.zip
Started this thread Reply With Quote
  #7 (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,489 since Jun 2009
Thanks Given: 33,256
Thanks Received: 101,698



For renewed interest in this concept.

Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

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




Last Updated on December 10, 2011


© 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