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 josh18955, 03-25-2023, 11:16 AM
          6 responses
          435 views
          0 likes
          Last Post Delerium  
          Started by FAQtrader, Today, 03:35 PM
          0 responses
          3 views
          0 likes
          Last Post FAQtrader  
          Started by rocketman7, Today, 09:41 AM
          5 responses
          18 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by frslvr, 04-11-2024, 07:26 AM
          9 responses
          126 views
          1 like
          Last Post caryc123  
          Started by selu72, Today, 02:01 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Zachary  
          Working...
          X