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

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

    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 judysamnt7, 03-13-2023, 09:11 AM
4 responses
59 views
0 likes
Last Post DynamicTest  
Started by ScottWalsh, Today, 06:52 PM
4 responses
36 views
0 likes
Last Post ScottWalsh  
Started by olisav57, Today, 07:39 PM
0 responses
7 views
0 likes
Last Post olisav57  
Started by trilliantrader, Today, 03:01 PM
2 responses
21 views
0 likes
Last Post helpwanted  
Started by cre8able, Today, 07:24 PM
0 responses
10 views
0 likes
Last Post cre8able  
Working...
X