Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

6.5 to 7

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

    6.5 to 7

    Somebody can help me to traslate this lines in 6.5 to NT 7

    DrawLine(tag+"CD",FirstHigh,D,FirstLow,C,PenColor,DashStyle,PenWidt h);
    DrawLine(tag+
    "BC",FirstLow,C,SecondHigh,B,PenColor,DashStyle,PenWid th);
    DrawLine(tag+
    "AB",SecondHigh,B,SecondLow,A,PenColor,DashStyle,PenWi dth);
    DrawLine(tag+
    "XA",SecondLow,A,ThirdHigh,X[0],PenColor,DashStyle,PenWidth);

    Thanks

    #2
    Successlife, these are the DrawLine() overloads for NT7:
    Code:
    DrawLine(string tag, int startBarsAgo,  double  startY, int endBarsAgo,  double  endY, Color color)  
    DrawLine(string tag, bool autoScale,  int  startBarsAgo, double startY,  int  endBarsAgo, double endY, Color color,  DashStyle  dashStyle, int width)
     DrawLine(string tag, bool autoScale,  DateTime  startTime, double startY,  DateTime  endTime, double endY, Color color,  DashStyle  dashStyle, int width)
    So I believe you'll have to add a "false" flag after the tag in order to make your code work.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    168 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    324 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    250 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    180 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X