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

Strategy: Entering on one time frame and exiting on another

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

    Strategy: Entering on one time frame and exiting on another

    Hello.

    I want to create a strategy that runs on a 5-minute chart. The ENTER signals will be created on the 5-min chart. But I want to create EXIT signals that are triggered by a 1-min chart.

    Can I add the following 1-min bar as a secondary bar object?

    // Add a 1 minute Bars object to the strategy
    Add(PeriodType.Minute, 1);

    In other words, can the secondary object in a dual time frame indicator/strategy be a smaller time frame than the primary object?

    Thanks.

    #2
    Hi rcsingleton,

    Yes, a secondary series can be any increment larger or smaller than the primary series.

    Are you finding that you are running into an issue that I may assist with?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Not yet. I'm working on the strategy now. Will let you know if I see unexpected results. Thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, Yesterday, 02:04 AM
      1 response
      15 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by agclub, 04-21-2024, 08:57 PM
      4 responses
      18 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Irukandji, Today, 04:58 AM
      0 responses
      3 views
      0 likes
      Last Post Irukandji  
      Started by fitspressoburnfat, Today, 04:25 AM
      0 responses
      2 views
      0 likes
      Last Post fitspressoburnfat  
      Started by Skifree, Today, 03:41 AM
      1 response
      5 views
      0 likes
      Last Post Skifree
      by Skifree
       
      Working...
      X