Indicator · Pine Script v6 · On the chart

Dip2Green PRO

by mcgary6567-lab

A Pine v6 indicator that looks for a dip followed by confirming candles.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code439
Settings40inputs
LicenceNone stated
Last updateyesterday28 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

A long setup is an oversold red flush followed by green candles, and a short setup is an overbought green move followed by red candles. A composite score from RSI depth, range against ATR, volume, pivot location and candle body must pass a minimum. Asset presets set thresholds, and filters include a higher timeframe EMA, a 200 EMA, ADX, higher timeframe RSI and an optional session. It marks signals on the price chart.

Details

Published by

mcgary6567-lab on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Asset PresetstringAutopreset
RSI Oversoldint30custOS
Range x ATRfloat0.8custATR
Volume x avgfloat1.0custVol
Low Lookbackint10custLook
RSI Lengthint14rsiLen
ATR Lengthint14atrLen
Volume MAint20volLen
ADX Lengthint14adxLen
Require HTF trend agreementbooltrueuseHTFTrend
Higher Timeframetimeframe240htfTF
HTF EMA lengthint50htfEmaLen
Show all 40 settings
SettingTypeDefaultVariable
Require local EMA200 agreementbooltrueuseLocalEma
Local EMA lengthint200localEmaLen
Skip when ADX too low (chop)booltrueuseADX
Min ADXfloat15.0adxMin
Restrict to a sessionboolfalseuseSession
Session (exchange tz)session0700-2100sessSpec
Require HTF RSI < 50 for longs (>50 for shorts)booltrueuseMtfRsi
Use composite score (recommended)booltrueuseScore
Minimum score to fire (0-100)float55.0scoreMin
Weight: RSI depthfloat25wRSI
Weight: Range / ATRfloat20wATR
Weight: Volume vs avgfloat20wVol
Weight: At pivotfloat20wPivot
Weight: Body / Rangefloat15wBody
Min body/range for confirmation candlesfloat0.45minBodyPct
Confirmation must close above dip 50%booltruereqHalfDip
Confirmation needs volume >= avgboolfalsereqVolConf
Allow ONE small inside bar without resetbooltrueallowOneInside
Abort on strong opposite bar (>2 ATR)booltrueoppositeAbort
Required confirmation barsint2greenN
Max wait barsint10maxWait
SL: ATR buffer x ATRfloat0.30slBuffer
Dynamic RR by ATR percentilebooltrueuseDynRR
Base R:Rfloat2.0baseRR
TP1 fraction (close at 1R)float0.5tp1Frac
TP2 multiple of Rfloat2.0tp2Mult
Trail remainder (chandelier)booltrueuseTrail
Trail = N x ATRfloat2.5trailATR
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre

Indicator v4 Volatility & bandsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Bollinger Bands Winner IND [Alorse]
285 stars

Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a

Indicator v4 Mean reversionCandlestick patterns
Updated 3 years ago · None stated GitHub repository of Mean Reversion Study
147 stars

This indicator combines Bollinger Bands, RSI, Stochastic RSI, and volume spike detection to identify mean-reversion conditions during range-bound market regimes. It calculates Bollinger Band width to identify low-volatility states and triggers buy or sell sign

Indicator v5 Oscillators & momentumVolatility & bands
Updated 6 weeks ago · MIT GitHub repository of BTC Dec 2025 — Range + Gamma Flush
53 stars

This overlay indicator calculates the 14-period Relative Strength Index to identify overbought and oversold market conditions. When RSI crosses key thresholds, it plots initial long or short entry labels directly on the price chart. If price continues moving a

Indicator v6 Oscillators & momentumMean reversion
Updated 2 months ago · MPL-2.0 GitHub repository of RSI Multi-Layer Entry Indicator

RSI Technique - V

by Tikam02
20 stars

RSI Technique - V identifies rapid reversal pivot points based on the Relative Strength Index. It monitors an RSI oscillator, configurable via the lookback setting, looking for sharp V-shaped spikes around extreme zones. A bullish signal appears when the indic

Indicator v5 Oscillators & momentumMean reversion
Updated 2 years ago · Apache-2.0 GitHub repository of RSI Technique - V

Commodity Heat Reversal plots score-based mean-reversion reversal markers on the price chart for commodity futures, aimed at the four-hour timeframe. It builds separate long and short heat scores from ATR distance to a mean moving average, ATR expansion, RSI e

Indicator v6 Mean reversionVolatility & bands
Updated 2 days ago · MIT GitHub repository of Commodity Heat Reversal [WavesUnchained]

More Mean reversion scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers