Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

The best Heiken Ashi implementation I have seen!!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #91
    Hi I am looking at the original code of the Heiken Ashi Smooth from MetaTrader and noticed that they have 4 Moving Averages Method Types,

    //ma_method Moving Average methods enumerations
    //MODE_SMA 0 Simple moving average,
    //MODE_EMA 1 Exponential moving average,
    //MODE_SMMA 2 Smoothed moving average,
    //MODE_LWMA 3 Linear weighted moving average.

    And so I am carefully taking apart the Ninja Trader 7 Heiken Ashi Smooth code that was so kindly done (Thank you) and noticed that I am not seeing moving average type 3, Linear Weighted Moving Average.

    Am I missing something or is that represented with a different name?

    Also, as I am still very new to Ninja Trader 7 coding, could someone give me a hand with commenting this Heiken Ashi Smooth code? I have problems with understanding the second section

    if (CurrentBar == 0)
    {
    Values[0].Set(0);
    Values[1].Set(0);
    Values[2].Set(0);
    Values[3].Set(0);

    ExtMapBuffer5.Set(Open[0]);
    ExtMapBuffer6.Set(Close[0]);
    ExtMapBuffer7.Set(High[0]);
    ExtMapBuffer8.Set(Low[0]);
    return;
    }

    etc.. ???

    Thanks

    David

    Comment


      #92
      is there a N7 version of this ?

      Comment


        #93
        Has this Heiken Ashi been converted to NT 8 yet? Any link would be helpful.

        Thanks!
        Chris

        Comment


          #94
          The Heiken Ashi is available in NinjaTrader 8 as a Bars Type and in NinjaTrader 7 as an indicator.

          There is in fact a NinjaTrader 8 indicator version as well at the following link: http://www.ninjatrader.com/support/f...d=7&linkid=730

          Comment


            #95
            Originally posted by Elliott Wave View Post


            For those that know how to convert MetaTrader indicators to NT I think this one is DEFINITELY worth it.

            Although a proper conversion about would be optimal, found very little side effects I'd like to mention phenq GNC discounts in this 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 to on this phenq blog the bar is blue, when below its red etc..

            Just what I needed. Thank you so much for youe share, going to try it just now.
            Last edited by ErnestByers; 10-25-2023, 01:06 PM.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by kevinenergy, 02-17-2023, 12:42 PM
            115 responses
            2,699 views
            1 like
            Last Post kevinenergy  
            Started by prdecast, Today, 06:07 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by Christopher_R, Today, 12:29 AM
            1 response
            14 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by chartchart, 05-19-2021, 04:14 PM
            3 responses
            577 views
            1 like
            Last Post NinjaTrader_Gaby  
            Started by bsbisme, Yesterday, 02:08 PM
            1 response
            15 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X