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 mmenigma, Today, 02:22 PM
            0 responses
            1 view
            0 likes
            Last Post mmenigma  
            Started by frankthearm, Today, 09:08 AM
            9 responses
            34 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by NRITV, Today, 01:15 PM
            2 responses
            9 views
            0 likes
            Last Post NRITV
            by NRITV
             
            Started by maybeimnotrader, Yesterday, 05:46 PM
            5 responses
            26 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by quantismo, Yesterday, 05:13 PM
            2 responses
            20 views
            0 likes
            Last Post quantismo  
            Working...
            X