anaKeltnerUniversal > anaKeltnerUniversal....How? - NinjaTrader Programming | futures.io
futures.io futures trading


anaKeltnerUniversal > anaKeltnerUniversal....How?
Started: by KrazyTrader Views / Replies:292 / 6
Last Reply: Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

anaKeltnerUniversal > anaKeltnerUniversal....How?

  #1 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 43 since Aug 2013
Thanks: 49 given, 3 received

anaKeltnerUniversal > anaKeltnerUniversal....How?

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
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,539 since Mar 2010
Thanks: 4,215 given, 24,930 received



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)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 43 since Aug 2013
Thanks: 49 given, 3 received


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
Reply With Quote
 
  #5 (permalink)
Trading Apprentice
Gomel + Belarus
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: NQ, CL
 
Posts: 18 since Sep 2015
Thanks: 3 given, 9 received

Futures Edge on FIO

Which products do you trade?

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

Reply With Quote
 
  #6 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,539 since Mar 2010
Thanks: 4,215 given, 24,930 received


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
The following user says Thank You to Fat Tails for this post:
 
  #7 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 43 since Aug 2013
Thanks: 49 given, 3 received


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
Reply With Quote

Reply



futures.io > > > > > anaKeltnerUniversal > anaKeltnerUniversal....How?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not making enough money in trading -----> Looking for a job>>PLEASE HELP!! AshleyQueenTrader Off-Topic 23 July 25th, 2016 11:56 PM
Every single business process in a trading firm/business>>> budfox The Elite Circle 6 July 11th, 2015 09:23 PM
CLICK HERE if you are landlord>>> Creditor trying to garnish my precious rent budfox Off-Topic 16 May 12th, 2014 12:25 PM
ACD System>>>A & C Values for the ES budfox Index Futures Trading 3 October 28th, 2013 05:20 PM
Difference in simulator trading the ES and live trading with a small account>>> budfox Traders Hideout 8 July 6th, 2013 11:59 PM


All times are GMT -4. The time now is 10:29 PM.

no new posts
Page generated 2017-01-22 in 0.12 seconds with 19 queries on phoenix via your IP 54.211.179.232