OPEN-SOURCE SCRIPT
Mis à jour

partial close sample

22
added remarks


Notes de version
Sample Strategy for Partial Close

Scenario: Close 30% of total lots at the first take profit or stop loss, then close all remaining lots when the second take profit or stop loss is reached.

Setup Alert Message: Use the following format, adjusting the symbol (e.g., US500) and quantity of lots (q) to fit your strategy:

Webhook Password
{{strategy.order.alert_message}} US500 q=11 cq={{strategy.order.comment}}%

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.