Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entires per direction not working as expected

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

    Entires per direction not working as expected

    Hi,

    I was trying to code a Strategy in NT 7 where I only have one order until it is stopped or profit realized don't place any other orders. I thought having the Entires per direction to 1 and Entry Handling to All Entries would take care of this issue. However, this is not the case. Attached please find my strategy. It is placing multiple orders even if the Strategy order is open. Can anyone suggest a solution please. Please Help...I have calculate on Bar close as False for this Strategy but I still only want to execute one time until either the profit or loss is realized.
    I thought the code
    if (Position.MarketPosition == MarketPosition.Flat)

    {EnterLong();}
    }
    might be causing an issue so I removed it and tried without it but it's the same results.
    Attached Files

    #2
    sqadri,

    I am happy to assist you.

    I have been unable to replicate your results. It appears to me that the strategy doesn't enter more than 1 order at a time.

    What instruments and time frames are you using?

    If you could perhaps post a screen shot of what it is your are seeing it would be beneficial in helping us help you solve your issue.

    Please let me know if I may assist further.
    Last edited by NinjaTrader_AdamP; 10-30-2011, 05:18 PM.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    668 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    377 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X