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 DJ888, 04-16-2024, 06:09 PM
            4 responses
            12 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by terofs, Today, 04:18 PM
            0 responses
            8 views
            0 likes
            Last Post terofs
            by terofs
             
            Started by nandhumca, Today, 03:41 PM
            0 responses
            6 views
            0 likes
            Last Post nandhumca  
            Started by The_Sec, Today, 03:37 PM
            0 responses
            3 views
            0 likes
            Last Post The_Sec
            by The_Sec
             
            Started by GwFutures1988, Today, 02:48 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Working...
            X