Particularly, I'd like to know if there's an easy way to get the price marker on the right hand side.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Draw Entry Stop Orders on Chart
Collapse
X
-
Draw Entry Stop Orders on Chart
Hi is there an easy way to programmatically (in a strategy) draw the entry stop orders much like the chart trader does?
Particularly, I'd like to know if there's an easy way to get the price marker on the right hand side.Tags: None
-
Hi Jeremy,
You could consider setting a plot based on your stop loss levels in order to see price markers. It will have to be configured specifically to use the same color as your chart background. (Transparent won't show price markers).
Plotting within a NinjaScript strategy.
You can also custom code a solution, maybe consider combining rays with text if you want to make a similar display.
Example:
double myStopLevel = 25;
DrawRay("myStopLevel", 10, myStopLevel, 0, myStopLevel, Color.Red);
DrawText("myStopText", true, myStopLevel.ToString(), 11, myStopLevel, 0, Color.Black, new Font("Arial", 10), StringAlignment.Center, Color.Black, Color.White, 0);Last edited by NinjaTrader_RyanM1; 03-21-2011, 03:06 PM.Ryan M.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
574 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment