PROTECTED SOURCE SCRIPT
Updated

4-EMA Trend

7 892
This indicator can be used to visualize when price is above or below special exponential moving averages (8, 21, 50 and 200) that are also displayed on the chart. A green or red background is plotted then, that can be followed as a trend. You can define the amount of risk (e.g. in $) and the number of previous bars that will be used to calculate the stop loss. For the stop loss a label is shown (long or short) that displays the quantity to buy or sell for your defined risk. It is recommend to use the indicator in combination with my Stochastic & RSI (see chart) to enter trades long or short when stochastic is overbought or oversold and RSI above or below 50.

US100
Release Notes
Update trend indication: ema8 has to be above / below slower ema
Release Notes
EMA description and length adjusted
Release Notes
Show stop loss buy or sell depending price above or below slowest EMA
Release Notes
SMA 40 added as special pullback indicator
Release Notes
Added alerts for long or short trend change
Release Notes
Add MTF support for slow EMAs
Release Notes
SMA replaced by EMA for trend detection
Release Notes
Length of EMAs can be set
Release Notes
MTF EMA not displayed by default, 20, 50, 200 ema default length
Release Notes
ATR Stop added as dots (bullish, bearish)
Release Notes
Input option for ema fast and middle length
Release Notes
EMA Ribbon added with option to hide it
Release Notes
Alert when price is close to trend EMA (default 200 EMA)
Release Notes
Performance improved, ema ribbon removed
Release Notes
TEMA for trend included
Release Notes
TEMA with custom length, pine version 5
Release Notes
Refactoring and 4th ema added
Release Notes
ATR stoploss multiplier added
Release Notes
Added real price display for Heikin Ashi chart type
Release Notes
Labels for engulfing candles added
Release Notes
Engulfing pattern bug fixed
Release Notes
Barcolor for engulfing added
Release Notes
Engulging candles added and atr to 10
Release Notes
Volatility Stop Length added
Release Notes
Inside bar added as candlestick pattern
Release Notes
Inside bar without color

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.