//SET STOP %TRAILING one contract

Forums ProRealTime English forum ProRealTime platform support //SET STOP %TRAILING one contract

Viewing 3 posts - 1 through 3 (of 3 total)
  • #201716

    Hi 🙂

     

    Say that i have 10 contracts on the market, and I only want a stop trailing on one contract.

    is there a way to do that?

    Greets Fredrik

    #201733

    No, stops, as well as targets, are set for ALL contracts.

    You can overcome this by using a code snippet (there are dozens on this forum, just search for TRAILING STOP, or TRAILING), instead of the built-in TRAILING instrucion. Whenver you reach a desired gain for ONE contract you can close it (with AT MARKET orders, not pending ones) and let the other ones open.

     

     

    #201738

    Big thanks for your reply.

    I am working in 5min candles,

    and within the candle the contracts can drop quick, and I want the trailing then to sell one of my 10 contracts only if it drops.

    currently, when I use the //SET STOP %TRAILING then it sells all my contracts.

    So, in normal, the code sells and buy in 5 min steps.

    but with this function, I would like to respond quicker with only 1 contract.

     

     

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

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