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 arvidvanstaey, Today, 02:19 PM
          2 responses
          6 views
          0 likes
          Last Post arvidvanstaey  
          Started by jordanq2, Today, 03:10 PM
          0 responses
          2 views
          0 likes
          Last Post jordanq2  
          Started by traderqz, Today, 12:06 AM
          10 responses
          18 views
          0 likes
          Last Post traderqz  
          Started by algospoke, 04-17-2024, 06:40 PM
          5 responses
          46 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by mmckinnm, Today, 01:34 PM
          3 responses
          5 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X