Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EntriesPerDirection for FOREX

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

    EntriesPerDirection for FOREX

    Hello Support,
    I am wondering,
    1. for Forex instrument, does EntriesPerDirection parameter need to be 10 to 100 thousands as well like the quantity?

    2. If I want to limit EntriesPerDirection, can I just do it at Initialize or it needs to be processed at each OnBarUpdate?

    3. Is Initialize method called twice? when user open the dialog box and when user click ok on the dialog box ?


    Thanks.
    Regards,
    EdwardK

    #2
    Hello Edwardk,

    1) No, EntriesPerDirection is set by the entry signal names. It's not connected to order quantity. The quantity of orders is set within the Enter() methods. There is not a different convention used for FOREX compared to other markets.

    2) You can only set EntriesPerDirection in Initialize().

    3) Yes, Initialize() is called more than once. If you want to check exactly when it's called, add a print statement and you can check in tools > output window each time. Note that it's called for every strategy you have, not just the one you're using.

    Print("Initialize Called " + DateTime.Now);
    Last edited by NinjaTrader_RyanM1; 12-08-2010, 12:12 PM.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    639 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    572 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X