Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
C# Scaling question...
Collapse
X
-
C# Scaling question...
My indicator overrides Plot and draws text on the screen just above a bar's high/low. However, when I scale the chart the bars scale as they should but the text stays fixed so consequently the text mashes into the bar itself. How does one get around this?Tags: None
-
Funk101,
Thank you for your note.
Can you please attach a screenshot of your chart and perhaps a sample of your script with what you are doing?
To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file. Click Reply -> Go Advanced -> Click the Paperclip icon on the top toolbar
For detailed instructions please visit the following link
http://take-a-screenshot.org/Cal H.NinjaTrader Customer Service
-
you will need to recalculate the X,Y of the drawtext anytime the chart changes, Scroll, Zoom, Scale, and other instances.Originally posted by funk101 View PostMy indicator overrides Plot and draws text on the screen just above a bar's high/low. However, when I scale the chart the bars scale as they should but the text stays fixed so consequently the text mashes into the bar itself. How does one get around this?
This applies for override Plot only, not Supported Drawing.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by sjsj2732, Yesterday, 04:31 AM
|
0 responses
26 views
0 likes
|
Last Post
by sjsj2732
Yesterday, 04:31 AM
|
||
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
283 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
280 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
131 views
1 like
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
90 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|

Comment