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

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 Tim-c, Today, 03:54 AM
            0 responses
            3 views
            0 likes
            Last Post Tim-c
            by Tim-c
             
            Started by FrancisMorro, Today, 03:24 AM
            0 responses
            2 views
            0 likes
            Last Post FrancisMorro  
            Started by Segwin, 05-07-2018, 02:15 PM
            10 responses
            1,771 views
            0 likes
            Last Post Leafcutter  
            Started by Rapine Heihei, 04-23-2024, 07:51 PM
            2 responses
            31 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by Shansen, 08-30-2019, 10:18 PM
            24 responses
            945 views
            0 likes
            Last Post spwizard  
            Working...
            X