Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to draw vertical line in price chart from indicator code?

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

    How to draw vertical line in price chart from indicator code?

    Hi folks,

    Inside the code of an indicator, I am using "DrawVerticalLine()" to draw a vertical line to segment the curves. However, I found this vertical line is restricted in the window of the indicator.
    How can I draw vertical line in the price chart from the code of an indicator?

    I attached a picture here.

    Thank you very much!

    Best Regards
    David


    Click image for larger version

Name:	VL.png
Views:	579
Size:	69.0 KB
ID:	1115122

    #2
    Hello David,

    Drawing objects have to appears in one panel.

    If you would like to see the line in both panels the indicator would need to be added twice, with the Panel set to 0 and 1.

    Are you unable to draw a vertical line at all?
    Or are you just unable to see it in both panels?
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 12:45 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by samish18, Today, 01:01 PM
    0 responses
    5 views
    0 likes
    Last Post samish18  
    Started by WHICKED, Today, 12:56 PM
    0 responses
    8 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Spiderbird, Today, 12:15 PM
    2 responses
    11 views
    0 likes
    Last Post Spiderbird  
    Started by FrazMann, Today, 11:21 AM
    2 responses
    8 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X