Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position Sizing in Strategy Wizard

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

    Position Sizing in Strategy Wizard

    In the NT7 wizard, is it possible to calculate a long or short position entry size base on the hight of a prior bar?
    If it isn't possible using the wizard, can I create a separate code fragment which I can call from other strategies created by the wizard?
    I noticed that from the wizard there is a Strategy called 'Default order quantity' but so far can't find what it does or how to modify what it does. Could I edit that to achieve the above?
    Last edited by vlc; 10-14-2010, 01:44 PM. Reason: Clarification that this refers to NT7

    #2
    Hello VLC,

    You would have to work with code in someway. When you create an order placement action in the strategy wizard, you have quantity field to select. This quantity can be based on the plot value of a custom indicator.

    DefaultQuantity allows you to type in a value used for order quantities. It's just a public input allowing you to type in a quantity to use whenever you use the variable DefaultQuantity.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    388 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    259 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    218 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    301 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    268 views
    0 likes
    Last Post CarlTrading  
    Working...
    X