Skip to content

MarcosPimienta/Trading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ˆ TradingView Custom Indicators

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. πŸ’Έ

πŸ› οΈ Overview

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:

1. 🟦 GVA Strategy (gva_strategy.pine)

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. πŸ””

2. πŸŸ₯ GVR Strategy (gvr_strategy.pine)

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. πŸ””

3. 🟒 TFA Strategy (tfa_strategy.pine)

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. 🎯

4. πŸ”΄ TFB Strategy (tfb_strategy.pine)

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. 🎯

πŸ’» How to Use

  1. Open up TradingView.
  2. Go to the Pine Editor tab at the bottom.
  3. Copy and paste the code from any of these .pine files into the editor.
  4. Click "Add to Chart".
  5. Ensure the indicator is set to overlay = true to see the labels and background colors superimposed directly on your price chart! πŸ“Š

Happy Trading! πŸ’°βœ¨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors