Keltner Channel and Stochastic - futures io
futures io futures trading

Keltner Channel and Stochastic

Discussion in MultiCharts

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

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

Search this Thread

Keltner Channel and Stochastic

(login for full post details)
  #1 (permalink)
Miami Lakes
Experience: Beginner
Platform: Multicharts
Broker: Interactive Brokers
Trading: Emini ES
Posts: 19 since Oct 2016
Thanks: 2 given, 3 received

Hi everyone,

I am new to Multicharts and EL, relatively new to futures trading. Looking around for something to get started with, I came across with this signal. Please excuse any possible redundant code or maybe there is something that could be done in such an easier way, but this is completely new for me. With this strategy I am basically looking for a reversal once the price goes outside the channel. Stochastic is used for an exit. I am also adding a text with the current ATR value just to look at it, I like it always higher than 2. If good, this is something I would trade only in ES futures.

[IntrabarOrderGeneration = false]
inputs: Price(Close), Length(20), NumATRs(2), StartTime(0830), EndTime(1430);
inputs: StochLength(14), OverSold(20), OverBought(80);
variables: accountLoc(1), Hammer(0), positionSize(0), factor(0),
LowerBand(0), UpperBand(0), mean(0), ATR(0), LEConditions(false),
SEConditions(false), LXConditions(false), SXConditions(false), StoUp(false), StoDn(false),
HighTLColor (darkgreen),
HighTextColor (darkgreen),ATRTxt(0),

mean = AverageFC(Price, Length);
ATR = AvgTrueRange( Length );
factor = ATR * NumATRs;
LowerBand = mean - factor;
UpperBand = mean + factor;
Hammer = (High - Low)/4;

if LastBarOnChart then
ATRTxt = Text_New(date, time, high, text(" ATR:" + text(ATR) + text(" ")));
Text_SetLocation(ATRTxt, date, time, GetAppInfo(aiHighestDispValue) - (10 * MinMove/PriceScale));

Value1 = Stochastic(H, L, C, StochLength, 3, 3, 1, var0, var1, var2, var3);

LEConditions =

(High-Close) <= Hammer ) and ( ( Close crosses over LowerBand )
or ( (Low <= LowerBand) and (Close > LowerBand) )
or ( (Low <= LowerBand) and (Close > Open) and (Close > LowerBand) )
and ( Time > StartTime and Time < EndTime )


SEConditions =

( (Close-Low) <= Hammer ) and ( Close crosses below UpperBand )
and ( Time > StartTime and Time < EndTime )


LXConditions =

(Close crosses below UpperBand) or
(Close crosses below LowerBand) or
( (Close crosses below mean) ) or
( (var0 crosses under var1) )


SXConditions =

(Close crosses over LowerBand) or
(Close crosses over UpperBand) or
(Close crosses over mean) or
( (var0 crosses over var1) and (var0 < OverSold) )


if MarketPosition = 0 then begin

if LEConditions then begin
buy ( "KC+STO_LE" ) 1 contracts next bar at market;

if SEConditions then begin
sellshort ( "KC+STO_SE" ) 1 contracts next bar at market;


if (MarketPosition = 1) then begin
if (LXConditions) then begin
if (CurrentContracts = 1) then begin
sell ( "KC+STO_LX" ) 1 contracts next bar at market;


if (MarketPosition = -1) then begin
if (SXConditions) then begin
if (CurrentContracts = 1) then begin
buytocover ( "KC+STO_SX" ) 1 contracts next bar at market;

I was wondering if anyone can give me some feedback on this please, do you think this could be something that would work long term? I know this won't be something that will generate a signal everyday, but again I am just looking for something to get started with. If you think this will never work, please share it as well, that'll help too. Any help will be truly appreciated.

Started this thread Reply With Quote

Journal Challenge February 2021 results (so far):
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(153 thanks from 29 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(111 thanks from 32 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(31 thanks from 16 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
(login for full post details)
  #2 (permalink)
Oklahoma City USA
Posts: 47 since Oct 2016
Thanks: 0 given, 1 received


before we can backtest for long term use. You need find a reliable historical tick data. You can check to see if the data is consistent by adding 100 tick chart and compare the opening/closing range of each day, they should be relatively equal otherwise your historical data might be missing ticks.

Reply With Quote
(login for full post details)
  #3 (permalink)
Oklahoma City USA
Posts: 47 since Oct 2016
Thanks: 0 given, 1 received


It seem like Keltner Channel Strategy is a trend following technique or something?

I'm using the same settings as BB and getting double the results with half the drawdown

Reply With Quote
(login for full post details)
  #4 (permalink)
Oklahoma City USA
Posts: 47 since Oct 2016
Thanks: 0 given, 1 received


I'm getting unbelievable result using Keltner channel. Please email me immediately. We need to to automate this ASAP.

Please email directly

Reply With Quote

futures io Trading Community Platforms and Indicators MultiCharts > Keltner Channel and Stochastic

Last Updated on October 26, 2016

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Journal Challenge w/$1500 prizes from Topstep!


Identifying Setups & Targets Using Profile Charts w/Trevor & Tradovate

Feb 25

Battlestations! Show us your trading desk - $1,500 in prizes!


Copyright © 2021 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