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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
57 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment