An indicator for four-hour charts that looks for a sharp drop followed by a slow, controlled recovery, treated as a rounded bottom, and the inverse for a rounded top.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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
Window lengths, minimum percentage moves, a directional-bar ratio and a daily EMA direction filter set the pattern. For each detected setup it draws entry labels with ATR-based fixed and trailing stops, optional partial take profit and lines, and an optional volume check.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Drop/Pump Window (4H bars)
int
90
drop_window
Min Drop/Pump %
float
12.5
min_drop_pct
Rise/Decline Window (4H bars)
int
85
rise_window
Min Directional Bars Ratio
float
0.3
min_up_bars_ratio
Max Single Up Bar %
float
12.0
max_single_up
Max Single Down Bar %
float
-5.0
max_single_down
Min Total Move %
float
2.5
min_rise_pct
Require Volume Confirmation
bool
false
use_volume
Volume SMA Length
int
120
vol_sma_len
Daily EMA Period
int
4
daily_ema_len
ATR Period
int
22
atr_period
Trailing Stop ATR Mult
float
5.0
atr_trailing_mult
Show all 26 settings
Setting
Type
Default
Variable
Fixed Stop ATR Mult
float
2.9
atr_fixed_mult
Fallback Trailing %
float
9.5
trailing_pct
Fallback Fixed Stop %
float
6.0
fixed_stop_pct
Enable Partial Profit
bool
false
use_partial
Partial Target ATR Mult
float
5.75
partial_target_mult
Partial Sell Ratio
float
0.5
partial_sell_ratio
Enable Long Entries
bool
true
enable_longs
Enable Short Entries
bool
true
enable_shorts
Show TP/SL Lines
bool
true
show_tp_sl_lines
Show Trade Plan Labels
bool
true
show_trade_labels
Show Dynamic SL Line
bool
true
show_dynamic_sl
Show Partial TP Labels
bool
true
show_partial_labels
Show Drop/Pump Detection Labels
bool
true
show_drop_labels
Account Equity ($)
float
10000
account_equity
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.
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
This indicator identifies mean-reversion setups by combining Bollinger Bands with Fair Value Gaps (FVGs). It tracks FVGs that print outside the upper or lower Bollinger Bands and counts them toward an alert threshold. Signals trigger upon gap mitigation (by to
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
This indicator plots standard Bollinger Bands directly on the price chart using hardcoded settings of a 5-period length and a 4 standard deviation multiplier. It displays the middle basis line in blue, the upper and lower outer bands in green, and fills the ch
This Pine Script indicator overlays institutional liquidity levels on the price chart. It identifies order block levels using pivot highs and lows, then draws mean reversion lines from the 20 and 50 period simple moving averages, a volatility range midpoint pr
Calculates mean reversion signals using statistical deviation metrics such as MAD, Standard Deviation, ATR, Z-Score, IQR, or Mean AD relative to customizable moving averages. It applies optional volume spike thresholds and trend filters to generate bullish and