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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment