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 Builder Default Properties questions

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

    Strategy Builder Default Properties questions

    I am trying to learn strategy builder and finding the help files somewhat lacking. I have two questions on Default Properties:

    1) Entry Handling. The Help file says: "Sets the manner in which entry orders are handled. If set to "AllEntries", the strategy will process all entry orders until the maximum allowable entries set by the "Entries per direction" property have been reached while in an open position."

    So lets say I have a strategy that opens a single contract position each time it identifies a trade signal. I assume the text above means that if I have "Entries per direction" set to 3, my strategy will open a maximum of 3 contracts, opening 1 contract each time it identifies a long trigger (assuming the strategy has not encountered an exit signal). Is that correct?

    If so, then I have no idea what this text from the help file means: "If set to "UniqueEntries", the strategy will process entry orders until the maximum allowable entries set by the "Entries per direction" property per each uniquely named entry have been reached." What is a "uniquely named entry"? How does an entry get "named"?

    The order management options in strategy builder are pretty basic: Open Long/Short; Exit Long/Short with a few variants for limit and stop orders. When and why would I want this set to "UniqueEntries"?

    2) Stops and Targets: The hep file describes this setting as " Sets how stop and target orders are submitted". That is incredibly vague. The menu allows two choices: "By strategy definition" and "By entry execution". Is there a detailed description somewhere of how these two settings affect stetting stops and targets? How are they different? When might I want to use one setting versus the other?

    Are there resources somewhere that fully explain (with examples) ALL the different menu, items, parameters and settings in Strategy builder?


    Thanks!

    #2
    Hello ralett,

    Thank you for your post.

    Yes, if you have entries per direction set to 3, the strategy will enter up to three times in the same direction before stopping.

    Unique entries would be used if your entries and exits are using Signal Names to differentiate them from each other. Sometimes this is just done so visually on the chart you know which order was triggered if you've got several different entry methods you're using for different scenarios. It can also be used to only exit for a specific entry.

    You can find further information about Signal Names in the help guide here:

    https://ninjatrader.com/support/help...m#EntryMethods

    As far as Stop and Target handling, there is further information in the NinjaScript Documentation:
    StopTargetHandling.ByStrategyPosition Stop and Target order quantities will match the current strategy position. (Stops and targets may result in "stacked" orders on partial fills)
    StopTargetHandling.PerEntryExecution Stop and Target orders will match the total entry execution. (Stops and targets order quantities may not match strategy position under a partial fill scenario)
    Basically, with Per Entry Execution, in the case of a partial fill separate stops and targets will be submitted separately for each partial fill, whereas with By Strategy Position, the stops and targets will be modified instead.

    You can find more here:
    https://ninjatrader.com/support/help...ethandling.htm

    I'd suggest checking in the NinjaScript section of the help guide, as pretty much everything in the Builder will be covered in more detail. We're always happy to answer questions you may have as well.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 12:56 PM
    2 responses
    15 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Felix Reichert, Today, 02:12 PM
    0 responses
    1 view
    0 likes
    Last Post Felix Reichert  
    Started by Tim-c, Today, 02:10 PM
    0 responses
    1 view
    0 likes
    Last Post Tim-c
    by Tim-c
     
    Started by cre8able, Today, 01:16 PM
    2 responses
    9 views
    0 likes
    Last Post cre8able  
    Started by chbruno, 04-24-2024, 04:10 PM
    3 responses
    49 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X