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

Safe?

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

    Safe?

    I want to print some parameters to the output window, but see that you can't reference BarsPeriod properties in Initialize(). Is it okay to do so from OnStartUp()?

    Thanks

    #2
    Hello coolmoss,

    Yes, you can access BarsPeriod within the OnStartupUp() to print out parameters in the output window. You may read more about BarsPeriod from our online help guide at the following link.

    http://www.ninjatrader.com/support/h...barsperiod.htm

    Please let me know if I can be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Rapine Heihei, Today, 08:19 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 08:25 PM
    0 responses
    5 views
    0 likes
    Last Post Rapine Heihei  
    Started by f.saeidi, Today, 08:01 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 07:51 PM
    0 responses
    6 views
    0 likes
    Last Post Rapine Heihei  
    Started by frslvr, 04-11-2024, 07:26 AM
    5 responses
    98 views
    1 like
    Last Post caryc123  
    Working...
    X