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!

снимок

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 %


снимок

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.

снимок

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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


Мои профили:

Отказ от ответственности