|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
firstcomment("some info", stuff) then on the next line on the chart secondcomment(("some more info", stuff1) so it appears on the chart like this some info 204 some more info 210 I only get the last line each time Thanks a lot for your help ![]() |
|
||||
|
Looking at some other code, I see what you mean about putting \n in the comment line as in
Comment("\nYesterday quotations:\nH ",yesterday_high,"\nL ",yesterday_low, "\nC ",yesterday_close); but I wanted to print a comment from 2 different lines in the code, like this if (somecode=othercode){ Comment("Yesterday quotations");} if (anothercode=yetanother){ Comment("\nTodays quotations");} With this all I get is the second comment Todays quotations not 2 lines |
|
||||
|
Another trick that I use is don't print the comment right away, just set a variable for each line comment. After the checking routine is done, then print all comment variable.
Example : if (somecode=othercode){ Comment1 = "Yesterday quotations";} if (anothercode=yetanother){ Comment2 = "\nTodays quotations";} Comment(Comment1,Comment2); Maybe other programmer got other solution. Hope this help ![]()
__________________
David Michael H "Trader helps traders with sincerity, honesty and integrity" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question | evgeni1980 | Questions | 4 | 11-27-2006 01:32 PM |
| Two quick questions regards Profit Factor and .ex4 files | JJLL | Metatrader 4 | 3 | 10-01-2006 07:54 PM |
| really quick DUMB question | Eaglehawk | Questions | 1 | 07-11-2006 12:52 AM |
| Just a quick question... | bluefish | Metatrader 4 | 1 | 05-30-2006 05:26 PM |
| quick question | murky waters | Questions | 8 | 03-30-2006 06:27 PM |