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 Jonafare, 12-06-2012, 03:48 PM
    5 responses
    3,985 views
    0 likes
    Last Post rene69851  
    Started by Fitspressorest, Today, 01:38 PM
    0 responses
    2 views
    0 likes
    Last Post Fitspressorest  
    Started by Jonker, Today, 01:19 PM
    0 responses
    2 views
    0 likes
    Last Post Jonker
    by Jonker
     
    Started by futtrader, Today, 01:16 PM
    0 responses
    8 views
    0 likes
    Last Post futtrader  
    Started by Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,792 views
    0 likes
    Last Post aligator  
    Working...
    X