NexusFi: Find Your Edge


Home Menu

 





anaKeltnerUniversal > anaKeltnerUniversal....How?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one KrazyTrader with 3 posts (0 thanks)
    2. looks_two Fat Tails with 2 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 Scottiep with 1 posts (0 thanks)
    1. trending_up 2,095 views
    2. thumb_up 1 thanks given
    3. group 5 followers
    1. forum 8 posts
    2. attach_file 0 attachments




 
Search this Thread

anaKeltnerUniversal > anaKeltnerUniversal....How?

  #1 (permalink)
 KrazyTrader 
Dallas, TX/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES, CL
Posts: 51 since Aug 2013
Thanks Given: 56
Thanks Received: 9

Hello All,

I'm using @Fat Tails Keltner Universal and need a little guidance.

I have:
Variables
private anaKeltnerUniversal K8
private anaKeltnerUniversal K20

OnStartUp
K8= anaKeltnerUniversal(stuff.....)
K20= anaKeltnerUniversal(stuff.....)

I need help with K8.?? [0] > K20.?? [0]

What should be in place of my ?? marks?

Thanks in advance.

Difference between discomfort and pain = 1 tick
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (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,102



KrazyTrader View Post
Hello All,

I'm using @Fat Tails Keltner Universal and need a little guidance.

I have:
Variables
private anaKeltnerUniversal K8
private anaKeltnerUniversal K20

OnStartUp
K8= anaKeltnerUniversal(stuff.....)
K20= anaKeltnerUniversal(stuff.....)

I need help with K8.?? [0] > K20.?? [0]

What should be in place of my ?? marks?

Thanks in advance.


What do you mean with K8 > K20?

Are you talking about the channel width?

The channel width is based on a moving average of the simple range, or on the average true range.

In case you wish to compare the channel width and select an EMA as moving average, you can simply compare the EMA (TrueRange, 8) with the EMA(TrueRange, 20) .

No need to setup a Keltner Channel.

What are your exact indicator settings for the Keltner Channel?

Reply With Quote
  #4 (permalink)
 KrazyTrader 
Dallas, TX/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES, CL
Posts: 51 since Aug 2013
Thanks Given: 56
Thanks Received: 9


Fat Tails View Post
What do you mean with K8 > K20?

Are you talking about the channel width?

The channel width is based on a moving average of the simple range, or on the average true range.

In case you wish to compare the channel width and select an EMA as moving average, you can simply compare the EMA (TrueRange, 8) with the EMA(TrueRange, 20) .

No need to setup a Keltner Channel.

What are your exact indicator settings for the Keltner Channel?

I'm using the Keltner Universal for the MA...K8.UpTrend [0] >0. Not using the channel.

I would like to use the midline of your indicator for K8.?? > K20.?? rather than NT's EMA (8)[0] > SMA (20) [0].

Current settings;
K8= anaKeltnerUniversal(8, anaKeltnerMAType.EMA, anaKeltnerMAType.EMA, 2, 8, anaKeltnerRangeType.TrueRange, false, 0);
K20= anaKeltnerUniversal(20, anaKeltnerMAType.Median, anaKeltnerMAType.SMA, 2, 20, anaKeltnerRangeType.TrueRange, false, 30);

A separate question- do you have the midline only (as in Keltner Universal) available stand alone?

Appreciate your time and responses.

Difference between discomfort and pain = 1 tick
Started this thread Reply With Quote
  #5 (permalink)
 vadzzim 
Belarus
 
Experience: Beginner
Platform: NinjaTrader
Trading: NQ, CL
Posts: 20 since Sep 2015
Thanks Given: 5
Thanks Received: 11

@KrazyTrader mid line is Moving Average... anaKeltnerMAType.EMA = EMA, anaKeltnerMAType.SMA = SMA

Reply With Quote
  #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,102


KrazyTrader View Post
I'm using the Keltner Universal for the MA...K8.UpTrend [0] >0. Not using the channel.

I would like to use the midline of your indicator for K8.?? > K20.?? rather than NT's EMA (8)[0] > SMA (20) [0].

Current settings;
K8= anaKeltnerUniversal(8, anaKeltnerMAType.EMA, anaKeltnerMAType.EMA, 2, 8, anaKeltnerRangeType.TrueRange, false, 0);
K20= anaKeltnerUniversal(20, anaKeltnerMAType.Median, anaKeltnerMAType.SMA, 2, 20, anaKeltnerRangeType.TrueRange, false, 30);

A separate question- do you have the midline only (as in Keltner Universal) available stand alone?

Appreciate your time and responses.


I do not have the midband available as a standalone indicator, but it comes with the anaKeltnerUniversal or anaBollingerUniversal indicators.

If you do not wish to have the channels displayed, you can simply switch them off. Add this to the Initialize() or OnStartup() section of your indicator or strategy:
 
Code
K8.ShowChannel = false;
K20.ShowChannel = false;

For the trend filter you can use either the two Keltner Channels or the moving averages.

 
Code
bool condition = (K8.Middle[0] > K20.Middle[0]);

will produce exactly the same result as
 
Code
bool condition = (EMA(8)[0] > SMA(20)[0]);

I do not see any valid reason to use the Keltner Channels, unless you go for the colors. The use of EMA and SMA is more CPU efficient.

Reply With Quote
Thanked by:
  #7 (permalink)
 KrazyTrader 
Dallas, TX/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES, CL
Posts: 51 since Aug 2013
Thanks Given: 56
Thanks Received: 9


Fat Tails View Post
I do not have the midband available as a standalone indicator, but it comes with the anaKeltnerUniversal or anaBollingerUniversal indicators.

If you do not wish to have the channels displayed, you can simply switch them off. Add this to the Initialize() or OnStartup() section of your indicator or strategy:
 
Code
K8.ShowChannel = false;
K20.ShowChannel = false;

For the trend filter you can use either the two Keltner Channels or the moving averages.

 
Code
bool condition = (K8.Middle[0] > K20.Middle[0]);

will produce exactly the same result as
 
Code
bool condition = (EMA(8)[0] > SMA(20)[0]);

I do not see any valid reason to use the Keltner Channels, unless you go for the colors. The use of EMA and SMA is more CPU efficient.

That's great advice. I Hadn't considered CPU.

Difference between discomfort and pain = 1 tick
Started this thread Reply With Quote
  #8 (permalink)
 
Scottiep's Avatar
 Scottiep 
Green Bay, WI
 
Experience: Intermediate
Platform: Ninja Trader
Trading: NQ
Posts: 90 since Aug 2011
Thanks Given: 29
Thanks Received: 35

Is there a .zip file for this keltner channel for NT 8? I do not see one. thanks!! Scottiep

Reply With Quote
  #9 (permalink)
 MrTrader 
ITAJAI SC/BRAZIL
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Clear Corretora
Trading: DOLFUT, WINFUT
Posts: 334 since Jun 2014
Thanks Given: 1,318
Thanks Received: 226


Scottiep View Post
Is there a .zip file for this keltner channel for NT 8? I do not see one. thanks!! Scottiep

I did a quick search at download area

Searching for entries matching keltner, looking in title and description, keywords for any words
Found 31 matching entries

Reply With Quote




Last Updated on March 22, 2021


© 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