Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

infinite value ?

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

    infinite value ?

    Code:
    protected override void Initialize(){
         EntriesPerDirection=[B]1000[/B];
    }
    In this case, instead of writing down a high value, is there a key word to mean "Infinite" as in "as much entries per direction as possible"?

    Something along those lines

    Code:
    protected override void Initialize(){
         EntriesPerDirection=[B]Infinite[/B];
    }
    ?

    #2
    Hello,

    Because EntriesPerDirection takes an int value, you will have to assign it a large value if you wish to use a very large number of entries.

    You may want to look into using Int32.MaxValue however keep in mind there may be various order rejection and margin issues that you may run into along the way when trading this many entries.

    Please let me know if I can be of further assistance.
    Last edited by NinjaTrader_Lance; 01-02-2013, 09:00 AM.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    51 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X