Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Premier stochastic osc

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

    Premier stochastic osc

    Where can I download this indi. ? I hear its available for NT
    . As mentioned in the SC08 August .

    Thks for directions

    #2
    It will be available in the Indicator sub-sectino of the File Sharing area by tomorrow.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks

      Thank you NT Ray for the reply and good news.

      have a great week ahead.

      Cheers

      Comment


        #4
        Problem adding 1 pip to High & low

        I am using this code below and have avariable set called newTp and another called newBt which I am setting manully when I open the strategy to be the high and low of the last 5 minute bar, and boxsize is set at 1 pip, However when I print out the results if the High is greater than newTp it should add 1 pip to the value of newTp but in fact it is adding 1 pip to the highest high of the whole chart. (This is actually what I was looking for earlier but I cannot see why it is doing it?) Nor can I get it to do what I actually want in this instance and just add 1 pip to the new high. Please help! This is running on a 5 minute GBPUSD chart

        protectedoverridevoid OnBarUpdate() {

        if (High[0]>=(newTp+boxSize)) {
        newTp = High[
        0];
        }


        if (Low[0]<=(newBt-boxSize)) {
        newBt = Low[
        0];
        }
        These are my print statements which shows the results, and NewTop and NewBottom do calculate the correct figures but newTp and newBt do not, I am very puzzeled ?? I have also attached the actual startegy if you want to run it to see what I mean. Help!!

        Print((newTp+boxSize));
        Print((newBt-boxSize));
        Print(
        "High" + High[0]); Print(
        "Low" + Low[0]); Print(
        "Boxsize" + boxSize); Print(
        "Box3" + (boxSize*3)); Print(
        "NewTop" + (High[0] + 0.0001)); Print(
        "NewBottom" + (Low[0] -0.0001));
        Attached Files

        Comment


          #5
          Can you please start a new thread and repost your question in the Strategy Development section. Thanks
          RayNinjaTrader Customer Service

          Comment


            #6
            New post

            Where is the New Post? I can't seem to find it anywhere!

            Comment


              #7
              Please create a new thread for your post instead of placing your question in an existing unrelated thread.

              Thanks
              RayNinjaTrader Customer Service

              Comment


                #8
                Can we get the strategy code here as well?

                I noticed the strategy code also in the aug edition. However i dont see it available for download. Anyway you could make that happen?

                Thanks

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by DJ888, 04-16-2024, 06:09 PM
                6 responses
                18 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by Jon17, Today, 04:33 PM
                0 responses
                1 view
                0 likes
                Last Post Jon17
                by Jon17
                 
                Started by Javierw.ok, Today, 04:12 PM
                0 responses
                6 views
                0 likes
                Last Post Javierw.ok  
                Started by timmbbo, Today, 08:59 AM
                2 responses
                10 views
                0 likes
                Last Post bltdavid  
                Started by alifarahani, Today, 09:40 AM
                6 responses
                41 views
                0 likes
                Last Post alifarahani  
                Working...
                X