NexusFi: Find Your Edge


Home Menu

 





Keltner


Discussion in EasyLanguage Programming

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




 
Search this Thread

Keltner

  #1 (permalink)
 kiasom 
Stockholm
 
Experience: Intermediate
Platform: MC
Trading: fx
Posts: 16 since Apr 2010
Thanks Given: 139
Thanks Received: 23

I have made the Keltner channel more flexible, in order to adapt it for use with non-standard bars.
First of all, the original KC is like this:
KeltnerChannel = Average( Price, Length ) + NumATRs * AvgTrueRange( Length ) ;

where the NumATRs is either +1.5 for the upper band and -1.5 for the lower band.

It has SMA and then ATR as the volatility measure.
I have loosened both:

1. The MA is made choosable between SMA and EMA:
if MA=0 then
var0 = XAverage (Price,Length ) //this is the EMA
else
var0 = AverageFC(Price,Length ) ;

2. The ATR is chosen as either original ATR, or an Average Price range, i.e. High-Low. The latter is the relevant measure when you use Range bars or Renko bars, because then the ATR is constant. Replace the original ATR with AverageFC2 on APR:

AverageFC2(AvgPriceRange,Length);

(I'm btw. using a version with HeikenAshi bars for APR)

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Negative Balance Protection
Brokers
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
68 thanks
Spoo-nalysis ES e-mini futures S&P 500
21 thanks
GFIs1 1 DAX trade per day journal
15 thanks
The Trading Pit "Futures VIP" Account Journal
15 thanks
Trading with Intuition
15 thanks
  #3 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91



kiasom View Post
I have made the Keltner channel more flexible, in order to adapt it for use with non-standard bars.
First of all, the original KC is like this:
KeltnerChannel = Average( Price, Length ) + NumATRs * AvgTrueRange( Length ) ;

where the NumATRs is either +1.5 for the upper band and -1.5 for the lower band.

It has SMA and then ATR as the volatility measure.
I have loosened both:

1. The MA is made choosable between SMA and EMA:
if MA=0 then
var0 = XAverage (Price,Length ) //this is the EMA
else
var0 = AverageFC(Price,Length ) ;

2. The ATR is chosen as either original ATR, or an Average Price range, i.e. High-Low. The latter is the relevant measure when you use Range bars or Renko bars, because then the ATR is constant. Replace the original ATR with AverageFC2 on APR:

AverageFC2(AvgPriceRange,Length);

(I'm btw. using a version with HeikenAshi bars for APR)

I'm not sure to understand your concept. Could you elaborate or show a picture to compare both.

I'm studying an approach using Keltner channel and it is not conclusive on the long run for me.


Martin

Reply With Quote




Last Updated on November 17, 2010


© 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