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 cmoran13, 04-16-2026, 01:02 PM
    0 responses
    42 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    25 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    162 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    98 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    157 views
    2 likes
    Last Post CaptainJack  
    Working...
    X