Help w/ Keltner from TradeStation to NT7 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Help w/ Keltner from TradeStation to NT7
Updated: Views / Replies:4,069 / 15
Created: by bluemele Attachments:2

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

Reply
 2  
 
Thread Tools Search this Thread
 

Help w/ Keltner from TradeStation to NT7

  #11 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


bluemele View Post
Ok, so here is a perfect example of how they are different. I don't know if my settings are correct, but for TS they are the default and for NT they are 2,52

I hope this explains on the differences between the default keltner in Ninja and this one.

This does not look difficult. The original Keltner Channels, which are correctly implemented by NinjaTrader, use a simple moving average applied to the typical price for the centerline, and then add/subtract a multiple of the simple moving average of the range to it.

From your TradeStation chart I can see that the moving average tracks price more closely, so it is likely that it uses an EMA. Also I suppose that it uses the average true range. This is a version of the Keltner Channels that was also used by Linda B. Raschke.

To make it simple: Try the Universal Keltner Channels which can be downloaded here

https://futures.io/free_downloads/ninjatrader-7/indicators/625-download.html?view

Now the settings: Try the settings as shown per screenshot below. Use EMA for both centerline and smoothing of average true range. Bandfactor needs to be set to 3.5, use the average true range, not the simple range. The screenshot shows a period of 52 for both center line and average true range. Not sure about this, you can reduce the period for the center line to 34 and play with the period of the average true range to match your TradeStation settings.

However, the Universal Keltner Channels indicator always calculates the centerline from the typical price, while the tradestation indicator has an option to use close or mean instead. But this only has a minor impact. So it is very likely that you can rebuild your tradestation indicator with the right settings.

Attached Thumbnails
Help w/ Keltner from TradeStation to NT7-screenshot.png  
Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #12 (permalink)
Elite Member
Honolulu, Hawaii
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: ATC/TT, AMP/Zen-Fire, AMP/CQG
Favorite Futures: TF
 
bluemele's Avatar
 
Posts: 2,547 since Jun 2010
Thanks: 3,806 given, 2,826 received


Fat Tails View Post
This does not look difficult. The original Keltner Channels, which are correctly implemented by NinjaTrader, use a simple moving average applied to the typical price for the centerline, and then add/subtract a multiple of the simple moving average of the range to it.

From your TradeStation chart I can see that the moving average tracks price more closely, so it is likely that it uses an EMA. Also I suppose that it uses the average true range. This is a version of the Keltner Channels that was also used by Linda B. Raschke.

To make it simple: Try the Universal Keltner Channels which can be downloaded here

https://futures.io/free_downloads/ninjatrader-7/indicators/625-download.html?view

Now the settings: Try the settings as shown per screenshot below. Use EMA for both centerline and smoothing of average true range. Bandfactor needs to be set to 3.5, use the average true range, not the simple range. The screenshot shows a period of 52 for both center line and average true range. Not sure about this, you can reduce the period for the center line to 34 and play with the period of the average true range to match your TradeStation settings.

However, the Universal Keltner Channels indicator always calculates the centerline from the typical price, while the tradestation indicator has an option to use close or mean instead. But this only has a minor impact. So it is very likely that you can rebuild your tradestation indicator with the right settings.

Awesome, thanks, I will give it a try!!!


Reply With Quote
 
  #13 (permalink)
Elite Member
Honolulu, Hawaii
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: ATC/TT, AMP/Zen-Fire, AMP/CQG
Favorite Futures: TF
 
bluemele's Avatar
 
Posts: 2,547 since Jun 2010
Thanks: 3,806 given, 2,826 received


That worked to be very close.

I now noticed that the close of bars for tradestation and ninja are not the same. I see that in Forex, but interesting to see their datafeeds differ as well on close of bars.

Thanks again you have been a big help!

Reply With Quote
 
  #14 (permalink)
Elite Member
Quebec
 
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/CQG
Favorite Futures: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,697 since Oct 2009
Thanks: 3,041 given, 4,497 received


bluemele View Post
That worked to be very close.

I now noticed that the close of bars for tradestation and ninja are not the same. I see that in Forex, but interesting to see their datafeeds differ as well on close of bars.

Thanks again you have been a big help!

This is normal behavior with tick interval. Try a minute interval and they should be the same. Even two Ninja users with the same data provider could have different closes depending on the opening time of the first bar.

Trader 1 uses 5 ticks/bar, Trader 2 uses 5 ticks/bar
Trader 1 starts at 8:00:00, Trader 2 starts at 8:00:30

Trader 1: 1234(5)1234(5)1234(5)1234(5)1234(5)1234(5)1234(5)
____Trader 2: 1234(5)1234(5)1234(5)1234(5)1234(5)1234(5)1

Reply With Quote
The following user says Thank You to trendisyourfriend for this post:
 
  #15 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


bluemele View Post
That worked to be very close.

I now noticed that the close of bars for tradestation and ninja are not the same. I see that in Forex, but interesting to see their datafeeds differ as well on close of bars.

Thanks again you have been a big help!

There may be several reasons:

- for FOREX there is no central exchange, so the datafeeds may be different

- for futures the exchange is identical, but the tick data may be filtererd for either NinjaTrader or TradeStation

- even if tick data is not filtered, the start time, for NinjaTrader definied by the session begin may have an impact

But the differences should be small, except for FOREX, where the data may come from different ECNs.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #16 (permalink)
Elite Member
Honolulu, Hawaii
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: ATC/TT, AMP/Zen-Fire, AMP/CQG
Favorite Futures: TF
 
bluemele's Avatar
 
Posts: 2,547 since Jun 2010
Thanks: 3,806 given, 2,826 received


trendisyourfriend View Post
This is normal behavior with tick interval. Try a minute interval and they should be the same. Even two Ninja users with the same data provider could have different closes depending on the opening time of the first bar.

Trader 1 uses 5 ticks/bar, Trader 2 uses 5 ticks/bar
Trader 1 starts at 8:00:00, Trader 2 starts at 8:00:30

Trader 1: 1234(5)1234(5)1234(5)1234(5)1234(5)1234(5)1234(5)
____Trader 2: 1234(5)1234(5)1234(5)1234(5)1234(5)1234(5)1

Wow, interesting, learning something nice every day!

Thanks to you and FatTails!

Reply With Quote

Reply



futures io > > > > > Help w/ Keltner from TradeStation to NT7

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
TradeStation and C# jdfagan TradeStation 9 October 9th, 2014 11:28 PM
Keltner Bands indicator cory The Elite Circle 21 November 15th, 2012 04:31 PM
Keltner kiasom EasyLanguage Programming 2 November 17th, 2010 03:01 PM
NT7, gompackage1.3b connection to tradestation bryantt NinjaTrader Programming 5 October 29th, 2010 08:24 AM
Coloured Keltner Bands Alan NinjaTrader 2 June 27th, 2009 03:39 AM


All times are GMT -4. The time now is 09:14 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-16 in 0.15 seconds with 20 queries on phoenix via your IP 54.83.122.227