![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 774
Thanks: 1
Thanked 7 times in 5 posts
|
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
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
You can use the NT DrawText() or DrawTextFixed() and then in the string you can just add \n for a new line.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Certified NinjaScript Consultant
Join Date: Sep 2006
Location: New York, USA
Posts: 774
Thanks: 1
Thanked 7 times in 5 posts
|
Thanks Josh
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"
PureLogikTrading |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Return value is zero | billitin | Indicator Development | 3 | 10-14-2008 05:15 PM |
| Return code from Indicatore | Owlman | Indicator Development | 2 | 10-13-2008 01:21 AM |
| Cannot add return of SMA() | RandyT | Indicator Development | 1 | 09-25-2008 06:10 AM |
| Standard Return Code for Functions | arbifox | Automated Trading | 1 | 12-13-2007 08:21 PM |
| Return values for NTOrderStatus() | ccooper | Automated Trading | 2 | 11-11-2006 11:47 AM |