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
MM Trap Pro calculates a simple moving average of volume and identifies high-volume candles with significant body percentages that fail to break previous high or low levels. When trap conditions are met, the indicator plots signal labels, draws horizontal trap lines, and highlights the background. Settings allow customization of volume multipliers, minimum body thresholds, visual toggles, and a mobile-friendly display mode.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Volume Length
int
20
length
Volume Multiplier
float
2.0
mult
Min Body %
float
0.5
minBodyPercent
Show Bear Trap Line
bool
true
showBearTrapLine
Show Bull Trap Line
bool
true
showBullTrapLine
Show Background Highlight
bool
true
showBgColor
Show Signal Labels
bool
true
showSignals
Show Legend
bool
true
showLegend
Mobile Friendly Mode
bool
true
mobileMode
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 detects institutional or large-scale market activity using candle body size and trading volume. It compares current candle bodies against a 20-period simple moving average and checks for volume spikes above an adjustable moving average filter. I
This indicator detects early potential market turning points based on order block and engulfing candlestick patterns on the price chart. It checks for a local swing extreme on the second closed bar followed by an immediate engulfing reversal candle on the prio
Ghost Zone v9 GTI Signals v18 is an overlay technical indicator designed to replicate Ghost Trade Pro methodology. It calculates anchored Supertrend channels, previous weekly close levels, fair value gaps, and volume profile high-volume nodes. The script evalu
This indicator scores a short-side exhaustion pattern after an up-move on a scale of 0 to 10, as a screening aid rather than a trading system. Points come from a long upper wick, a bullish fair value gap, a lower or equal second swing high, a break of swing-lo
This indicator plots bullish and bearish order-block boxes on the price chart. It marks the prior candle when the current bar engulfs it and volume exceeds a twenty-bar average times a multiplier, then stores the zone in a matrix. Volume threshold and box colo
The indicator plots ICT displacement candles on the price chart and can switch to retracement scanning. Displacement requires a move larger than a set share of the 14-bar average high-low range, lasting at least a chosen number of bars, with optional close, pr