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 ghoul, Today, 06:02 PM
          0 responses
          7 views
          0 likes
          Last Post ghoul
          by ghoul
           
          Started by Barry Milan, Yesterday, 10:35 PM
          6 responses
          18 views
          0 likes
          Last Post Barry Milan  
          Started by DanielSanMartin, Yesterday, 02:37 PM
          2 responses
          13 views
          0 likes
          Last Post DanielSanMartin  
          Started by DJ888, 04-16-2024, 06:09 PM
          4 responses
          13 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by terofs, Today, 04:18 PM
          0 responses
          12 views
          0 likes
          Last Post terofs
          by terofs
           
          Working...
          X