Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with drawing a box

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

    Help with drawing a box

    Hello.

    I'm attaching a chart with indicators attached. Specifically, I have a question about the code to draw a box in the indicator, "rcsKPFastAllArrows".
    This indicator is in panel 3, in the chart.

    I want to draw a box in the top right corner of panel 3. (The same panel that the indicator is in).

    If the red down arrow is the most recent arrow then put the text "SHORT" in the box.

    If the blue up arrow is the most recent arrow then put the text "LONG" in the box.

    The current text in the box, remains until the next arrow.

    Any help with the code, to draw the box, would be appreciated.

    Attached Files

    #2
    For you would need to work with DrawOnPricePanel set to false - http://www.ninjatrader-support.com/H...ceOnPanel.html and the DrawText() method -

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    182 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    335 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    259 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    358 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    188 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X