OPEN-SOURCE SCRIPT
Buy Sell Magic Rework

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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.