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

New User Woes

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

    #91
    but a stratey can access "outside" sources right??

    Comment


      #92
      That is correct.
      RayNinjaTrader Customer Service

      Comment


        #93
        just incase you guys may have forgot but the 6.5 release still hasnt fixed the issue in the wizard with the total. alltrades error discussed earlier in this thread, i tried using it tonight and still has the error, so one would have to code manually, which means unlocking the code which means goodbye to wizard

        Comment


          #94
          Could you please add a link to which issue you are referring to? Thanks

          Comment


            #95
            Post #62 in this thread, sorry not shure how to link it

            Comment


              #96
              >> "Ninjatrader.Strategy.TrdeCollection' does not conatin a definition for "Performance'
              This bug will be fixed with next update of NT6.5. Thanks for reporting.

              that was posted by dierk,

              thanks for the fast reply, it be sweet to get this to work without unlocking code, i am shure others would love it also

              Comment


                #97
                Not sure about the confusion. As by my post #63 this issue will be fixed with next 6.5 update which is not out yet, but should be later on this week.

                Comment


                  #98
                  oh i aplologise, i thought that when 6.5 got officially released last week or so it had the update, i apologize, and cant wait for the update. thanks again for all the hard work

                  Comment


                    #99
                    If i wanted to use tha ADX and look for higher lows, as in eliminate the fact the adx is not smooth what would i use for code,

                    if i use

                    ADX(14) [0] > ADX(14) [1]

                    it works fine to show me its increasing , but there are always dips and i am trying to elimate that

                    Comment


                      Then you will have to think out of the box to find some mathematicaly way to express the desired pattern you are looking for.
                      RayNinjaTrader Customer Service

                      Comment


                        hmmm thanks Ray, i will look into the math that smooths ma's and see if i can come up with something

                        Comment


                          Hi guys,

                          I am having issues with using negative numbers, I am using teh slope function with this code

                          protectedoverridevoid OnBarUpdate()
                          {
                          if ( CurrentBar < 5) return;
                          double degrees = 0;

                          degrees = ((
                          180/Math.PI) *(Math.Atan(Slope(EMA(Period),5,0))));
                          //Highs
                          if (degrees >= (longdegree))
                          DOTSSETTING.Set(
                          1);
                          elseif (degrees <= (shortdegree))
                          DOTSSETTING.Set(-
                          1);
                          else
                          DOTSSETTING.Set(0);


                          The problem is the line with short degrees, it is set to -10, but some how it is not using -10 as the threshold. In fact on the chart it shows 10,34,1 10 being teh threshold for positive degrees, 34 being the period of the ema used, and i duno why the chart says 1, but it is definetly using 1 instead of -10, even though in the settings it says -10

                          Comment


                            I think I got it

                            i had the math.max set to 1 i canged it and now everything seems fine

                            [Description("Short Degree Setting")]
                            [Category(
                            "Parameters")]
                            publicint Shortdegree
                            {
                            get { return shortdegree; }
                            set { shortdegree = Math.Max(-60, value); }

                            Comment


                              If i wanted to acces the last sale, as in the last sale is higher than the prior bars close. Do i use the bid or ask funtion, i am curious if tehre is a last sale function.

                              Comment


                                if (Close[0] > High[1])

                                Close == last trade
                                RayNinjaTrader Customer Service

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by alifarahani, Today, 09:40 AM
                                6 responses
                                36 views
                                0 likes
                                Last Post alifarahani  
                                Started by Waxavi, Today, 02:10 AM
                                1 response
                                17 views
                                0 likes
                                Last Post NinjaTrader_LuisH  
                                Started by Kaledus, Today, 01:29 PM
                                5 responses
                                14 views
                                0 likes
                                Last Post NinjaTrader_Jesse  
                                Started by Waxavi, Today, 02:00 AM
                                1 response
                                12 views
                                0 likes
                                Last Post NinjaTrader_LuisH  
                                Started by gentlebenthebear, Today, 01:30 AM
                                3 responses
                                17 views
                                0 likes
                                Last Post NinjaTrader_Jesse  
                                Working...
                                X