Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Anyone have code to draw a bold "X" at a Price/Time???
Collapse
X
-
Hello llanqui,
You can use Draw.Text() to draw an X at a price and time.
Draw.Text(NinjaScriptBase owner, string tag, bool isAutoScale, string text, DateTime time, double y, int yPixelOffset, Brush textBrush, SimpleFont font, TextAlignment alignment, Brush outlineBrush, Brush areaBrush, int areaOpacity)
With the SimpleFont() parameter, you can specify the text to be bold.
new NinjaTrader.Gui.Tools.SimpleFont("Courier New", 12) { Bold = true }Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
252 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
161 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
165 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
251 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
203 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment