How can I access the order line color property ?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Is there a way through Ninja Scripts to access the order line on the ChartTrader?
Collapse
X
-
Is there a way through Ninja Scripts to access the order line on the ChartTrader?
Is there a way through Ninja Script that I can access the order line after submit an Stop order on ChartTrader? So I can change the buy or sell order line color. See the attached. I want to change Buy order color to Green, sell order to Red.
How can I access the order line color property ?
Last edited by bibofeng; 03-15-2024, 04:26 PM.Tags: None
-
Hello bibofeng,
Thanks for your post.
There are no documented/supported ways to change the order marker colors of a stop or limit order programmatically.
This would need to be changed manually in the Chart Trader Properties window.
Right-click on Chart Trader, select Properties from the right-click menu, scroll down to the bottom of the properties list, and use the Lines drop-down menus to change the color of the Order markers.
See this help guide page for more information: https://ninjatrader.com/support/help...AndDefinitions
The forum thread will be open for other community members to share their insights on unsupported code to accomplish this.
Please let me know if you have further questions on this topic.Brandon H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by LiamTwine, Today, 08:10 AM
|
0 responses
2 views
0 likes
|
Last Post
by LiamTwine
Today, 08:10 AM
|
||
Started by Balage0922, Today, 07:38 AM
|
0 responses
5 views
0 likes
|
Last Post
by Balage0922
Today, 07:38 AM
|
||
Started by JoMoon2024, Today, 06:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by JoMoon2024
Today, 06:56 AM
|
||
Started by Haiasi, 04-25-2024, 06:53 PM
|
2 responses
19 views
0 likes
|
Last Post
by Massinisa
Today, 05:32 AM
|
||
Started by Creamers, Today, 05:32 AM
|
0 responses
6 views
0 likes
|
Last Post
by Creamers
Today, 05:32 AM
|
Comment