Max position size

Forums ProRealTime English forum ProOrder support Max position size

  • This topic has 6 replies, 4 voices, and was last updated 5 years ago by avatarrama.
Viewing 7 posts - 1 through 7 (of 7 total)
  • #21526

    Hello.

     

    I have an ongoing auto trade on Spot Gold 2 min chart.

     

    When I start the auto trade I am asked the max position size I want. I set it for 2.

    I buy 1 contract in the code. The code buys 1 contract. Sometimes it does not reach the sell condition and it falls back and reaches the buy conditions I set one more time. Now the price may be lower than the buying price on the first contract I bought earlier.

     

    How can I now buy one new contract even though I already have one?

    #21533

     

    #21536

    Hi, I’ll edit your previous message for you, but please:

    For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text of the code part! Thank you! <<

    https://www.prorealcode.com/topic/automatic-trading-support-posting-rules/

    #21539

    If you want to add another position, while you are already on market, just set this line to true:

    Now the system will know you allow it to have more than 1 order on market.

     

    #21542

    Thanks.

     

    It works.

     

    Is it then limitited to the maxs position size I set when I start the auto trade?

     

    #21546

    The max position size you set when you launch a strategy with ProOrder will ALWAYS be a priority to what you have coded as max positions/orders in your script.

    #87593

    DEFPARAM CumulateOrders = False

     

    say maximum position size “2” amount/pt

     

    does it mean maximum points or amount should be open max at any given point time

    if the program conditions are met any it will keep open  a maximum of 2 points or amount

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

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