OPEN-SOURCE SCRIPT
BTC 50/50 - Hitz2kk

BTC 50/50 is a 15-minute Bitcoin signal indicator built to identify potential reversal and continuation setups after a liquidity sweep. The indicator is designed for BTCUSD and BTCUSDT traders who want a structured chart tool rather than a strategy backtest.
The script combines multiple conditions into one signal framework:
1) Liquidity sweep detection
The indicator first checks whether price has taken liquidity above or below a recent swing range.
• A bullish sweep occurs when price trades below the lowest low of the selected lookback period.
• A bearish sweep occurs when price trades above the highest high of the selected lookback period.
This is used to highlight areas where stop runs or forced liquidity grabs may have occurred.
2) Displacement candle confirmation
A sweep alone is not enough. After the sweep, the indicator requires a displacement candle in the opposite direction of the sweep.
This displacement candle is measured using candle body size relative to ATR. The goal is to confirm that price is not only taking liquidity, but also showing enough strength to move away from that level.
• For a bullish setup, the confirmation candle must close strongly bullish.
• For a bearish setup, the confirmation candle must close strongly bearish.
3) Higher timeframe trend alignment
The script uses a higher timeframe EMA filter to avoid taking signals against broader market direction.
• Long setups are favoured when both the higher timeframe close and current timeframe close are above the EMA.
• Short setups are favoured when both are below the EMA.
This helps reduce random countertrend signals.
4) Higher timeframe RSI filter
The indicator also uses a higher timeframe RSI filter to measure broader momentum.
• Long setups require higher timeframe RSI to remain above a bullish threshold.
• Short setups require higher timeframe RSI to remain below a bearish threshold.
This adds another level of directional confirmation.
5) VWAP filter
An optional VWAP filter is included to help align signals with intraday market positioning.
• Long setups require price to be above VWAP.
• Short setups require price to be below VWAP.
This helps avoid taking signals that are fighting the intraday session bias.
6) Volume filter
An optional volume filter is included to remove weaker setups.
The indicator checks whether current volume is above a moving average of volume multiplied by a user-defined factor. This is intended to keep more attention on signals that occur with stronger participation.
7) Session filter
The script can be restricted to the London and New York sessions. This is useful because BTC often produces cleaner and more active moves during higher liquidity periods.
________________________________________
How the indicator works on chart
When all selected conditions align, the script prints a signal:
• BUY = bullish liquidity sweep + bullish displacement candle + trend/momentum/session confirmation
• SELL = bearish liquidity sweep + bearish displacement candle + trend/momentum/session confirmation
It also displays:
• EMA
• VWAP
• sweep markers
• a bias panel showing trend, VWAP position, HTF RSI and session status
• alert conditions for BUY and SELL signals
________________________________________
Best use case
This indicator is intended for:
• BTCUSD
• BTCUSDT
• 15-minute charts
It is best used as a confluence tool for discretionary trading, not as a guarantee of future performance.
Suggested workflow
1. Apply the indicator to a 15-minute BTC chart.
2. Use the bias panel to check overall conditions.
3. Wait for a BUY or SELL signal to appear after a sweep.
4. Confirm the setup with your own risk management, structure reading, and execution plan.
Notes
This script is not a generic EMA crossover or standard RSI signal tool. Its purpose is to combine liquidity sweeps, displacement confirmation, higher timeframe trend, momentum bias, VWAP position, and optional volume/session filtering into one simplified Bitcoin setup model.
Author
Published by hitz2kk
The script combines multiple conditions into one signal framework:
1) Liquidity sweep detection
The indicator first checks whether price has taken liquidity above or below a recent swing range.
• A bullish sweep occurs when price trades below the lowest low of the selected lookback period.
• A bearish sweep occurs when price trades above the highest high of the selected lookback period.
This is used to highlight areas where stop runs or forced liquidity grabs may have occurred.
2) Displacement candle confirmation
A sweep alone is not enough. After the sweep, the indicator requires a displacement candle in the opposite direction of the sweep.
This displacement candle is measured using candle body size relative to ATR. The goal is to confirm that price is not only taking liquidity, but also showing enough strength to move away from that level.
• For a bullish setup, the confirmation candle must close strongly bullish.
• For a bearish setup, the confirmation candle must close strongly bearish.
3) Higher timeframe trend alignment
The script uses a higher timeframe EMA filter to avoid taking signals against broader market direction.
• Long setups are favoured when both the higher timeframe close and current timeframe close are above the EMA.
• Short setups are favoured when both are below the EMA.
This helps reduce random countertrend signals.
4) Higher timeframe RSI filter
The indicator also uses a higher timeframe RSI filter to measure broader momentum.
• Long setups require higher timeframe RSI to remain above a bullish threshold.
• Short setups require higher timeframe RSI to remain below a bearish threshold.
This adds another level of directional confirmation.
5) VWAP filter
An optional VWAP filter is included to help align signals with intraday market positioning.
• Long setups require price to be above VWAP.
• Short setups require price to be below VWAP.
This helps avoid taking signals that are fighting the intraday session bias.
6) Volume filter
An optional volume filter is included to remove weaker setups.
The indicator checks whether current volume is above a moving average of volume multiplied by a user-defined factor. This is intended to keep more attention on signals that occur with stronger participation.
7) Session filter
The script can be restricted to the London and New York sessions. This is useful because BTC often produces cleaner and more active moves during higher liquidity periods.
________________________________________
How the indicator works on chart
When all selected conditions align, the script prints a signal:
• BUY = bullish liquidity sweep + bullish displacement candle + trend/momentum/session confirmation
• SELL = bearish liquidity sweep + bearish displacement candle + trend/momentum/session confirmation
It also displays:
• EMA
• VWAP
• sweep markers
• a bias panel showing trend, VWAP position, HTF RSI and session status
• alert conditions for BUY and SELL signals
________________________________________
Best use case
This indicator is intended for:
• BTCUSD
• BTCUSDT
• 15-minute charts
It is best used as a confluence tool for discretionary trading, not as a guarantee of future performance.
Suggested workflow
1. Apply the indicator to a 15-minute BTC chart.
2. Use the bias panel to check overall conditions.
3. Wait for a BUY or SELL signal to appear after a sweep.
4. Confirm the setup with your own risk management, structure reading, and execution plan.
Notes
This script is not a generic EMA crossover or standard RSI signal tool. Its purpose is to combine liquidity sweeps, displacement confirmation, higher timeframe trend, momentum bias, VWAP position, and optional volume/session filtering into one simplified Bitcoin setup model.
Author
Published by hitz2kk
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。