Announcement

Collapse
No announcement yet.

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.

    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).

        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.

            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 cmoran13, 04-16-2026, 01:02 PM
              0 responses
              42 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              25 views
              0 likes
              Last Post PaulMohn  
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              162 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              98 views
              1 like
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              157 views
              2 likes
              Last Post CaptainJack  
              Working...
              X