lysergik

RealTime Max Leverage

lysergik Обновлено   
Ever wanted a script that could tell you what is the maximum reasonably safe leverage if you were to open a trade and hold it for a given number of candles? This is it!

Using rate of change based volatility and the maximum expected number of candles/periods you will hold your trade for, based on your risk profile this indicator will tell you what is the maximum reasonable leverage.
Stop losses / take profits or some other prudent exit strategy should not be avoided. The idea is effectively to prevent yourself from using leverage that is too risky for the current market conditions on whatever timeframe you are entering your trade based on.

If you have any suggestions on how to improve the indicator, please leave a comment below!
Информация о релизе:
- Added 'valid for:' in the live-table
- Fixed small text issues
Информация о релизе:
- Improved the default settings
Информация о релизе:
- Lowered the risk in the low-risk profile
- Added 'Sketchy' risk profile
Информация о релизе:
- Added 'recommended' risk profile (lowest risk while still accepting some leverage)
- Added cross-margin and isolated margin settings which affect the minimum and maximum leverage regardless of the volatility
- Changed the default settings to make the indicator a bit faster to react to market changes
Информация о релизе:
- Small adjustments
Информация о релизе:
New Features

- Improved Cross-margin mode
- Added liquidation levels
- Reorganized the settings
- Added fill color
Информация о релизе:
- Fixed a bug causing 'Low-ish Risk' profile to not work
- Updated the preview-chart
Информация о релизе:
- Clarified the settings
- Open-position max leverage text being yellow now indicates increasing risk
Информация о релизе:
- Added mini table option
- Changed several math variables / limits
- Cleaned Code a bit
Информация о релизе:
- Added symbols in the table to represent changing risk
Информация о релизе:
- Better color logic
- Hide new-position leverage plot by default
Информация о релизе:
- Fixed issue with displaying decimals
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом, вы можете свободно им пользоваться. Можно добавить его в избранное и использовать на графике. Вы не можете просматривать или менять его исходный код.
Отказ от ответственности

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

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