1Copy the scriptPress Copy script above, or the copy button on the code below.
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
86 lines of Pine Script v6 from indicators/Zen-REMA/zen-rema-v6.0.txt, published under MIT. Keep the author's credit and licence lines when you reuse it.
Optional markers show an always-in state that turns long after two bull bars close above the average and short after two bear bars close below it, resetting on each new day. Separate markers flag MIG reversals when a same-color gap appears against that state. A start-of-day window can suppress these signals on intraday charts. Acceleration and average bar-range inputs are also provided.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
20
len
Source
source
close
src
Use EMA? (Off = SMA)
bool
true
useEma
Offset
int
0
offset
Lookback
int
3
i_lookback
ATR Period
int
10
i_atrPeriod
Acceleration angle
int
10
acceleration
Show Acceleration?
bool
false
showAccel
Show Always In from MA?
bool
false
showAlwaysIn
Show MIG Reversals?
bool
false
showMIG
Bars to ignore at start of day
int
2
ignoreBars
Avg bar range lookback
int
8
scalpLookback
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 identifies candlestick patterns on the price chart by combining price action with momentum factors and trend filters. It calculates one of four selectable oscillators: Karobein Oscillator, Money Flow Index, RSI, or Stochastic, alongside trend ru
This indicator overlays on the price chart and provides trend and momentum analysis. It calculates and plots three exponential moving averages with fixed periods of 20, 50, and 200 using yellow, orange, and blue colors respectively. The script also computes th
This overlay indicator marks a bearish hanging man candlestick on the price chart. It looks for a small real body sitting in the upper part of the range, a lower shadow at least twice the body, and no upper shadow, and only while an uptrend filter is active. T
This indicator plots Bollinger Bands and smoothed HAMA candles on the price chart. It builds each candle from separate moving averages of open, high, low and close, using selectable EMA, SMA or WMA lengths. A simple moving average forms the band basis, and an
Calculates adaptive arithmetic candles by blending price data with Kaufman Efficiency Ratio smoothing and a linear regression anchor. It measures trend health using a zero-to-hundred Quality Score derived from market efficiency, regression slope, and normalize
This indicator plots 20-period and 200-period Simple Moving Averages on the main price chart while requesting multi-timeframe state data from a higher timeframe. It measures the percentage distance and slope between the two moving averages to detect narrow, pa