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!

snapshot

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 %


snapshot

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.

snapshot

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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal