![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
Is it possible to align the top/bottom of a string to a specified y value? It seems StringAlignment only controls the alignment along x direction. In eSignal EFS, it is possible to specify flags such as Text.RELATIVETOTOP, Text.RELATIVETOBOTTOM and Text.VCENTER to meet different needs. - Clearpicks |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
clearpicks,
If you use DrawTextFixed() you can place the string in fixed locations on screen not linked to the x or y scale. If you use DrawText() you can put the text locked to a certain x and y value.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I draw an arrow that stays on the top or bottom of a price chart? | atangram | Indicator Development | 9 | 12-18-2010 02:59 PM |
| Top/Bottom margins on chart | higler | Charting | 1 | 02-12-2009 01:17 PM |
| how to read top or bottom of chart? | NinjaCustomer | Indicator Development | 5 | 05-18-2008 10:20 PM |
| Volume Bar on Top/Bottom of Price Candle? | shortorlong | Indicator Development | 0 | 03-25-2008 12:20 AM |
| chart get compressed down at bottom | nkhoi | Miscellaneous Support | 2 | 01-28-2008 06:07 AM |