Maximum Contracts

Forums ProRealTime English forum ProOrder support Maximum Contracts

Viewing 10 posts - 1 through 10 (of 10 total)
  • #96841

    Hello,

    when i have defparam on true, how can i during a backtest set a maxium contracts that can be open?

    In the real money mode you can set the maxium contracts at the beginning, but that is not possible in the backtest mode.

     

    thanks for support

    #96842

    You can try something like this:

    Not tested.

    #96843

    You can use:

    So you can test, say, that you don’t have more than 3 contracts open:

     

     

    #96844

    You were so fast Vonasi, I was still typing while you were posting!

    #96845

    it works, many thanks

    #96846

    I am too late 😆

    #96847

    I am too late

    You snooze you lose! I even had time to edit the title to get rid of the ‘shouty’ capitals and misspelling before you got here – you are being slowed down due to eating too many Easter eggs I think!

    #96854

    hahahaha … good job you 3 fast guns are here! 🙂

    #96855

    hahahaha … good job you 3 fast guns are here! 🙂

    As Sheriff of the Code Snippets Library I thought you was gonna say that you corralled it into there!

    #96858

    Yep … all rounded up and locked away in here

    Snippet Link Library 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login