OPEN-SOURCE SCRIPT

GAP Finder with Dollar Difference by RadionovCrypto

已更新
**GAP UP Detection:**

- The current candle’s low must be higher than the previous candle’s high (high[1]).

**GAP DOWN Detection:**

- The current candle’s high must be lower than the previous candle’s low (low[1]).

**Visualization:**

- If a GAP UP is detected, a symbol appears below the candle with the text "GAP UP," and a label displays the dollar difference between the candles.
- If a GAP DOWN is detected, a symbol appears above the candle with the text "GAP DOWN," and a label displays the dollar difference between the candles.

**Explanation:**

- GAP UP is identified when the entire candle (body and wicks) is above the previous candle’s high.
- GAP DOWN is identified when the entire candle (body and wicks) is below the previous candle’s low.

This ensures that only situations where the new candle is completely outside the previous candle are considered as a GAP.

When a GAP is found, a label with the dollar difference between the candles appears on the chart, making it easy to track the gap’s value.

The indicator is particularly useful at the opening of trading sessions in stock markets. It’s optimal to search for GAPs at session transitions on a 5-minute timeframe.

I hope it adds clarity and precision to your trading strategy.

Enjoy trading.

Best regards,
**Radionov Crypto**

---
GAP UP Detection:

Мінімум (low) поточної свічки повинен бути вище за максимум (high[1]) попередньої свічки.
GAP DOWN Detection:

Максимум (high) поточної свічки повинен бути нижче за мінімум (low[1]) попередньої свічки.
Візуалізація:

Якщо було знайдено GAP UP, на графіку з'являється символ нижче свічки з текстом "GAP UP" та етикетка з різницею у доларах між цінами свічок.
Якщо було знайдено GAP DOWN, на графіку з'являється символ вище свічки з текстом "GAP DOWN" та етикетка з різницею у доларах між цінами свічок.
Пояснення:

GAP UP визначається, коли ціла свічка (тіло і тінь) знаходиться вище за максимум попередньої свічки.
GAP DOWN визначається, коли ціла свічка (тіло і тінь) знаходиться нижче за мінімум попередньої свічки.
Це забезпечує, що тільки ті випадки, де нова свічка повністю знаходиться поза попередньою свічкою, будуть враховані як GAP.

Якщо було знайдено GAP, на графіку з’являється етикетка з різницею у доларах між свічками, що дозволяє легко відстежувати значення розриву.

Індикатор зручно використовувати на стиках торгівельних сессій на фондових ринках. Оптимально шукати GAP саме на стиках сессій на таймфреймі 5 хвилин.

Сподіваюся, що він додасть до вашої торгівельної стратегії соковитості й точності.

Приємного користування.

Із повагою,
Radionov Crypto
版本注释

  • Instead of "#.##", "#.####" is now used, which allows you to display 4 digits after the decimal point;
  • Added the alertChoice parameter, which allows the user to choose what type of notifications they want to receive: only GAP UP, only GAP DOWN, or both

Bands and ChannelsChart patternsgapictradionovcrypto

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明