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

Set default timeframe in script

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

    Set default timeframe in script

    Hi,

    Is there a way to set the default timeframe in the Initialize() part of a strategy? I would like to set it to 60-min timeframe.

    THanks

    #2
    Hello Siroki,

    Thank you for your post.

    You would not be able to set the primary timeframe from the script. This is set when the script is being applied to a chart or strategies tab.

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Ok, thanks for clearing that up.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by WalterSkinner, 02-07-2022, 09:22 AM
      6 responses
      72 views
      0 likes
      Last Post Lance El Camino  
      Started by Zinger357, Today, 11:50 AM
      2 responses
      17 views
      0 likes
      Last Post Zinger357  
      Started by shorty, Today, 06:20 PM
      1 response
      11 views
      0 likes
      Last Post Tasker-182  
      Started by dweems, Yesterday, 02:11 PM
      1 response
      46 views
      0 likes
      Last Post NinjaTrader_Angelica  
      Started by Skechers, Today, 02:31 PM
      2 responses
      36 views
      0 likes
      Last Post Skechers  
      Working...
      X