Garth1
unread,May 4, 2012, 3:21:49 AM5/4/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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'.