What problem this strategy targets
Classic MACD histogram zero-line flips are a common regime switch. MACD ReLoaded by KivancOzbilgic lets you rebuild MACD with many MA families (including VAR/T3) and flips long/short when hist crosses zero.
Pine v5 strategy(). Author showcase: BINANCE:BTCUSDT, 1D.

Logic overview
Custom getMA supports SMA/EMA/WMA/DEMA/TMA/VAR/WWMA/ZLEMA/TSF/Hull/T3. hist = MACD − Trigger. Defaults 12/26/9, VAR, T3 factor 0.7.
Entries
- Long when hist crosses over 0.
- Short when hist crosses under 0.
- Bounded by From/To date inputs (default from 2018).
Exits, stops, take-profit, sizing
- Opposite entry reverses the position; no dedicated ATR stop/TP inputs.
- Uses strategy default sizing.
- Add hard stops only via your own changes (keep MPL 2.0).

Parameters (source defaults)
| Input | Default | Role |
|---|---|---|
| Short Moving Average Length | 12 | Fast length |
| Long Moving Average Length | 26 | Slow length |
| Trigger Length | 9 | Signal length |
| Moving Average Type | VAR | MA family for MACD |
| TILLSON T3 Volume Factor | 0.7 | T3 volume factor |
| From/To Date | 2018 … 9999 | Backtest window |
Markets, timeframes, limits
- Author showcase: BTCUSDT daily; other markets unverified.
- Zero-line whipsaws can mean high turnover.
- No external libs; repaint not tested by Coinpred.
TradingView setup guide
- Download the .pine file from Coinpred (membership required; see below) or compare with the original publication page.
- Open TradingView → Pine Editor, create a blank script, paste the full source, then save.
- Click Add to chart. Confirm it is a strategy() script so the Strategy Tester is available.
- Review defaults in the Inputs panel using the parameter table below, then tune for your symbol and timeframe.
- Inspect signals in the Strategy Tester before wiring alerts. Historical curves are not a promise of future results.
Verification and backtests
Download rights and version notes
- Author: KivancOzbilgic; original title: MACD ReLoaded; version: 2.0 (pine-facade).
- License: MPL 2.0; Coinpred ships the unmodified full source file.
- Original page: https://www.tradingview.com/script/VO6DY8s1-MACD-ReLoaded-STRATEGY/
- Pine version: v5; type: strategy().
- Charts are author showcase images; image rights are outside MPL and captions are labeled accordingly.
- Downloads follow Coinpred membership rules; modified source files must remain under MPL 2.0.
