PDA

View Full Version : DrawText Carriage Return ?


mrlogik
01-13-2009, 06:44 AM
Hey Guys,

I want to display some text on the chart in a few lines.

For example, suppose at the top right of the chart I want to say in this format:

"1. Good Spread"
"2. Good Resistance Distance"
"3. Etc...."

Basically, I want to print lines of text below one another in a list format. I tried using the C# Carriage Return code to simple make a new line, but that didn't work.

Any way to do it otherwise?

Thanks

NinjaTrader_Josh
01-13-2009, 07:16 AM
You can use the NT DrawText() or DrawTextFixed() and then in the string you can just add \n for a new line.

mrlogik
01-13-2009, 11:42 AM
Thanks Josh