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

Print "Time to Flatten" to the Output window

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

    Print "Time to Flatten" to the Output window

    Hi,

    Is it possible to use the NinjaScript "Print" method to print the "Time to flatten" to the Output window?

    Time to Flatten: Control Center > Tools > Options > Misc. > Flatten Positions > Time to flatten.

    With the Holidays, I change frequently the Time to flatten. I would like to print the "Time to flatten" to the Output when I enable my script, in case I forget to set it to the correct value.

    Thank you.

    #2
    Hello futures14,

    Thank you for your post.

    I am unaware of a way to access this property's value. I will check with my colleagues tomorrow on this matter.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by usglucofreeze, Today, 01:19 AM
    0 responses
    7 views
    0 likes
    Last Post usglucofreeze  
    Started by f.saeidi, Today, 01:12 AM
    0 responses
    7 views
    0 likes
    Last Post f.saeidi  
    Started by NinjaTrader_ChelseaB, 03-14-2017, 10:17 AM
    227 responses
    34,318 views
    7 likes
    Last Post rare312
    by rare312
     
    Started by f.saeidi, Today, 12:11 AM
    0 responses
    6 views
    0 likes
    Last Post f.saeidi  
    Started by Graci117, Yesterday, 11:40 PM
    0 responses
    7 views
    0 likes
    Last Post Graci117  
    Working...
    X