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

Slow Stoch & Standard Dev

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

    Slow Stoch & Standard Dev

    Hello,

    Does NT have SlowStoch? I didn't see it. Also how would you go about making a standard deviation (1) channel around a 10 period moving average? Thanks!

    #2
    Hi ericadam,

    The regular Stochastics indicator is the slow stoch. You can make the standard deviation channel through custom indicator programming. You can use the StdDev() on an EMA or SMA DataSeries and plot the values to get the channels.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks, can you shed some light on a reference for plotting the values in a line on screen when i goto use a custom script. ty

      Comment


        #4
        if (Stochastics(7,10,3).PeriodD > Stochastics(7,10,3).PeriodK)
        BarColor = Color.Green;
        else if (Stochastics(7,10,3).PeriodK > Stochastics(7,10,3).PeriodD)
        BarColor = Color.Red;
        Plot0.Set(Close[0]);



        For that code, I am getting all red bars. Any suggestions?

        Comment


          #5
          Please take a look at the Help Guide for some tutorials on how to program custom indicators.

          In terms of your code, you will want to first look for any errors. Then you will want to debug your code as per this tip: http://www.ninjatrader-support.com/v...ead.php?t=3418
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Ok. Has someone already created standard deviation bands for NT?

            Comment


              #7
              I do not recall of any, but you can try searching in the File Sharing section.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                Originally posted by ericadam View Post
                Ok. Has someone already created standard deviation bands for NT?
                Hi ericadam,
                could you please clarify what you mean by "Standard Deviations Bands" ?

                The normal Bollinger Bands might be what you're looking for...Stdev plotted around a SMA.
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by GussJ, 03-04-2020, 03:11 PM
                16 responses
                3,281 views
                0 likes
                Last Post Leafcutter  
                Started by WHICKED, Today, 12:45 PM
                2 responses
                19 views
                0 likes
                Last Post WHICKED
                by WHICKED
                 
                Started by Tim-c, Today, 02:10 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Taddypole, Today, 02:47 PM
                0 responses
                5 views
                0 likes
                Last Post Taddypole  
                Started by chbruno, 04-24-2024, 04:10 PM
                4 responses
                53 views
                0 likes
                Last Post chbruno
                by chbruno
                 
                Working...
                X