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 - If there's a second buy while 1 position is already open...

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

    Strategy - If there's a second buy while 1 position is already open...

    Hi All,

    I have a strategy running and all seems ok, with one exception:

    1. First buy signal hit - we enter a long position
    2. While the first long position is still open, if second buy signal hit, this time the first position closes(?). How do I ensure that the position will remain open and a new one will open?

    Thanks!





    #2
    Hello darkgreen,

    Thank you for your post.

    What is your Entries Per Direction setting for the strategy? The default is 1, which would only allow you to take one entry in a given direction before returning to a flat position - subsequent orders would simply be ignored. If you set Entries Per Direction for the strategy to 2 in the Strategy preferences, do you see it take multiple trades as you'd expect?

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ninza33, Today, 12:31 PM
    0 responses
    1 view
    0 likes
    Last Post ninza33
    by ninza33
     
    Started by tradingnasdaqprueba, Today, 03:42 AM
    7 responses
    30 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by kaywai, Today, 11:59 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by ETFVoyageur, 04-30-2024, 02:04 PM
    13 responses
    110 views
    0 likes
    Last Post ETFVoyageur  
    Started by Skifree, Today, 11:21 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X