PROTECTED SOURCE SCRIPT

Rapha Crypto - Bot

11
1. Purpose of the Indicator
This indicator was designed to be used alongside the Rapha Crypto Bot. Its goal is to help identify market conditions where the bot performs best. The bot operates more efficiently on assets showing a minimum candle volatility of 0.5%, and this indicator measures exactly that.

2. How the Indicator Works
For each candle, the indicator calculates the full amplitude (including wicks) using:
Pine Script®
Amplitude = (high - low)/low ×100


Based on this, it provides three key pieces of information:

  1. Consistency: how many candles within the selected window reached at least the minimum required volatility (0.5%).
  2. Average per Candle: the average amplitude of all candles in the window, helping you verify whether the asset has enough volatility to support bot operations.
  3. Window Amplitude and Price Variation: additional context about how much the asset moved within the selected period.


All metrics are displayed in a dashboard format for quick and easy interpretation.

3. Analysis Window
By default, the indicator evaluates 20 candles. Within these 20 candles, it measures:
How many candles meet the minimum volatility threshold.
The average candle amplitude.
The overall price behavior during the window.

4. Recommended Time Frames
The recommended time frames for analysis are 15 minutes or 5 minutes.
Suggested workflow:
→ 15m or 5m: analyze whether the asset shows sufficient structural volatility.
→ 1m: execution time frame for the bot itself.

In other words, use the indicator as a pre-operational filter on 15m or 5m, then allow the bot to execute trades on the 1m chart when conditions are favorable.

5. Dashboard Interpretation
Asset: the current symbol.
Window: number of candles considered (default 20).
Minimum Variation: amplitude required per candle (default 0.5%).
Consistency: percentage of candles in the window that reached or exceeded the minimum volatility. Higher consistency indicates a better environment for the bot.
Average per Candle: the average amplitude across the window. This should preferably be above the minimum threshold.
Window Amplitude: total movement between the highest high and lowest low in the window.
Price Variation: percentage change between the first and last close in the window.
These metrics help determine whether an asset is volatile enough for the bot to operate efficiently.

6. Visual Highlighting
Values above the minimum volatility threshold are highlighted in green.
Values below are highlighted in red.
This makes it easier to identify favorable assets at a glance.

7. Practical Usage with the Rapha Crypto Bot
Before enabling the bot:
Open the asset on a 15m or 5m chart.
Check whether both Consistency and Average per Candle are above 0.5%.
If the asset meets these criteria, the bot can be used on the 1m chart with improved effectiveness.

8. Benefits of the Indicator
Prevents trading on assets with low or stagnant volatility.
Improves strategy accuracy by ensuring the environment is suitable before the bot starts working.
Offers a fast and clear volatility overview.
Acts as a valuable pre-trade filter to enhance bot performance.

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.