OPEN-SOURCE SCRIPT
Updated Marcin Bitcoin

📊 Core Logic and Conditions
✅ Entry Condition (Long):
Buy signal occurs when all of the following are true:
🔼 Uptrend — The centerline of the Gaussian filter (filt) is going up.
💥 Breakout — The current price is above the upper band of the Gaussian channel (close > hband).
⚡ Momentum — The Stochastic RSI %K is greater than 80, meaning the price is in a strong overbought zone (indicating strong momentum).
📅 Within the Date Range — The current bar is within the selected backtest window.
➡️ If all are true, the strategy enters a long position.
❌ Exit Condition (Close Position):
Sell signal (close position) occurs when:
The price crosses below the upper band (crossunder(close, hband))
Within the selected time window
➡️ This acts as a trailing stop — the position is held as long as the price stays above the breakout band.
🧠 Why It Might Work
The strategy tries to catch strong upward breakouts with high momentum.
It avoids chop and sideways moves by requiring:
Trend confirmation (filter rising),
Momentum confirmation (Stoch > 80),
Breakout (price > upper band)
✅ Entry Condition (Long):
Buy signal occurs when all of the following are true:
🔼 Uptrend — The centerline of the Gaussian filter (filt) is going up.
💥 Breakout — The current price is above the upper band of the Gaussian channel (close > hband).
⚡ Momentum — The Stochastic RSI %K is greater than 80, meaning the price is in a strong overbought zone (indicating strong momentum).
📅 Within the Date Range — The current bar is within the selected backtest window.
➡️ If all are true, the strategy enters a long position.
❌ Exit Condition (Close Position):
Sell signal (close position) occurs when:
The price crosses below the upper band (crossunder(close, hband))
Within the selected time window
➡️ This acts as a trailing stop — the position is held as long as the price stays above the breakout band.
🧠 Why It Might Work
The strategy tries to catch strong upward breakouts with high momentum.
It avoids chop and sideways moves by requiring:
Trend confirmation (filter rising),
Momentum confirmation (Stoch > 80),
Breakout (price > upper band)
Release Notes
vol 2Release Notes
Making life easy.Release Notes
Sorry guys, the previous one was for the private use. I did not know I cannot delete if I publish it to the public. It was the first try out!Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.