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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    239 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    156 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    165 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    247 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    199 views
    0 likes
    Last Post CarlTrading  
    Working...
    X