Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

MACD Hybrid question

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

    MACD Hybrid question

    In 2003, Appel came up with a variation on his MACD. He just subtracted the fast line from the slow line to create Line1. Then he took and EMA of that for Line2. I don't code in C# (yet) so I was wondering if anyone had seen this in C# or NinjaScript anywhere?

    Thanks

    #2
    Hello shortski,

    Welcome to the NinjaTrader forums!

    Hopefully another community member can create this indicator for you.

    As discussed in email, you may also consider a NinjaScript consultant to code for you:


    With NinjaTrader 7, you can specify other indicators as your input series. You can apply an EMA to MACD without custom coding.
    See here for help working with indicators in NinjaTrader 7.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Yes, I am just learning basic C# right now but overall, this is just a mathematical adjustment to existing code so I am thinking it probably exists somewhere already.

      Comment


        #4
        Here is the simple conversion of the standard MACD to do what you want. NT6.5 version.

        Dan
        Attached Files
        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        Comment


          #5
          Thanks Dan. I have Ninja 7 so will this self-convert or would it mess up when I tried to compile? Or maybe I have to do something else to it?

          Comment


            #6
            I just tried importing into NT7 and it works fine. When asked if you want to replace EMA, just say no to be safe (I don't know if it would overwrite the NT7 version or not). You might then want to export it to have it include the correct EMA file.

            Dan
            eDanny
            NinjaTrader Ecosystem Vendor - Integrity Traders

            Comment


              #7
              Thank you for offering this, Dan!
              Ryan M.NinjaTrader Customer Service

              Comment


                #8
                Perhaps you can answer what I was wondering about. Would a NT6.5 indicator overwrite a system indicator in NT7?

                Dan
                eDanny
                NinjaTrader Ecosystem Vendor - Integrity Traders

                Comment


                  #9
                  Perfect. Thanks Dan. That is exactly what I was looking for. Now I just have to learn C# to give back to the community.

                  Cheers

                  Shortski

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Irukandji, Today, 05:50 AM
                  0 responses
                  2 views
                  0 likes
                  Last Post Irukandji  
                  Started by ageeholdings, Today, 05:22 AM
                  0 responses
                  6 views
                  0 likes
                  Last Post ageeholdings  
                  Started by llanqui, 04-28-2024, 10:32 AM
                  2 responses
                  18 views
                  0 likes
                  Last Post llanqui
                  by llanqui
                   
                  Started by DroneBlackCa, Today, 05:17 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post DroneBlackCa  
                  Started by tradingnasdaqprueba, 04-09-2024, 09:52 AM
                  7 responses
                  50 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Working...
                  X