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

Moving average of indicators

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

    Moving average of indicators

    Dear NT,

    Frankly speaking I am starting to work with NT. The MA's of indicators (AO and RSI) are involved in my strategy. Frankly speaking I failed to find any information about this option. Is it possible to set MA for indicator or I should create special indicator for evey indicator.

    Best regards,
    John
    Last edited by medved69; 12-07-2012, 05:38 AM.

    #2
    Hello John,
    Welcome to the forum and I am happy to assist you.

    Yes, you can do it. Please refer to the below code which further demonstrates it.

    Code:
    double smaRsi = SMA(RSI(14, 3), 20)[0];
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thank you very much for quick reply. Unfortunately I don't understand how I can realize it. What did you mean " refer to the below code which further demonstrates it".
      Thank you in advance,

      Best regards,
      John

      Comment


        #4
        Hello John,
        Please refer to this YouTube video which demonstrates how to apply an indicator based on another indicator.

        Download NinjaTrader FREE at http://www.ninjatrader.comThis video demonstrates how to plot an indicator based on the value of another indicator on a chart wi...


        You can apply the SMA over an RSI in a similar fashion.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        11 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        16 views
        0 likes
        Last Post AaronKoRn  
        Working...
        X