Problem with multi-line comments

22 views
Skip to first unread message

Garth1

unread,
May 4, 2012, 3:21:49 AM5/4/12
to MqlLock
Here's the comment code that writes multi-line in the un-protected
version:

msg2 = StringConcatenate(pre_msg,
"\nSTRADDLE TRADER is running",
"\n Do NOT change timeframe!",
"\n\nCurrent Pips: [ ", pipsNow, " ]",
"\nNext Take Profit: ", nextTP,
"\nCurrent Stop Pips: ", stopPips,
"\nMove-Stop Target: ",nsl,
"\nNext Stop Level: ", nsd,
"\nOrder Open:
",DoubleToStr(Orderopenprice,Digits),
"\nStop Level: ", DoubleToStr(SL,Digits),
"\nMax Drawdown: ", ShowLoss, " pips",
"\nMax Profit: ", ShowProfit, " pips",
"\nManaging trade with magic number = ", Magic_Number,
"\n\n Time until next bar: ", minu," min ",seco,"
sec"
);
Comment(msg2);

The protected version writes it all on one line, starting with
'\nSTRADDLE'.

Fx1.Net

unread,
May 8, 2012, 2:07:22 AM5/8/12
to mql...@googlegroups.com
We are checking this issue. Thank you for reporting!
Reply all
Reply to author
Forward
0 new messages