Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Second action under same condition not working as intended

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

    Second action under same condition not working as intended

    I have some conditions to make a long position. Below that in the actions I have the first action set to "EnterLong(DefaultQuantity, @"long1")". This works as intended.

    When I enter a second action set to "EnterLong(DefaultQuantity, @"long2")" I expect this to open up two orders at the same time with different signal names but it doesnt.

    I have changed "Entried per direction" to 10. Tried both "entry handling" options of "all" or "unique" but this doesnt fix it.

    Am I misunderstanding this or doing something wrong? Im trying to open two contracts with same conditions and different take profits but can't get the second order to open wit the first.

    I attached a picture, only "Long1" shows up on the chart in the strat analyzer



    #2
    Hello steegee,

    From the image and other details I don't see what may be wrong. What you are trying to do is acceptable, that is how the sample scaling strategy in the help guide works: https://ninjatrader.com/support/help...a_position.htm

    For UniqueEntries that strategy uses two signal names and then the settings:
    EntriesPerDirection = 1;
    EntryHandling = EntryHandling.UniqueEntries;

    I would suggest to try to compile the strategy, close the analyzer and re open it and then test it again just to confirm that some old setting was not being used. You could additionally try the help guide sample to see if that somehow relates to the settings you used in the analyzer, applying the strategy to a chart would also be a good way to check it.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    51 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    127 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X