NexusFi: Find Your Edge


Home Menu

 





Keltner


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 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


© 2026 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 - Downloads - Top
no new posts