Welcome to this collection of custom TradingView indicators/strategies written in Pine Script v4! π These scripts are designed to spot specific price action patterns aligned with the overall market trend to help identify high-probability trading opportunities. πΈ
All indicators in this project use a common trend filter: a 100-period Exponential Moving Average (EMA).
- π’ Uptrend: EMA slope > 0.02 (Chart background turns slightly blue π¦)
- π΄ Downtrend: EMA slope < -0.02 (Chart background turns slightly red π₯)
Here are the specific strategies included in this repository:
Gran Vela Azul (Large Blue Candle) π
- Purpose: Identifies buying opportunities.
- Logic: During an uptrend, it looks for a sequence of consecutive smaller blue candles followed by a larger bullish candle to confirm momentum.
- Signal: Places a "GVA" label below the confirmation candle and triggers a "Gran Vela Azul" alert. π
Gran Vela Roja (Large Red Candle) π
- Purpose: Identifies selling opportunities.
- Logic: During a downtrend, it looks for a sequence of consecutive smaller red candles followed by a larger bearish candle.
- Signal: Places a "GVR" label above the confirmation candle and triggers a "Gran Vela Roja" alert. π
Trend Continuation Buy Setup π
- Purpose: Identifies accumulation/continuation holding a base level in an uptrend.
- Logic: Finds a strong bullish "base" candle followed by 3 subsequent candles that do NOT exceed the base candle's size and stay above a defined threshold level.
- Signal: Places a "TFA" label indicating a potential long entry. π―
Trend Continuation Sell Setup π»
- Purpose: Identifies distribution/continuation holding a base level in a downtrend.
- Logic: Finds a strong bearish "base" candle followed by 3 subsequent candles that do NOT exceed the base candle's size and stay below a defined threshold level.
- Signal: Places a "TFB" label indicating a potential short entry. π―
- Open up TradingView.
- Go to the Pine Editor tab at the bottom.
- Copy and paste the code from any of these
.pinefiles into the editor. - Click "Add to Chart".
- Ensure the indicator is set to
overlay = trueto see the labels and background colors superimposed directly on your price chart! π
Happy Trading! π°β¨