Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Draw Text overloads
Collapse
X
-
BTW,the webdings symbols are also not precise for the High + offset and Low - offset,the symbol for the High is almost always below the High,not above.Second,when you increase the size of the symbol and show the different y-value then the price value when it supposed to be placed.
Comment
-
You are already using the pixel offset, if the code from post #1 is yours (Low[0] - offset, 5,). This is from the Low[0], minus your offset variable, plus 5 pixels (5 pixels closer to the low). To make up for different size symbols you can add a user variable to also change the pixel offset or check for the selected font size in OnStartUp() method and change the pixel offset variable accordingly using if/then.
Comment
-
Originally posted by eDanny View PostYou are already using the pixel offset, if the code from post #1 is yours (Low[0] - offset, 5,). This is from the Low[0], minus your offset variable, plus 5 pixels (5 pixels closer to the low). To make up for different size symbols you can add a user variable to also change the pixel offset or check for the selected font size in OnStartUp() method and change the pixel offset variable accordingly using if/then.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by spottysallrite, Today, 11:31 AM
|
0 responses
0 views
0 likes
|
Last Post Today, 11:31 AM | ||
Started by johnMoss, 03-04-2024, 01:53 PM
|
2 responses
29 views
0 likes
|
Last Post
by Overnhou
Today, 11:21 AM
|
||
Started by Padan, Today, 02:02 AM
|
5 responses
16 views
0 likes
|
Last Post Today, 11:14 AM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
8 responses
28 views
0 likes
|
Last Post
by Lele2k24
Today, 11:00 AM
|
||
Started by kramnor2001, Yesterday, 02:30 PM
|
4 responses
24 views
0 likes
|
Last Post
by bltdavid
Today, 10:44 AM
|
Comment