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 Irukandji, Today, 09:34 AM
        0 responses
        2 views
        0 likes
        Last Post Irukandji  
        Started by TraderBCL, Today, 04:38 AM
        3 responses
        24 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by WeyldFalcon, 08-07-2020, 06:13 AM
        11 responses
        1,423 views
        0 likes
        Last Post jculp
        by jculp
         
        Started by RubenCazorla, Today, 09:07 AM
        0 responses
        4 views
        0 likes
        Last Post RubenCazorla  
        Started by BarzTrading, Today, 07:25 AM
        2 responses
        29 views
        1 like
        Last Post BarzTrading  
        Working...
        X