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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    646 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    367 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
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X