PROTECTED SOURCE SCRIPT
Divergência MACD + Reversão (Comprado)

This strategy is designed for long-only trades in cryptocurrency futures markets, operating exclusively on the buy side. It combines two key technical analysis concepts to identify high-probability reversal zones and trigger entries with confirmation.
1. Bullish Divergence (MACD Histogram):
The strategy looks for a bullish divergence between price and the MACD histogram. This occurs when:
Price makes a lower low (new swing low).
MACD histogram forms a higher low, indicating loss of downside momentum.
This divergence signals a potential trend reversal or bounce.
2. Reversal Confirmation (Trigger Candle):
To avoid premature entries, a confirmation candle is required:
A bullish candlestick must close above the high of the previous bar.
This candle serves as a "trigger" for the actual trade entry.
3. Entry Conditions:
A trade is entered only when both:
A valid bullish divergence is detected.
A bullish reversal candle is confirmed, or the MACD histogram crosses into positive territory.
📉 Risk Management
Stop Loss: Set just below the most recent swing low (the divergence low).
Take Profit: Calculated based on a customizable Risk:Reward ratio (e.g., 2:1).
Trailing Stop: Optional feature that follows price with a dynamic stop once the trade is in profit, helping to lock in gains.
1. Bullish Divergence (MACD Histogram):
The strategy looks for a bullish divergence between price and the MACD histogram. This occurs when:
Price makes a lower low (new swing low).
MACD histogram forms a higher low, indicating loss of downside momentum.
This divergence signals a potential trend reversal or bounce.
2. Reversal Confirmation (Trigger Candle):
To avoid premature entries, a confirmation candle is required:
A bullish candlestick must close above the high of the previous bar.
This candle serves as a "trigger" for the actual trade entry.
3. Entry Conditions:
A trade is entered only when both:
A valid bullish divergence is detected.
A bullish reversal candle is confirmed, or the MACD histogram crosses into positive territory.
📉 Risk Management
Stop Loss: Set just below the most recent swing low (the divergence low).
Take Profit: Calculated based on a customizable Risk:Reward ratio (e.g., 2:1).
Trailing Stop: Optional feature that follows price with a dynamic stop once the trade is in profit, helping to lock in gains.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
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.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
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.