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

Carter's indicator: TTM trend

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

    Carter's indicator: TTM trend

    Hello everybody,

    I would like to implement the TTM trend indicator into NT. But I have only the Metatrader 4 programming. I really do not know the Metatrader 4 programming . So, may I request you to translate this MT4 code into a NT code ?

    I really thank you very much in advance for your help and support.

    You will find attached the MT4 code.


    Best regards,
    Fcetrader
    Attached Files

    #2
    TTM is developing indicators on their own. You will most likely be able to purchase when they decide to release it to the public.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I agree with you, but in my case, I have the indicator already written for Metadrader, so the code is public !. I only request a re-coding for NT.
      Do you really think it is not possible ?

      Best regards,

      Fcetrader

      Comment


        #4
        It is possible but NinjaTrader will not assist in this.
        RayNinjaTrader Customer Service

        Comment


          #5
          If anyone is up to the challange, can someone port this code from TS to NT for this 'modified HA technique'.

          ModHA PaintBarStudy 1/20/04

          modified Heikin-Ashi technique

          compares current bar open to close range with prior bars...if current is within prior then color remains the same

          Taken from https://www.tradestation.com/Discuss...Topic_ID=22399



          } inputs: CompBars(6), UpColor(Blue), DnColor(Red), BarWidth(1);

          vars: haClose(0), haOpen(0), color(0);

          if BarNumber = 1 then
          begin
          haOpen = open;
          haClose = (O+H+L+C)/4;
          end;

          if BarNumber > 1 then
          begin
          haClose = (O+H+L+C)/4;
          haOpen = (haOpen [1] + haClose [1])/2 ;

          { .................................................. .............................. }

          if haClose > haOpen then color = UpColor
          else color = DnColor;

          for value1 = 1 to CompBars
          begin
          if haOpen <= MaxList(haOpen[value1],haClose[value1]) and
          haOpen >= MinList(haOpen[value1],haClose[value1]) and
          haClose <= MaxList(haOpen[value1],haClose[value1]) and
          haClose >= MinList(haOpen[value1],haClose[value1]) then
          color = color[value1];

          end;

          { .................................................. .............................. }

          // plotPB(haOpen,haClose,"heikin-ashi",color);
          plotPB(High,Low,"heikin-ashi",color);
          SetPlotWidth(1,BarWidth);
          SetPlotColor(1,color);

          end;
          { .................................................. .............................. }

          Comment


            #6
            Please search the File Sharing section for ModHA. I believe there are a few already made.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Perfect.. Just what i needed.. Thanks

              Comment


                #8
                Lol

                Originally posted by NinjaTrader_Josh View Post
                TTM is developing indicators on their own. You will most likely be able to purchase when they decide to release it to the public.

                LOL if you call changing parms on an existing indicator Developing Indicators you are right.. but it's my experience they FIND indicators they like, put in their own parms add TTM to the front of whatever they call it and sell it for way too much money..

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by mattbsea, Today, 05:44 PM
                0 responses
                4 views
                0 likes
                Last Post mattbsea  
                Started by RideMe, 04-07-2024, 04:54 PM
                6 responses
                31 views
                0 likes
                Last Post RideMe
                by RideMe
                 
                Started by tkaboris, Today, 05:13 PM
                0 responses
                2 views
                0 likes
                Last Post tkaboris  
                Started by GussJ, 03-04-2020, 03:11 PM
                16 responses
                3,282 views
                0 likes
                Last Post Leafcutter  
                Started by WHICKED, Today, 12:45 PM
                2 responses
                20 views
                0 likes
                Last Post WHICKED
                by WHICKED
                 
                Working...
                X