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
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.
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.