PROTECTED SOURCE SCRIPT
BTC EMA-VWAP Gap Signals (Cooldown Version)

This script is an indicator designed to generate bullish and bearish signals based on the relationship between two technical tools. It evaluates the market only after each candle closes, and then plots visual markers on the chart whenever the required conditions are satisfied.
The indicator also implements a cooldown system, ensuring that once a bullish or bearish signal is generated, the same type of signal cannot appear again for a user-defined duration.
⭐ User Inputs
1. EMA Length
Controls the period used for calculating the Exponential Moving Average.
Default value: 8
You can increase or decrease this to capture slower or faster short-term trends.
2. Bear Gap (Points)
A threshold value affecting when a bearish signal should appear.
Default: 500
You can increase or reduce this depending on how strict or aggressive you want bearish signals to be.
3. Bull Gap (Points)
A threshold for triggering a bullish signal.
Default: 800
A higher number means signals will appear less often, only in stronger situations.
4. Cooldown Duration (Hours)
Determines how long the script must wait before generating another signal of the same type.
Default: 4 hours
Works independently for bullish and bearish signals:
A bearish signal blocks only bearish signals for the cooldown period.
A bullish signal blocks only bullish signals for the cooldown period.
The indicator also implements a cooldown system, ensuring that once a bullish or bearish signal is generated, the same type of signal cannot appear again for a user-defined duration.
⭐ User Inputs
1. EMA Length
Controls the period used for calculating the Exponential Moving Average.
Default value: 8
You can increase or decrease this to capture slower or faster short-term trends.
2. Bear Gap (Points)
A threshold value affecting when a bearish signal should appear.
Default: 500
You can increase or reduce this depending on how strict or aggressive you want bearish signals to be.
3. Bull Gap (Points)
A threshold for triggering a bullish signal.
Default: 800
A higher number means signals will appear less often, only in stronger situations.
4. Cooldown Duration (Hours)
Determines how long the script must wait before generating another signal of the same type.
Default: 4 hours
Works independently for bullish and bearish signals:
A bearish signal blocks only bearish signals for the cooldown period.
A bullish signal blocks only bullish signals for the cooldown period.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。