Heiken Ashi Smoothed for Ninja Trader ? - NinjaTrader Programming | futures.io
futures.io futures trading


Heiken Ashi Smoothed for Ninja Trader ?
Started: by sergentpepper7 Views / Replies:8,061 / 43
Last Reply: Attachments:13

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
 13  
 
Thread Tools Search this Thread
 

Heiken Ashi Smoothed for Ninja Trader ?

  #1 (permalink)
Elite Member
vancouver.bc
 
Futures Experience: Beginner
Platform: ninja trader
Favorite Futures: tf
 
Posts: 6 since Oct 2010
Thanks: 47 given, 1 received

Heiken Ashi Smoothed for Ninja Trader ?

hi, this is my first post. I'd like to start by saying thanks to Big Mike and all the contributors to this forum/site. The information we have access in here is simply amazing and priceless.

Since I'm still a newbie, I don't feel I have a lot to say that can help other traders, except for this : the best Heiken Ashi indicator I've seen so far. "Heiken Ashi Smoothed" is originally from Meta Trader but was 'coded' for Ninja Trader. I love the parameters, it gives you lots of control over this indicator. However, this indicator only works on "calculate on bar close = true". When you try to run it live, the results are very different from what you see on historical charts. Since I'm not a programmer at all, can someone look at code and see if this indicator can 'update' live ( calculate on bar close = false ) ?


Thanks !

Attached Files
Register to download File Type: zip HeikenAshiSmoothed_NT70.zip (27.7 KB, 296 views)
Reply With Quote
The following user says Thank You to sergentpepper7 for this post:
 
  #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
Germany
 
Futures Experience: Intermediate
Platform: FlatTrader
Broker/Data: GFT and Interactive Brokers
Favorite Futures: ES, DAX
 
Posts: 527 since Aug 2010
Thanks: 2,111 given, 714 received



sergentpepper7 View Post
hi, this is my first post. I'd like to start by saying thanks to Big Mike and all the contributors to this forum/site. The information we have access in here is simply amazing and priceless.

Since I'm still a newbie, I don't feel I have a lot to say that can help other traders, except for this : the best Heiken Ashi indicator I've seen so far. "Heiken Ashi Smoothed" is originally from Meta Trader but was 'coded' for Ninja Trader. I love the parameters, it gives you lots of control over this indicator. However, this indicator only works on "calculate on bar close = true". When you try to run it live, the results are very different from what you see on historical charts. Since I'm not a programmer at all, can someone look at code and see if this indicator can 'update' live ( calculate on bar close = false ) ?


Thanks !

Hi @sergentpepper7

I suggest you try @Fat Tails HeikenAshi bars. You will not find any better and you can download it from here: https://futures.io/download/ninjatrader-7/indicators/467-download.html?view

have fun!

Reply With Quote
The following 2 users say Thank You to Abde for this post:
 
  #4 (permalink)
Trading for Fun
College Point, NY (Queens)
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG
Favorite Futures: YM
 
Posts: 63 since Nov 2009
Thanks: 5 given, 20 received


sergentpepper7 View Post
hi, this is my first post. I'd like to start by saying thanks to Big Mike and all the contributors to this forum/site. The information we have access in here is simply amazing and priceless.

Since I'm still a newbie, I don't feel I have a lot to say that can help other traders, except for this : the best Heiken Ashi indicator I've seen so far. "Heiken Ashi Smoothed" is originally from Meta Trader but was 'coded' for Ninja Trader. I love the parameters, it gives you lots of control over this indicator. However, this indicator only works on "calculate on bar close = true". When you try to run it live, the results are very different from what you see on historical charts. Since I'm not a programmer at all, can someone look at code and see if this indicator can 'update' live ( calculate on bar close = false ) ?


Thanks !

It should be fine on live data. When you set "calculate on bar close = false", you're telling NT to calculate (i.e. run OnBarUpdate) on every tick. I believe "calculate on bar close = true" runs OnBarUpdate only at the close of a bar (which is what comprises historical data). You can run "calculate on bar close = true" with live data, but it will only run OnBarUpdate at the close of a bar. So for whatever reason, the author of this indicator only wants to run OnBarUpdate at the close of a bar. When running this indicator, keep "calculate on bar close = true" and maybe the historical and live data will run in a similar fashion.

Just a thought ... if you couldn't run an indicator on live data, it probably wouldn't be much of an indicator, would it ?


Last edited by kandlekid; February 1st, 2013 at 01:51 AM.
Reply With Quote
The following user says Thank You to kandlekid for this post:
 
  #5 (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

Update Smoothed Heikin-Ashi Bars

Futures Edge on FIO
I do not remember where I had posted the various versions for the Heikin-Ashi bars. This thread has the correct title, so it is now being hijacked.

Heikin-Ashi bars have been first published by Dan Valcu in the February 2004 issue of Technical Analysis of Stocks & Commodities. A modified version has been presented by Sylvain Vervoort in the November 2007 issue of Technical Analysis of Stocks & Commodities.

The anaHeikinAshi indicator comes with the following options

