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 with multiple entries

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

    Strategy with multiple entries

    Rather than using 3 different strategies during a bull trend, is it advisable to code multiple entry criteria into one strategy to reduce memory requirements?
    If so, would you set the bars per direction at 3, use bars per entry = 1, with unique entries, name each execution, and tie exits to the named execution?
    And would the strategy simply execute each entry as they occur chronologically and ignore subsequent entries if there are already 3 contracts long?

    Thanks-
    Rick

    #2
    Hello Bionian,

    Yes in general it is always advisable to combine multiple strategies into one, the platform is more aligned with running single strategies per instrument than multiple.

    The EntriesPerDirection depends on your goal, if you intend to have 3 entries in one direction at any given time you would need to use 3 here. The order your entries are submitted and managed would depend on the remainder of your logic and setup. The entries would be executed in the order your logic allows for, anything beyond the per direction limit would be ignored. If you are looking to stagger an entry or split an entry/exit into multiple parts you can see the following example of scaling out of a position: https://ninjatrader.com/support/help...a_position.htm


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rocketman7, Today, 09:41 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by traderqz, Today, 09:44 AM
    0 responses
    1 view
    0 likes
    Last Post traderqz  
    Started by rocketman7, Today, 02:12 AM
    7 responses
    31 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by guillembm, Yesterday, 11:25 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by junkone, 04-21-2024, 07:17 AM
    10 responses
    149 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X