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

we need indicators !!!

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

    we need indicators !!!

    dear forum I try to use NT and replace TS but NT is very poor on indicators.
    I ask someone to help and he wanted 200 USD for each !!
    I prefer to stay with TS !!! or you would try to stick with NT.

    #2
    Elmi . . . it would be helpful if you could tell us more about what indicators you are interested in and whether 1) the indicator is missing altogether in NT or 2) it exists but is missing certain functionality relative to what you are use to working with. IMHO, Ninja has some very rich and compelling features that may be very useful to you and worth your consideration (and patience) while the suite of indicators gets filled out.

    Regards,

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    Comment


      #3
      Elmi,

      I agree, NT is limited in indicators compared to TS. I am very good at writing indicators in TS Easy Language, but Ninja Script is very hard if you are not a programmer by profession. I am a trader and want to write my own indicators without having someone to translate my code. I have had a few indicators translated and they were very expensive to get this done so I probably want do that again. I can write simple indicators in Ninja Script, but I am talking about the ones that you really want to trade with that are easy in TS, but not in Ninja. I think Ninja should rethink their language that they use. If you are like me you are a Trader first and then a programmer, with Ninja Script you need to be programmer first and then a trader. They also need some better instructions on writing indicators with their code if they continue with Ninja Script. The examples they show are easy indicators that most people don't trade with anyway. They need some real classes with their best programmers helping us.

      Comment


        #4
        Thanks for your suggestions. We will be offering training courses later this year.

        I am curious what indicators you feel are missing? When I look at what TS has for indciators, we have a lot more! We have been adding programming features as the demand is known, so if there is something you would like to see, please state what they are.

        Thanks in advance.
        RayNinjaTrader Customer Service

        Comment


          #5
          Ray,

          What you are missing is that are 100's of indicators that you can find for TS. Some that are written by some really great traders, but you google for Ninja indicators there are very view. I write indicators that draw trendlines like the gartley patterns and triangle pivot intercepts and indicators that are time adjusted and dynamiclly cycle adjusted. Fairly easy in TS, but I have pulled my hair out with Ninja Script trying to write the same indicators. I have been a futures trader for over 28 years and your language is very hard for us that are pure traders, not programmers. Sure I can write easy moving average and double stoch indicators in your language, but the indicators that I really trade with that are dynamic and self adjusting are beyond any examples that I have seen.

          I also tried using someone to translate some of them and they are too expensive and they could never get them to work like they do in Trade Station. I really like your platform for order entry, but your programming is too difficult unless you soon start to offer some real classes in Ninja Script and I don't mean just simple indicators.

          You asked for us to state what we really want. Either some really good classes on Ninja Script or someone that can translate our code for a reasonable price.
          Last edited by OUFan; 06-30-2007, 02:09 PM.

          Comment


            #6
            Thanks for the clarification. There is a growing base of 3rd party indicators for NinjaTrader. Rome for sure was not built in a day. We are only a few months after the production release of NT 6.0. Please be patient and give us some time as the NinjaTrader ecosystem grows.
            RayNinjaTrader Customer Service

            Comment


              #7
              I am a programmer first and trader second. If someone wants to give me some indicators to translate into Ninjascript I'll give it a go for free if I can use them too.

              Comment


                #8
                Indicators

                I am a engineer first and a trader second, and i dabble in programming.

                I have been working all day on trying to convert a Amibroker indicator in NT. Still working on it, but still too many compile errors :-)
                It is a public indicator called REI from Thomas DeMark.

                The AFL code is:
                HighMom = H - Ref( H, -2 );
                LowMom = L - Ref( L, -2 ); Cond1 = ( H >= Ref( L,-5) OR H >= Ref( L, -6 ) );
                Cond2 = ( Ref( H, -2 ) >= Ref( C, -7 ) OR Ref( H, -2 ) >= Ref( C, -8 ) );
                Cond3 = ( L <= Ref( H, -5 ) OR L <= Ref( H, -6) );
                Cond4 = ( Ref( L, -2 ) <= Ref( C, -7 ) OR Ref( L, -2 ) <= Ref( C, -8 ) );
                Cond = ( Cond1 OR Cond2 ) AND ( Cond3 OR Cond4 );
                Num = IIf( Cond, HighMom + LowMom, 0 );
                Den = Abs( HighMom ) + Abs( LowMom );
                TDREI = 100 * Sum( Num, 5 )/Sum( Den, 5 ) ;
                graph0 = TDREI;


                Any help conventing this to NT would be greatly appreciated.

                Comment


                  #9
                  Sure, send me what you have and a screenshot of what its supposed to look like.

                  I've converted numerous TradeStation indicators, no AmiBroker ones yet.

                  Comment


                    #10
                    The mql code here is more readable for translation I think :

                    Hi, anyone can convert this in ea. (only a ea based in this,no filter or another indicator) i use this in the manual trade and i have excellent results. Hello, very interesting this indicator, it is true that in ea would be excellent. Thx, hi , really,this indicator is very good

                    Comment


                      #11
                      Indicators

                      The original link is:

                      Comment


                        #12
                        Well it complies now, it just doesn't plot anything :-)

                        protected override void Initialize()
                        {
                        Add(new Plot(Color.Orange, PlotStyle.Line, "PlotREI"));
                        Add(new Line(Color.DarkOliveGreen, 70, "Overbought"));
                        Add(new Line(Color.Magenta, 30, "Oversold"));
                        CalculateOnBarClose = true;
                        Overlay = false;
                        PriceTypeSupported = false;
                        cond = false;
                        cond1 = false;
                        cond2 = false;
                        cond3 = false;
                        cond4 = false;
                        TDREI = new DataSeries(this);
                        highmom = 0;
                        lowmom = 0;
                        num = new DataSeries(this);
                        den = new DataSeries(this);

                        }

                        /// <summary>
                        /// Called on each bar update event (incoming tick)
                        /// </summary>
                        protected override void OnBarUpdate()
                        {
                        // Use this method for calculating your indicator values. Assign a value to each
                        // plot below by replacing 'Close[0]' with your own formula.

                        highmom = (High[0]-High[2]);
                        lowmom = (Low[0]-Low[2]);

                        cond1 = ( High[0] >= Low[5]) || (High[0] >= Low[6] );
                        cond2 = ( High[2] >= Close[7] || High[2] >= Close[8] );
                        cond3 = ( Low[0] <= High[5] || Low[0] <= High[6] );
                        cond4 = ( Low[2] <= Close[7] || Low[2] <= Close[8] );

                        cond = ( cond1 || cond2 ) && ( cond3 || cond4 );

                        num.Set( cond ? highmom + lowmom : 0 );
                        den.Set( Math.Abs(highmom) + Math.Abs(lowmom) );

                        TDREI.Set( 100 * ( SUM(num, period)[0] / SUM(den, period)[0] ) );

                        PlotREI.Set(TDREI[0]);
                        }

                        Comment


                          #13
                          If you check your log tab, likely an error "Index out of bounds..."

                          try adding as the first line in the OnBarUpdate() method:

                          if (CurrentBar < 8)
                          return;

                          Reason is, you are accessing "bars ago" values for bars that does not yet exist on the chart as you move from left to right.
                          RayNinjaTrader Customer Service

                          Comment


                            #14
                            REi Indicator

                            Ok, here is my attempt. Perhaps someone can verify it against another platform.
                            Attached Files

                            Comment


                              #15
                              Indicators

                              It worked,
                              Thanx much Ray, first day on NT here, I am as green as they get :-)

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by trilliantrader, Today, 08:16 AM
                              2 responses
                              6 views
                              0 likes
                              Last Post trilliantrader  
                              Started by samish18, Today, 08:31 AM
                              1 response
                              1 view
                              0 likes
                              Last Post NinjaTrader_Clayton  
                              Started by Creamers, 09-08-2023, 10:26 AM
                              6 responses
                              157 views
                              0 likes
                              Last Post JonyGurt  
                              Started by funk10101, Today, 08:14 AM
                              1 response
                              2 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Started by bill2023, Yesterday, 08:51 AM
                              3 responses
                              22 views
                              0 likes
                              Last Post bltdavid  
                              Working...
                              X