Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

enter two trades on different instruments.

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

    enter two trades on different instruments.

    Hey guys I have a strategy that takes a long on the Euro and E-mini SP 500 futures. what I want Ninjatrader to do is enter a long trade on E-mini SP 500 (1 contract ) and if a long setup also happens on the Euro futures that it should take a long as well. But what I noticed is the strategy only takes one trade, for example if a position is already active on E-mini Sp 500. the strategy will not take a long on the Euro even though a setup is confirmed.
    I tried going to Strategies > Entries per direction and I put 2. But what happens is if another trade setup on the E-mini and Euro fire on the same bar it takes the E-mini SP 500 setup. So what I want to do is have only one trade on the Sp 500 and one trade on the Euro. How can I do this.

    Thank you

    #2
    Hello wallsteetking,

    You may want to give your Entry signals a different name then change your entry handling to UniqueEntires to be able to better manage this.

    For example:
    Code:
    protected override void Initialize() 
    { 
        EntryHandling = EntryHandling.UniqueEntries;
    }
    
    protected override void OnBarUpdate() 
    {
        if ( //ES Conditon)
        {
             EnterLong("ES Long");
        }
        if ( //Euro Condition)
        {
             EnterLong("Euro Long");
        }
    }
    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      Originally posted by wallsteetking View Post
      Hey guys I have a strategy that takes a long on the Euro and E-mini SP 500 futures. what I want Ninjatrader to do is enter a long trade on E-mini SP 500 (1 contract ) and if a long setup also happens on the Euro futures that it should take a long as well. But what I noticed is the strategy only takes one trade, for example if a position is already active on E-mini Sp 500. the strategy will not take a long on the Euro even though a setup is confirmed.
      I tried going to Strategies > Entries per direction and I put 2. But what happens is if another trade setup on the E-mini and Euro fire on the same bar it takes the E-mini SP 500 setup. So what I want to do is have only one trade on the Sp 500 and one trade on the Euro. How can I do this.

      Thank you
      Run the strategy on each instrument in the strategy manager??!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      110 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      59 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      37 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      41 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      78 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X