Announcement

Collapse
No announcement yet.

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 Renejm, Today, 06:17 AM
          0 responses
          3 views
          0 likes
          Last Post Renejm
          by Renejm
           
          Started by kazisl, Yesterday, 06:41 PM
          2 responses
          10 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Started by impactX, 05-04-2021, 01:07 AM
          2 responses
          9 views
          0 likes
          Last Post NinjaTrader_Melissa  
          Started by op1031, Yesterday, 05:51 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Started by aaadetos, 05-04-2021, 09:28 AM
          3 responses
          13 views
          0 likes
          Last Post NinjaTrader_Heath  
          Working...
          X