PROTECTED SOURCE SCRIPT
已更新

RealTime Max Leverage

2 124
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。