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 cmoran13, Yesterday, 01:02 PM
|
0 responses
29 views
0 likes
|
Last Post
by cmoran13
Yesterday, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
21 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
160 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
95 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
148 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment