Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot Diamond Panel2

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

    Plot Diamond Panel2

    Hello,

    I tried to add a drawing to the volume indicator in panel 2 but it doesnt work. How can I plot eg a diamond at the high or bottom (or mid) of the volume bar in the volume indicator. My conditions work because I can have brushes for backcolor but no diamond, dot, square.... Couldnt find out what is the reason.

    Thank you!
    Tony


    #2
    Hello Tony,

    Set DrawOnPricePanel to false in State.Configure.


    Call Draw.Diamond() in the same logic block as where the BackBrush is being assigned.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      thank you for your reply. Now it plots in panel 2 but what would I need to do for having it plotting on the high of the volume bar.

      Thank you!
      Tony

      Comment


        #4
        Hello Tony,

        Set the panel of the indicator to the same panel as the VOL indicator.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello,

          thank you for your reply. Of course, but its not plotting on the high of the volume bar. Yes, because I have "High[0]" in the code. Therefore my question is what to do for plotting on the high of the volumebar (but not with High of price at volumebar). Please see the attached screenshot.

          Thank you!
          Tony
          Attached Files

          Comment


            #6
            Hello Tony,

            Set the price of the drawn object to the value of VOL[0].
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            44 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            56 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            35 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            95 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            57 views
            0 likes
            Last Post PaulMohn  
            Working...
            X