How to setup multiple Take Profits?

Should there be multiple lines for each TP? if yes, then should there also be quantity mentioned for each TP?

Hello @mtahreemalam,
No. We do support one TP at a time.

There are however two ways you can use to achieve multiple take profits;

  1. Splitting up your position into smaller portions with different take profits. In this case, each position will be closed when its own tp is hit.
    BUY EURUSD Q=0.01 TP=1.1234
    BUY EURUSD Q=0.01 TP=1.345
    BUY EURUSD Q=0.01 TP=1.456

  2. Using partial close command. In this case, you open one position, and each time your tp level is hit, have your TradingView script send a partial close command with the quantity to close.
    For example, CLOSE EURUSD Q=0.01.

Regards.

Hi Tash, is it possible to implement the method 1. splitting up the position of 2 contracts into 2 smaller portions with different TPs for strategy script, for example, using the following payload in the alert message of Tradingview::

{{strategy.market_position}} MNQM24 Q=1 TP=500 MNQM24 Q=1 TP=1000

Please advise, thanks.

Hello @timwey

No, the correct format must be followed. That is, each command should start on a new line. In your case, the correct format should be:

{{strategy.market_position}} MNQM24 Q=1 TP=500
{{strategy.market_position}} MNQM24 Q=1 TP=1000

Tash.

Hey Tash,
So I’ve got a similar problem. When I do it like the way you described, my orders and take profit orders are combined into one. How can I change that?

Hello @Ted-247

Which platform are you using? It is not possible to get this combined on Meta Trader.

Tash.
.

Sorry to revive an old topic, but I’m facing the same issue.

I’m trying to use your 2nd option here, but it closes the whole position.

I’m using cTrader, and for example, my entry position works well when it runs:
buy XTIUSD q=0.03

But when the webhook is triggered again later with the command close XTIUSD q=0.01, it closes the entire position.

Not sure how to fix this.

Thanks

@Lucem Could you let us know when cTrader Close command will start supporting the Q parameter?