INVITE-ONLY SCRIPT
Updated

⚔Titan Protocol : Leviathan🐲 [MarktQuant]

334
The Leviathan strategy is a sophisticated trading system, leveraging signals derived from the TOTAL chart (CRYPTOCAP:TOTAL), which tracks the total market capitalization of all top cryptocurrencies. This strategy is optimized for crypto assets and highly crypto-correlated instruments, such as stocks and gold, making it ideal for traders aiming to capitalize on macro-level trends in the cryptocurrency market. By integrating multiple technical indicators Leviathan generates precise entry and exit signals for both long and short positions.

Key Features:
Data Source: Utilizes open, high, low, close, and OHLC4 data from the TOTAL chart to assess the broader crypto market's momentum and direction.
  • Long Entry Conditions: Triggers a long position when positive conditions are met.
  • Short Entry Conditions: Initiates a short position when negative conditions are met and "Use Shorts" is selected.
  • Exit Logic: Closes long positions when short conditions are met and "Use Shorts" is not selected, ensuring dynamic portfolio management.


Backtest Customization
Includes a configurable date range filter (default start: January 1, 2018) and performance metrics like return percentage and max drawdown, displayed in an intuitive table format.

Visualization
Features bar coloring (teal for longs, red/purple for shorts) and equity curve plotting for real-time strategy performance tracking.
Technical Components


Trading Parameters
  • Initial Capital: $10,000 (Use above $10,000,000,000 for TOTAL,TOTAL2,TOTAL3)
  • Position Sizing: 100% of equity per trade
  • Slippage: 1 pip
  • Shorts: Optional (toggleable via input)
  • Order Processing: Executes on bar close for confirmation


Disclaimer
Users should be aware that periods of decorrelation between the cryptocurrency market (as represented by the TOTAL chart) and other risk-on instruments, such as stocks or gold, may occur. During these phases, the strategy’s signals may not align with the price action of non-crypto assets, potentially impacting performance. Traders are advised to monitor market conditions and adjust their approach accordingly when applying Leviathan to assets outside the crypto domain.
Release Notes
Table Update v2
Release Notes
Script Adjustments
Release Notes
Removed extra input that served no use.
Release Notes
Improved script's loading speed.
Updated the backtest table.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.