OPEN-SOURCE SCRIPT

Buy Sell Magic Rework

132
syot kilat
A version of the legendary Forex indicator Buy Sell Magic for TradingView, with optional additional filtering in the settings.
A simple yet very effective trend-following tool — I personally used it for trading gold 14 years ago, and it still works great today!

How it works:
This script combines the classic Parabolic SAR trend indicator with an optional ZigZag filter for additional signal confirmation.

Parabolic SAR:
The indicator plots the Parabolic SAR on the chart to help identify trend direction and potential reversals. A buy signal is generated when the SAR flips from above the price to below it, signaling a possible uptrend. A sell signal appears when the SAR moves from below to above the price, indicating a potential downtrend.

ZigZag Filter (optional):
The ZigZag filter uses pivot highs and lows to reduce market noise and confirm significant swings. When enabled, a signal is shown only after a clear pivot forms in the chosen period.

Inputs:

ZigZag Period: Controls pivot sensitivity.

SAR Start, Increment, Max: Adjust how responsive the SAR is.

Use ZigZag Filter: Enable or disable additional filtering.

Plots:

Gray crosses = Parabolic SAR points

Green arrows = Buy signals

Red arrows = Sell signals

Best Use:
This tool works well on various markets: Forex, crypto, stocks. It is best suited for trend-following or swing trading strategies. Adjust the settings for your preferred asset and timeframe, and always backtest before live trading.

⚠️ Disclaimer: This script is for educational purposes only and does not constitute financial advice. Always test any strategy thoroughly and trade at your own risk.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.