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 rbeckmann05, Yesterday, 06:48 PM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Working...
    X