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

Input Series question

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

    Input Series question

    Hi,

    Is there a way within Ninja Script to identify which Input series an indicator is processing?

    For example if an indicator is applied to say a Volume series (or any other indicator) as opposed to Price, how can I identify this within Ninja Script?

    Thanks

    #2
    Hi rt,
    I guess, you can check with:
    if (Input[0]==Vol[0]){Print("It is Volume input!")}
    else if (Input[0]==High[0]){Print("It is High Price input!")}
    else...

    Comment


      #3
      Hi maorachow,

      Thanks for the reply - I was hoping for something more generic - a test which would return either a type code or string which would identify the Input series in use (it could be Price, Volume, RSI, CCI or any other Indicator). Lets see what other suggestions come forth.....

      Thanks again...

      Comment


        #4
        Hi rt-trader, unfortunately there would be no supported property for this purpose.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Thanks Bertrand,

          I guess I expected the classic 'supported/not supported' divide, so let me restate the question;

          If Ninja staff programmers had to deal with this issue, would a method/property to do this be available to them?

          Thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by junkone, Today, 11:37 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by frankthearm, Yesterday, 09:08 AM
          11 responses
          41 views
          0 likes
          Last Post frankthearm  
          Started by quantismo, 04-17-2024, 05:13 PM
          5 responses
          35 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by proptrade13, Today, 11:06 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Clayton  
          Started by love2code2trade, 04-17-2024, 01:45 PM
          4 responses
          34 views
          0 likes
          Last Post love2code2trade  
          Working...
          X