PDA

View Full Version : I need a programmer's help


liggy002
03-15-2009, 07:52 PM
Hi,

I am coding my own EA. I am having an issue with the Comment() function. I put several values in the parantheses to be passed to the function. However, when I put the values into the function, I want them each to be on seperate lines. I noticed that the text at the upper left of the security window is jammed together as one and on one single line.

Could someone tell me how I can seperate each parameter passed this to this function onto seperate lines like FAP Turbo does? Your help is greatly appreciated.

alan
03-16-2009, 11:47 PM
liggy002, try posting your question int he MQL section of the new Forex Nirvana forum..we have a few coders there that may be able to help you.

http://www.forexnirvana.com

moneydream
03-17-2009, 02:47 AM
Hi,

I am coding my own EA. I am having an issue with the Comment() function. I put several values in the parantheses to be passed to the function. However, when I put the values into the function, I want them each to be on seperate lines. I noticed that the text at the upper left of the security window is jammed together as one and on one single line.

Could someone tell me how I can seperate each parameter passed this to this function onto seperate lines like FAP Turbo does? Your help is greatly appreciated.

Put a \n for next new line.

For example:

Comment("This is the first line" + "\n" + "This is the second line")

will produce result as below:

This is the first line
This is the second line

Hope this help.

liggy002
03-17-2009, 03:32 PM
Hey guys, thanks. I actually figured this out by looking another source code but thanks anyway :)