Keltner Channel: Multicharts vs. Esignal - MultiCharts | futures io social day trading
futures io futures trading

Keltner Channel: Multicharts vs. Esignal
Updated: Views / Replies:2,347 / 3
Created: by kottgolf Attachments:0

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

Thread Tools Search this Thread

Keltner Channel: Multicharts vs. Esignal

  #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: Multicharts
Favorite Futures: Stocks
Posts: 8 since Feb 2012
Thanks: 2 given, 7 received

Keltner Channel: Multicharts vs. Esignal

Hi, I am having problems with Keltner Channels. I am using the same formula (confirmed by a esignal programmer and multicharts programmer). However I am getting different values.
The Keltner Channel is pretty basic. I believe Esignal is plotting the right Keltner Channel and Multicharts is not. Has anyone had this problem? And yes I am using the same parameters.

Esignal Code:
Provided By:
eSignal (Copyright c eSignal), a division of Interactive Data
Corporation. 2009. All rights reserved. This sample eSignal
Formula Script (EFS) is for educational purposes only and may be
modified and saved under a new file name. eSignal is not responsible
for the functionality once modified. eSignal reserves the right
to modify and overwrite this EFS file with each new release.

Keltner ATR Band

Version: 1.0 10/29/2009

Formula Parameters: Default:
Length 20
ATRMult 3.75


var fpArray = new Array();
var bInit = false;

function preMain(){
setStudyTitle("Keltner ATR Band");
setCursorLabelName("Up Band", 0);
setPlotType(PLOTTYPE_LINE, 0);
setDefaultBarFgColor(, 0);
setCursorLabelName("Dn Band", 1);
setPlotType(PLOTTYPE_LINE, 1);
setDefaultBarFgColor(, 1);
var x = 0;
fpArray[x] = new FunctionParameter("Length", FunctionParameter.NUMBER);
with(fpArray[x++]) {
fpArray[x] = new FunctionParameter("ATRMult", FunctionParameter.NUMBER);
with(fpArray[x++]) {

var xKUp = null;
var xKDn = null;

function main(Length, ATRMult) {
var nBarState = getBarState();
var nKU = 0;
var nKL = 0;
if (nBarState == BARSTATE_ALLBARS) {
if(Length == null) Length = 20;
if(ATRMult == null) ATRMult = 3.75;
if (bInit == false) {
xKUp = efsInternal("Calc_KeltnerBand", Length, ATRMult);
xKDn = getSeries(xKUp, 1);
bInit = true;
nKU = xKUp.getValue(0);
nKL = xKDn.getValue(0);
if (nKU == null || nKL == null) return;
return new Array(nKU, nKL);

var bSecondInit = false;
var xMA = null;
var xATR = null;

function Calc_KeltnerBand(Length, ATRMult) {
var nResUp = 0;
var nResDn = 0;
var nMA = 0;
var nATR = 0;
if (bSecondInit == false) {
xMA = sma(Length);
xATR = atr(Length);
bSecondInit = true;
nMA = xMA.getValue(0);
nATR = xATR.getValue(0);
if (nMA == null || nATR == null) return;
nResUp = nMA + ATRMult * nATR;
nResDn = nMA - ATRMult * nATR;
return new Array(nResUp, nResDn);

inputs: Price( Close ), Length( 20 ), NumATRs( 3.75 ), Displace( 0 ) ;
variables: var0( 0 ), var1( 0 ), var2( 0 ), var3( 0 ) ;

var0 = AverageFC( Price, Length ) ;
var1 = NumATRs * AvgTrueRange( Length ) ;
var3 = var0 + var1 ;
var2 = var0 - var1 ;

condition1 = Displace >= 0 or CurrentBar > AbsValue( Displace ) ;
if condition1 then
Plot1[Displace]( var3, "UpperBand" ) ;
Plot2[Displace]( var2, "LowerBand" ) ;
Plot3[Displace]( var0, "MidLine" ) ;


Reply With Quote
  #2 (permalink)
Elite Member
Chicago, IL USA
Futures Experience: Intermediate
Platform: MultiCharts + CTS T4
Broker/Data: Advantage Futures,
Favorite Futures: YM, ES, EU, US, S
furytrader's Avatar
Posts: 153 since Jun 2011
Thanks: 109 given, 144 received

One solution (albeit a tedious one) would be to import a section of your price data into excel and calculate the indicator manually using Excel functions. This should tell you which one is right.

Reply With Quote
  #3 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: Multicharts
Favorite Futures: Stocks
Posts: 8 since Feb 2012
Thanks: 2 given, 7 received

Thanks but I've had a programmer do this for the esignal formula and this one is correct.
It's Multicharts the problem I believe.
It was a long shot to ask if anybody else has noticed this on Multicharts.

Reply With Quote
  #4 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: Multicharts
Favorite Futures: Stocks
Posts: 8 since Feb 2012
Thanks: 2 given, 7 received

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

I figured it out.
TS and Multicharts do not use the proper way to calculated Keltner Channel.
They do not use Wilder's way of calculating AverageTrueRange.

To adjust for this, create AvgTrueRangeWilder as a function:

inputs: Length( numericsimple ) ;

AvgTrueRangeWilder = XAverageOrig( TrueRange, Length ) ;

Reply With Quote
The following user says Thank You to kottgolf for this post:


futures io > > > > Keltner Channel: Multicharts vs. Esignal

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Ninjatrader 7 replicate linear Regression Channel Lines in Esignal dr0832 NinjaTrader Programming 28 April 6th, 2015 03:18 PM
Keltner Bands indicator cory The Elite Circle 21 November 15th, 2012 03:31 PM
need help with OEC broker and esignal mering data using multicharts guppy MultiCharts 14 September 26th, 2011 07:04 AM
Keltner kiasom EasyLanguage Programming 2 November 17th, 2010 02:01 PM
Help w/ Keltner from TradeStation to NT7 bluemele NinjaTrader Programming 15 November 8th, 2010 12:30 PM

All times are GMT -4. The time now is 09:39 PM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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 2018-05-22 in 0.10 seconds with 27 queries on phoenix via your IP