OPEN-SOURCE SCRIPT
CryptoRSI

CryptoRSI – Presets
This strategy is inspired by the work of Pavel Kýček (Robuxio).
CryptoRSI is a rule-based approach built around RSI extremes with a simple market regime filter.
Core idea
The strategy seeks to participate in strong upside phases after momentum becomes extreme.
It does so by combining:
Presets
Only one input is exposed: the Preset.
Entry rule
Market filter (BTC regime)
A market filter is enabled by default.
When the filter is not satisfied, the background turns red.
Exit rule
Exit depends on the preset:
Chart elements
Important notes
This strategy is inspired by the work of Pavel Kýček (Robuxio).
CryptoRSI is a rule-based approach built around RSI extremes with a simple market regime filter.
This is a systematic framework. It does not guarantee results. Crypto markets are volatile and can produce long streaks of false signals.
Core idea
The strategy seeks to participate in strong upside phases after momentum becomes extreme.
It does so by combining:
- An RSI-based entry rule
- A regime filter based on BTC vs its EMA
- A mechanical exit rule (WMA or RSI threshold, depending on preset)
Presets
Only one input is exposed: the Preset.
- Original – smoother and more selective. Fewer signals, typically higher quality.
- Agressif – faster RSI and higher thresholds. More signals, more noise.
Entry rule
- RSI is computed on the traded symbol.
- In Original, RSI is smoothed (SMA smoothing) to reduce noise.
- A long entry triggers when RSI exceeds the Buy Threshold.
Market filter (BTC regime)
A market filter is enabled by default.
- The filter uses BITSTAMP:BTCUSD on the Daily timeframe.
*Trades are allowed only when BTC is above its EMA(50).
When the filter is not satisfied, the background turns red.
Exit rule
Exit depends on the preset:
- Original: exit when price crosses below a WMA(50).
- Agressif: exit when RSI drops below the Sell Threshold.
Chart elements
- RSI plot (smoothed or raw depending on preset)
- Horizontal lines showing Buy / Sell thresholds
- Background regime highlighting the market filter
Important notes
This strategy is long-only.
Backtests assume frictionless execution (no fees, no slippage). Real-world results may differ significantly.
The objective is to provide a consistent decision framework, not to predict tops or bottoms.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.