-> both Dan Valcu and Sylvain Vervoort formulas are availabe
-> additional smoothing is possible with 30 different moving averages
-> the trend is exposed as BoolSeries
-> original chart bars can be removed or maintained
-> Heikin-Ashi bars can be displayed on the price panel or a second panel
-> Open, High, Low & Close can be used as input series for other indicators or accessed by an automated strategy

The updated indicator can be found here:

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


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 13 users say Thank You to Fat Tails for this post:
 
  #6 (permalink)
Trading Apprentice
Perth Australia
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Oil
 
Posts: 1 since Jun 2013
Thanks: 3 given, 0 received

Open and Close

Hi there, I just wanted to ask Fat Tails if the barrs in the chart posted here with the Heiken Ashi Indicator encompass the whole PA (Open, High, Low, Close) that happen within the 10 min ?
I've tried to match with the chart for that day and it doesnt seem to match, I'm a newbie so this could be just a rookie mistake from me !
I'd appreciate your help.

Thanks


Last edited by tsscherer; January 28th, 2014 at 10:43 PM. Reason: clarification
Reply With Quote
 
  #7 (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


tsscherer View Post
Hi there, I just wanted to ask Fat Tails if the barrs in the chart posted here with the Heiken Ashi Indicator encompass the whole PA (Open, High, Low, Close) that happen within the 10 min ?
I've tried to match with the chart for that day and it doesnt seem to match, I'm a newbie so this could be just a rookie mistake from me !
I'd appreciate your help.

Thanks

@tsscherer: The Heikin-Ashi indicator allows you to display

(1) original Heikin-Ashi bars (formula Dan Valcu)
(2) modified Heikin-Ashi bars (formula Sylvain Vervoort)
(3) smoothed Heikin-Ashi bars (formula Dan Valcu)
(4) smoothed Heikin-Ashi bars (formula Sylvain Vervoort)

Heikin-Ashi bars which are not smoothed - that is cases (1) and (2) - cover the entire price action of the period which they represent. Smoothed Heikin-Ashi bars typically have their upper and lower shadows cut, which means that price action can be outside the range of the bar. Therefore smoothed Heikin-Ashi bars should be considered as indicator and not as bar type.

The answer to your question is "NO", because the above chart shows smoothed Heikin-Ashi bars.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #8 (permalink)
Elite Member
Budapest, Hungary
 
Futures Experience: Advanced
Platform: Windows 95
Favorite Futures: GC, CL
 
Yuri57's Avatar
 
Posts: 270 since Feb 2013
Thanks: 69 given, 99 received

@Fat Tails,

How can I set the barcharts to be displayed in grey, like in my MT4:

Thanks!

Attached Thumbnails
Heiken Ashi Smoothed for Ninja Trader ?-bundm15.png   Heiken Ashi Smoothed for Ninja Trader ?-fgbl-09-14-5-min-2014_06_20_.jpg  
Reply With Quote
 
  #9 (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


Yuri57 View Post
@Fat Tails,

How can I set the barcharts to be displayed in grey, like in my MT4:

Thanks!

Right-click the chart, select DataSeries. Under "Chart style" select "OHLC2, then set the colors for up and down bars to "Gray".

When you apply the anaHeikinAshi indicator, make sure that you set the option "Remove chart bars" to "False".

A sample chart is attached below.


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #10 (permalink)
Elite Member
Budapest, Hungary
 
Futures Experience: Advanced
Platform: Windows 95
Favorite Futures: GC, CL
 
Yuri57's Avatar
 
Posts: 270 since Feb 2013
Thanks: 69 given, 99 received



Fat Tails View Post
Right-click the chart, select DataSeries. Under "Chart style" select "OHLC2, then set the colors for up and down bars to "Gray".

When you apply the anaHeikinAshi indicator, make sure that you set the option "Remove chart bars" to "False".

A sample chart is attached below.

Thanks man, it looks much better now!

Just two more questions:
1) How do you set the blue session line which indicates both Frankfurt and London open & close? (Mine is just showing Frankfurt open)

2) Is there an indicator which would give me the ATR of the last 10 days, simply with 1 number? (See the MT4 pics I attached previously)
I'm also looking for an additiona indicator which would tell the current range in % for the given day (you can also see this in the MT4 pics)


Many, many thanks!

Yuri57

ps.: what are your settings for HAS? (Mine is VanDalcu, 7WMA)

Attached Thumbnails
Heiken Ashi Smoothed for Ninja Trader ?-fgbl-09-14-5-min-2014_06_20_.jpg  
Reply With Quote

Reply



futures.io > > > > > Heiken Ashi Smoothed for Ninja Trader ?

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
Heiken-ashi in Multicharts & Indicator plotting gonzofist MultiCharts 2 April 17th, 2014 11:52 AM
Heiken Ashi Colors RambleDog NinjaTrader 4 August 11th, 2013 06:20 PM
Heiken Ashi. Open & CLose dee50 NinjaTrader 3 August 30th, 2012 06:12 AM
Heiken-Ashi Day Trading Fool NinjaTrader 17 August 11th, 2012 08:51 PM
Heiken Ashi Problem in NT7 here max-td NinjaTrader 10 January 13th, 2011 02:06 PM


All times are GMT -4. The time now is 04:54 PM.

no new posts
Page generated 2017-01-23 in 0.16 seconds with 20 queries on phoenix via your IP 23.23.34.22