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 sjsj2732, 03-23-2026, 04:31 AM
            0 responses
            70 views
            0 likes
            Last Post sjsj2732  
            Started by NullPointStrategies, 03-13-2026, 05:17 AM
            0 responses
            312 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            306 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            147 views
            1 like
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            111 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Working...
            X