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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    42 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X