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

Access Custom Plot Values

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

    Access Custom Plot Values

    Hi

    If I have a custom indicator that has 4 series ... how do I access the values in those 4 series ?

    Thanks

    Paul

    #2
    Paul, if those are already Plots they would be exposed / accessible by default - just try something like MyCustomIndicatorName.MyPlot1[0] for a value.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Paul, if those are already Plots they would be exposed / accessible by default - just try something like MyCustomIndicatorName.MyPlot1[0] for a value.
      Great thanks ... in the editor when i type "myIndicator." the editor is not bring up my plots ... have I not set something to expose them?

      Thanks

      Comment


        #4
        This was just a generic example from me, you need to call the indicator by the name you've given it (which is likely not myIndicator).
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          This was just a generic example from me, you need to call the indicator by the name you've given it (which is likely not myIndicator).
          Hi

          I know that )))) ..... Sorry not to be clear ... if my indicator is called VolumeAnalysis and I have 4 plots VL, H, VL, L (very high, high, low, very low) when I type

          "VolumeAnalysis." i would expect to see VH, H, VL, L all to come up in the dropdown list but they dont it is as if they are private or something? Have I missed something? (I added the plot manually in the code so I am wondering if it is something to do with the properties - although it compiles ok)

          Thanks

          Paul

          Comment


            #6
            I see, thanks - if they don't show up your properties section is likely off - please check for example our default MACD indicator how the plots are exposed / setup in the properties section...then amend your code.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Bertrand View Post
              I see, thanks - if they don't show up your properties section is likely off - please check for example our default MACD indicator how the plots are exposed / setup in the properties section...then amend your code.
              ok thanks ... I'll take a look

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by tony_28217, Today, 07:04 PM
              0 responses
              2 views
              0 likes
              Last Post tony_28217  
              Started by flybuzz, Today, 10:33 AM
              1 response
              8 views
              0 likes
              Last Post flybuzz
              by flybuzz
               
              Started by spencerp92, 10-10-2023, 09:56 AM
              4 responses
              303 views
              0 likes
              Last Post flybuzz
              by flybuzz
               
              Started by samish18, Yesterday, 10:13 AM
              1 response
              23 views
              0 likes
              Last Post NinjaTrader_Eduardo  
              Started by Austiner87, Today, 05:02 PM
              0 responses
              5 views
              0 likes
              Last Post Austiner87  
              Working...
              X