Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing parallel lines

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

  • NinjaTrader_JoshP
    replied
    There could be ways to do it in C#, but unfortunately we cannot offer support for that level of programming.

    Leave a comment:


  • sbgtrading
    replied
    Is there any way to query an existing graphical object (such as a line) to get the endpoints of the line?

    MT4 lets you do this with "GetObjectData()" or something similar.

    Thanks,
    Ben

    Leave a comment:


  • NinjaTrader_JoshP
    replied
    You will need to determine the slope of the trendline indicator's line and then do some math to draw your own line. Unfortunately I cannot provide exact code for you due to bandwidth reasons.

    Leave a comment:


  • DORAIRAJ_S@HOTMAIL.COM
    replied
    Parallel line

    Can some one help me to develope a code for drawing a parallel line to an existing line in the chart?

    Appreciate your help.

    Thanks,

    Leave a comment:


  • NinjaTrader_JoshP
    replied
    http://www.ninjatrader-support.com/H.../DrawLine.html
    Use that. Just make sure the two lines have the same slope and then you'll have parallel lines.

    Leave a comment:


  • DORAIRAJ_S@HOTMAIL.COM
    started a topic Drawing parallel lines

    Drawing parallel lines

    Hi Josh / Ray

    Please advise on the tool to be used for drawing parallel lines on the charts.

    I would like to use this tool to draw a parallel line in parallel to a trend line, drawn using the trendline indicator.

    Thanks,

Latest Posts

Collapse

Topics Statistics Last Post
Started by Guido 01, 07-17-2018, 02:30 AM
8 responses
1,265 views
0 likes
Last Post pfsmedical  
Started by cjanau, Today, 11:07 AM
0 responses
9 views
0 likes
Last Post cjanau
by cjanau
 
Started by TrendFollowingCapital, Today, 05:53 AM
0 responses
12 views
0 likes
Last Post TrendFollowingCapital  
Started by TrendFollowingCapital, Today, 05:38 AM
0 responses
9 views
0 likes
Last Post TrendFollowingCapital  
Started by John Bogui, Today, 03:57 AM
2 responses
42 views
0 likes
Last Post John Bogui  
Working...
X