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 futtrader, 04-21-2024, 01:50 AM
|
4 responses
41 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
11 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
3 views
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
||
Started by Philippe56140, Today, 02:35 PM
|
0 responses
4 views
0 likes
|
Last Post Today, 02:35 PM | ||
Started by 00nevest, Today, 02:27 PM
|
0 responses
2 views
0 likes
|
Last Post
by 00nevest
Today, 02:27 PM
|
Comment