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

data series

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

    data series

    Hi,

    I'm new to NinjaTrader.

    I would like to add several SMA indicators to my chart
    But each SMA base on different data series

    first one, SMA of 10 period RSI
    second one, SMA of 10 period ATR
    thrid one, SMA of 10 period volume

    But the SMA currently only allow data series (e.g. Open, High, Low, Close)
    How to adjust SMA so that it can accept different data series ??

    #2
    You would have to develop a custom indicator to do this.

    Here is a tutorial on a similar concept - http://www.ninjatrader-support.com/H...Indicator.html
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi,

      Thanks for the reply. By using the method mention in tutorial, I need to write a new indicator for each kind of SMA

      >> first one, SMA of 10 period RSI
      >> second one, SMA of 10 period ATR
      >> thrid one, SMA of 10 period volume

      So, that means I need to write 3 SMA to cater above situation.


      I'm not sure whether the SMA can be adjust so that to accept a data series as the parameter

      For example: SMA ( X , 10) where X is a data series.
      X may be simple data series (e.g. Open, High, Low Close)
      X may also be derived data series (e.g. 10 period RSI, 10 period ATR ....etc)


      If possible, then only one SMA indicator is enough as it allow to pass in corresponding data series as parameter

      Is it possible ?? please advice. thanks

      Comment


        #4
        >> So, that means I need to write 3 SMA to cater above situation.
        correct

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        5 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X