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 aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        4 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        125 views
        0 likes
        Last Post Leeroy_Jenkins  
        Working...
        X