PROTECTED SOURCE SCRIPT
Gaussian MACD RSI v2

Gaussian Filter MACD Strategy (Zero Cross + RSI Gate)
What it does
This strategy evaluates momentum using a Gaussian-smoothed MACD and requires a MACD zero-line cross to confirm trend initiation. A configurable RSI threshold filters weak signals, aiming to reduce whipsaws around the zero line. Entries occur only when momentum and baseline strength agree; exits are triggered by MACD crossing below its signal to capture the meat of the move while avoiding discretionary overrides.
How it works (concepts, not code)
Gaussian MACD: The fast/slow components are smoothed with a Gaussian-style filter to reduce noise relative to standard EMA MACD.
Zero-line confirmation: Longs require MACD to cross above zero, aligning entries with positive momentum regimes.
RSI gate: A threshold (default 50) further filters entries so that only setups with baseline strength qualify.
Exit logic: Positions close when MACD crosses below its signal line, providing an objective exit without trailing logic.
Sources: The script supports standard and Heikin-Ashi-derived sources for traders who prefer alternate preprocessing.
How to use it
Add the strategy to a clean chart.
Keep default settings for initial testing; then adjust the RSI threshold and symbol/timeframe for your market.
Favor liquid instruments where slippage and fills are reliable.
Forward-test and walk-forward before any live use.
Default Properties (used for this publication)
Initial Capital: $25,000
Order Size: 100% of equity per trade (no leverage).
Commission: 0.02% per side.
Slippage: 2 ticks (or 0.02% on percent-based markets).
Timeframe used for the published chart: 15-minute (example)
Dataset: SPY/QQQ/large-cap equities (2+ years) producing 100+ trades in sample.
Note: This strategy does not use hard stops by default. If you prefer risk caps ≤ 5–10% per trade, add a stop in the Inputs and re-publish; otherwise, this description explains the deviation per House Rules.
Disclosures
Backtest results are estimates; real-world fills, slippage, and availability may differ. No guarantee of performance. Use prudent position sizing and independent verification.
What it does
This strategy evaluates momentum using a Gaussian-smoothed MACD and requires a MACD zero-line cross to confirm trend initiation. A configurable RSI threshold filters weak signals, aiming to reduce whipsaws around the zero line. Entries occur only when momentum and baseline strength agree; exits are triggered by MACD crossing below its signal to capture the meat of the move while avoiding discretionary overrides.
How it works (concepts, not code)
Gaussian MACD: The fast/slow components are smoothed with a Gaussian-style filter to reduce noise relative to standard EMA MACD.
Zero-line confirmation: Longs require MACD to cross above zero, aligning entries with positive momentum regimes.
RSI gate: A threshold (default 50) further filters entries so that only setups with baseline strength qualify.
Exit logic: Positions close when MACD crosses below its signal line, providing an objective exit without trailing logic.
Sources: The script supports standard and Heikin-Ashi-derived sources for traders who prefer alternate preprocessing.
How to use it
Add the strategy to a clean chart.
Keep default settings for initial testing; then adjust the RSI threshold and symbol/timeframe for your market.
Favor liquid instruments where slippage and fills are reliable.
Forward-test and walk-forward before any live use.
Default Properties (used for this publication)
Initial Capital: $25,000
Order Size: 100% of equity per trade (no leverage).
Commission: 0.02% per side.
Slippage: 2 ticks (or 0.02% on percent-based markets).
Timeframe used for the published chart: 15-minute (example)
Dataset: SPY/QQQ/large-cap equities (2+ years) producing 100+ trades in sample.
Note: This strategy does not use hard stops by default. If you prefer risk caps ≤ 5–10% per trade, add a stop in the Inputs and re-publish; otherwise, this description explains the deviation per House Rules.
Disclosures
Backtest results are estimates; real-world fills, slippage, and availability may differ. No guarantee of performance. Use prudent position sizing and independent verification.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。