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