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 sjsj2732, 03-23-2026, 04:31 AM
              0 responses
              42 views
              0 likes
              Last Post sjsj2732  
              Started by NullPointStrategies, 03-13-2026, 05:17 AM
              0 responses
              294 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              290 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              135 views
              1 like
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              98 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Working...
              X