• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing lines on charts

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

    Drawing lines on charts

    Hi,
    I have an indicator (LBR_310) on separate panel and I wanna draw vertical lines on price chart if indicator's lines crose (On the same x axis value). Is this possible? Or it's better to create a new indicator and plot it on chart?
    NT8

    #2
    Hello Leeroy_Jenkins, thanks for your note.

    You can set IsOverlay to false and DrawOnPricePanel to true in State.SetDefaults and then any Draw method (Draw.Line, etc) you call will be rendered to the panel that contains the chart bars. All other plots will be rendered to its own panel.

    Kind regards.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thank you very much.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by yeshujbp, Today, 02:40 PM
      0 responses
      5 views
      0 likes
      Last Post yeshujbp  
      Started by Venom, Today, 01:05 PM
      0 responses
      9 views
      0 likes
      Last Post Venom
      by Venom
       
      Started by Dert66, Today, 12:11 PM
      0 responses
      7 views
      0 likes
      Last Post Dert66
      by Dert66
       
      Started by jjanguda, Today, 10:04 AM
      0 responses
      225 views
      0 likes
      Last Post jjanguda  
      Started by sambo81, Today, 09:20 AM
      1 response
      13 views
      0 likes
      Last Post sambo81
      by sambo81
       
      Working...
      X