OPEN-SOURCE SCRIPT
Zaktualizowano

Flexible Moving Averages with MACD and RSI

1 401
Every stock momentum can be identified either by crossing of higher EMA by lower EMA or MACD line crossing signal line and moving up or RSI value rising above 45 or 50. This indicator combines Moving averages with MACD and RSI

How to use:

Configure any or all of 5 moving averages according to your preference. It can be EMA or SMA. Configure symbols for MACD crossing or RSI rising.

By default, if RSI crosses above 50, green triangle appears below candle. If RSI crosses 50 and comes down, red inverted triangle appears above candle

By default, if MACD line crosses signal line and moves above, green dot appears below candle. If MACD line crosses signal line and moves down, red dot appears above candle

These indications can give the user how much time RSI and MACD crossing happened along with EMA crossovers. User can take calculated decision and risk
Informacje o Wersji
Update - 21 April 2026

1. Added HMA (Hull Moving Average) in addition to existing SMA and EMA

2. Added label at end of each MA line. It makes easy for user to settle with limited color selection and depend on labels.
Informacje o Wersji
The new change has a table with RSI value across H / 4H / D / W / M time frames. The objective is to identify RSI values, percentage increase compared to previous candle in the time frame and the time since RSI crossed 50 value.

H / 4H RSI values are visible in H / 4H time frames only. D/W/M RSI values can be views in any time frame.

The idea for this addition is to give the user an idea to plan entry and exit. For example, entry can be decided based on RSI oversold or over bought. Also Weekly and Monthly RSI values can be used to decide on daily time frame entry.


- Table location can be modified
- Table view can be enabled / disabled
- Golden cross / Death cross identification
- Options to enable / disable the view of all parameters
Informacje o Wersji
Added RSI line the the chart with default RSI14 settings. It can be modified as per user. The default colour scheme is green if price above the line and red if price is below RSI line. Plan for an entry of price moves above RSI and pyramid if price makes a pullback but does not breach RSI line.

Have also added a small table that shows the spread between EMA9 and EMA21. This table gives the user an idea about the price movement and decide on exit or Pyramiding.

Use the combination of the inbuilt parameters to decide entry, exit. Good luck

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.