600 vizualizações
This script allows you to determine the leverage required to enter one position based on the set entry price, the price of the expected take profit, stop loss and risk per transaction. It also allows you to schedule this transaction for 5 possible transactions, with different shoulders and a martingale coefficient for each subsequent gain at the same risk, allowing you to qualitatively improve the pnl of the transaction with price fluctuations after entering the transaction. The script is designed for short positions.
Notas de Lançamento: In the initial version, the liquidation price was calculated incorrectly
Script de código aberto

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Quer usar esse script no gráfico?