Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom Chart Trader position lines
Collapse
X
-
Hello martyn73,
With an indicator you can use the Addon approach to finding an account object and then looping through the orders for that account.
Below is a public link to the help guide.
https://ninjatrader.com/support/help...rs_account.htm
https://ninjatrader.com/support/help...rderupdate.htm
You could find the orders, and then draw lines using the price of those orders.
An indicator can have the ZOrder set. The Drawing objects placed by the script will be relative to the scripts ZOrder.
https://ninjatrader.com/support/help.../setzorder.htm
Chelsea B.NinjaTrader Customer Service
-
Chelsea,
Thanks, was aware of those. But if possible, I want to specifically target the visuals of existing Chart Trader position lines. And not create my own. I'm developing an order execution indicator that renders on the right side of the chart panel and leverages the Chart Trader panel. When orders are submitted through this tool, or through the Chart Trader panel, I want the Chart Trader position lines to start to the left of my tool instead of them to start at the right side of the chart panel.
Comment
-
Hello martyn73,
Unfortunately, there is no NinjaScript access to the Chart Trader order lines. Also it would not be possible to remove these while ChartTrader is enabled. These are part of the core functionality of Chart Trader.
Your lines could be drawn on the left side of the chart if these are the price and times provided to object. Or the lines could be custom rendered.
Or you could completely recreate the Chart Trader as a custom area and not enable ChartTrader.
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by dkbyond, Today, 04:11 PM
|
0 responses
5 views
0 likes
|
Last Post
![]()
by dkbyond
Today, 04:11 PM
|
||
Started by markus3500, Today, 03:29 PM
|
1 response
12 views
0 likes
|
Last Post
|
||
Started by bohenriksen, Today, 04:00 AM
|
1 response
21 views
0 likes
|
Last Post
|
||
Started by brett0, Today, 12:33 PM
|
3 responses
15 views
0 likes
|
Last Post
![]()
by marcus2300
Today, 05:22 PM
|
||
Started by lordvader34, Today, 11:12 AM
|
1 response
17 views
0 likes
|
Last Post
|
Comment