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

ADX Series Dataseries same as input?

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

    ADX Series Dataseries same as input?

    Hi. when im using an EMA for example for a Dataseries I can just say
    EMA(period); and it will work without the dataseries input

    but with some not so common indicators like ADX fe. it seemingly requires the Dataseries since im gettin errors left and right tryin to use ADX(14); tho the addon for both EMA and ADX is just dataseries, period.

    so my gerneral question.
    what can I enter for every dataseries input that ninjatrader automaticly gets that i wanna use the dataseries the chart or the startegy is based on without having to fully define it, which is what i did so far to avoid this error.
    problem with that is ofc, that i manually have to change this everytime im changing the instrument which is awkward

    thanks

    #2
    Hello BigRo,

    Thanks for your post.

    You should be able to use ADX(14) in the same manner as EMA(14) as they both default to the input data series.

    Are you using this within a multi series or multi time frame indicator/strategy? What error messages do you get?
    Last edited by NinjaTrader_PaulH; 09-23-2015, 09:56 AM.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      ok, done, dunno why i didnt work, but it works now, as u said. but still. what could i possibly enter for that, so it would work with it.

      Comment


        #4
        Hello,

        Thanks for your reply and glad it is working as expected.

        If you wanted to specify a data series you could use Close, Open, High, Low, Median, Typical, Weighted. IE: ADX(Median, 14) // 14 period ADX of median price type.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Haiasi, Today, 06:53 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by ScottWalsh, Today, 06:52 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by ScottW, Today, 06:09 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by ftsc2022, 10-25-2022, 12:03 PM
        5 responses
        256 views
        0 likes
        Last Post KeyonMatthews  
        Started by Board game geek, 10-29-2023, 12:00 PM
        14 responses
        244 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Working...
        X