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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    622 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    359 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
    562 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    567 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X