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 Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            605 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            351 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            560 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            561 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X