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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    56 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X