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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    633 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    567 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X