OPEN-SOURCE SCRIPT

Liquidation Risk Suite [Mxwll]

Hello traders 👋

This indicator "Liquidation Risk Suite" hosts various features that allow the trade to determine optimal position sizing, leverage, profit targets, and more!

Features
  • Customizable entry price and time
  • From the entry price, a user-defined number of liquidation levels by leverage are shown
  • From the entry price, a user-defined number of profit targets by leverage are shown
  • User-defined ROI % target. Liquidation levels and profit targets automatically change to account for the traders' desired profit percentage.
  • Calculate for long and short positions
  • Trader can set portfolio balance and investment per trade - indicator will warn the trader when the investment per trade is too high relative to the portfolio balance.


How this script works

The Liquidation Risk Suite is designed to help traders determine position sizing, appropriate risk for their position (leverage, etc.), and potential profit targets from their entry point.

Upon loading the script, the script will prompt you for an entry price and entry time. Simply click the screen at the appropriate locations (your entry price and entry bar) and, from there, the script will calculate various liquidation levels, determine whether your trade has achieved the desired profit at various leverages, and provide various trading metrics such as % risk of portfolio, ROI target %, profit at target, and more!

cuplikan

The image above outlines various trade-related metrics for your position!

These metrics include:

  • Status of trade (profit or loss) for various common leverage amounts
  • Portfolio balance
  • Investment amount
  • Price target (calculated from desired ROI%)
  • Profit at target (calculated from desired ROI% and leverage used)
  • Portfolio risk
  • Entry price
  • Entry time
  • ROI Target %


cuplikan

The image above explains the output of the script, including line style indications!

Solid lines indicate that the leverage used for at your entry price constitutes an active trade. Dotted lines mean the trade has already achieved your profit target for that leverage, or stopped out.

cuplikan

Additionally, the script can calculate pertinent metrics for short positions!

That's all, just a simple, sweet script to help traders figure out what leverage to use for their positions, the risk they're taking on, and potential stop and profit levels!

Thank you to kaigouthro for his colors library!

liquidationsmxwllriskstatistics

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?

Pernyataan Penyangkalan