![]() |
|
|||||||
| NinjaScript File Sharing Discussion Discussion for shared NinjaScript files. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
|
![]() For those that know how to convert MetaTrader indicators to NT I think this one is DEFINITELY worth it. Although a proper conversion would be optimal, I'd like to mention that the T3 slope value (positive/negative) gets really close to this as does MACD using 5,13 with a smooth of 1. When the plot is above zero the bar is blue, when below its red etc.. |
|
|
|
|
|
#2 |
|
Member
Join Date: Feb 2008
Posts: 47
Thanks: 0
Thanked 0 times in 0 posts
|
AFAIK, it is similar to MA cross, but I couldn't remember the exact parameters, someone in tsd have exposed it.
Other interpretation is using multiple timeframe, it looks nice in trending, but as you know what happened in ranging then. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2008
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
|
hi elliott,
there went on a discussion about the modheikenashi and a change from eld that is similar yours. I didn`t follow thoroughly but i think ben from affordable indicators did it. c. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jun 2008
Location: australia
Posts: 16
Thanks: 1
Thanked 0 times in 0 posts
|
Hi Elliot Wave,
My first post and 3rd day with the software so excuse any ignorance... I take it the cose posted was for MT as I tried importing it into NT without luck. Regards...
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Dec 2004
Location: , ,
Posts: 225
Thanks: 0
Thanked 11 times in 8 posts
|
My attempt at converting Heiken Ashi Smoothed to NT.
I used NT's HeikenAshi indicator as the base upon which to build this indicator. Th NT code was heavily modified based upon the MQ4 code that was attached in the 1st post. You have 12 different moving averages to choose from in calculating the indicator. Not sure about the plot. Since the NT version is based upon the HeikenAshi indicator, this indicator is plotted as the NT HeikenAshi indicator would be plotted. The MQ4 version would appear to plot as a histogram (AKA Bar in NT). Warning. I am not a MQ4 expert and I do not have any means of running MQ4 indicators. Therefore it is quite possible that my implementation is NOT correct. |
|
|
|
|
|
#6 |
|
Member
Join Date: Apr 2008
Posts: 99
Thanks: 0
Thanked 0 times in 0 posts
|
^^^ Thank you so much. Great job. I can't wait to use this
|
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
|
Thanks for converting this. It looks good. I'm trying to learn to do MQL to C# myself, so looking at this along side the original code should help...
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Sep 2008
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the great job!
I have compare HeikenAshi in MT4 and NinjiaTrader, everything is same but on NinjiaTrader it hiden Last Bar ( Bar[0] ) until next bar is formed, on every timeframe, NinjiaTrader less one bar compare to MT4. Would you fix this problem? |
|
|
|
|
|
#9 |
|
Member
Join Date: Sep 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
Just started working with this Indicator. I found the info on the HAMA PAD system to be very interesting. They display the actual price bars as well which really comes in handy.
Does anyone know how to modify this indicator to do that? I have tried changing all the settings in the Initialize area to no avail. |
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
|
Use the hide price option in the visual section of this version.
|
|
|
|
|
|
#11 |
|
Member
Join Date: Sep 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
Many thanks for the help. I am working on learning the programming...but I have along way to go.
Regards |
|
|
|
|
|
#12 |
|
Member
Join Date: Sep 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
I am wondering if you could run this indicator in the OnMarketUpdate Section and get it to plot the bar as it forms?
|
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
|
Try changing 'Calculate on Bar Close' to false. That might work.
|
|
|
|
|
|
#14 |
|
Member
Join Date: Sep 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
That does not seem to bring it up. If it is forming as the Market data is updated it would be changing similar to the price bars.
I have a feeling that it can not be done using the "draw tools" . But I am a novice to this so I will defer to the vetreans here. Thanks for your post |
|
|
|
|
|
#15 |
|
Member
Join Date: Sep 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
My apologies that does work. I jhad to reload the Indicator and set that switch at that time.
Learn something new everday |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bug: Ninja Trader very slow using Heiken Ashi | Currywurst | Charting | 6 | 07-20-2008 04:41 AM |
| Heiken Ashi | arilano | Strategy Development | 14 | 06-23-2008 12:18 PM |
| Strategy implementation | stefy | Strategy Development | 1 | 06-03-2008 02:37 PM |
| Heikin-Ashi Candle technique Help to CREATE!! | akwonline | Indicator Development | 4 | 03-04-2008 08:07 AM |
| Using Heinkin ashi indicator in strategy | latkinso | Strategy Development | 1 | 01-08-2008 06:56 AM |