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!
See more
See less

Partner 728x90

Collapse

Is there a way through Ninja Scripts to access the order line on the ChartTrader?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 ?
    Attached Files
    Last edited by bibofeng; 03-15-2024, 04:26 PM.

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    41 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    11 views
    0 likes
    Last Post bltdavid  
    Started by port119, Today, 02:43 PM
    0 responses
    1 view
    0 likes
    Last Post port119
    by port119
     
    Started by Philippe56140, Today, 02:35 PM
    0 responses
    3 views
    0 likes
    Last Post Philippe56140  
    Started by 00nevest, Today, 02:27 PM
    0 responses
    2 views
    0 likes
    Last Post 00nevest  
    Working...
    X