Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do you draw arrow on top of chart using Plot override

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

    How do you draw arrow on top of chart using Plot override

    Hi

    Does anyone have a sample showing how to draw an arrow (or any other item) alligned to a specific candel at a fixed offset from the bottom or top of the chart by overriding the Plot method.

    Thanks

    Mike

    #2
    Hi upshon,

    Have you already exhausted the use of TickSize?:http://www.ninjatrader.com/support/h...l?ticksize.htm

    Something like High[0] + TickSize
    TimNinjaTrader Customer Service

    Comment


      #3
      Hi Tim

      High[0] + TickSize will not give me what I am after.

      I want all the arrows aligned together at top or bottom of chart, High[0] + TickSize will align them relative to the candle not the chart window.

      Thanks

      Mike

      Comment


        #4
        Hello,


        You would need to use unsupported c# programming achieve this and interact directly with the ChartControl and override the plot method like you mentioned. However the only sample we have on this is the sample you found in the software under Sample Strategy Plot.

        The only workaround I could recommend is building an indicator panel that you then keep at the bottom and keep one at the top that you would house these arrows in. You would then just draw the arrow at the zero line. You would need to seprate your logic for the indicator that runs on the bottom and the indicator that runs on the top.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        580 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        335 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        102 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X