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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    56 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X