Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

stochastic WMA

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

    stochastic WMA

    is there a stochastic indicator available for NT which uses a weighted moving average instead of a simple moving average?

    or, is it possible to edit the stochastic indicator in NT to use WMA instead of SMA?

    #2
    Hi politcat,

    Welcome to the NinjaTrader Support Forums.

    Please search the File Sharing section of the forums for any user posted code that may fit your requirements. If you do not find what you want, it is possible to edit it with custom coding. Just open up the code, change the appropriate regions you want to change, and then Save As with a new name. You will not be able to save over the system indicator.

    If you do not wish to touch the code yourself you can try one of the 3rd party NinjaScript Consultants here: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I searched "stochastic" and did not find anything with WMA

      thx!

      Comment


        #4
        I opened STOCHASTICS with "edit ninjascript" tool and I don't see anything in there indicating moving average type.

        also, most of the script is under this region:

        NinjaScript generated code. Neither change nor remove

        changes can't be saved.
        Last edited by politcat; 12-03-2008, 10:55 AM.

        Comment


          #5
          You need to do Save As and type in a new file name. You can't save over the system indicator.

          The line where the SMA is at for the Stochastics is the last line in the OnBarUpdate() method: D.Set(SMA(K, PeriodD)[0]);
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            ok, got it

            thx!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            27 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            20 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            183 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            335 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            260 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X