SebbsSoftware

RSI and MA Trending [Sebbs]

SebbsSoftware Mis à jour   
A simple indicator based on RSI strength and a custom SMA trendline.

RSI
RSI Strength is determined by a baseline.
The baseline is the 200 bar RSI
The current RSI value is compared to the Baseline and determines the current trend.

This Use of the RSI is unique because the strength indication point is not a static number (eg: 50) and the long term strength will trend up in a Bullish market.
This causes the reversal point of the strength to become much closer to the top of the waves end point.

SMA
The default SMA is a 20 bar length but is adjustable to suit any timeframe or chart.
The SMA determines the trend direction.

SIGNALS
When both are showing strength it will give a buy signal.
When both are showing weakness it will show a sell signal.

STRATEGY
I personally use 15 Minute chart and 20 bar SMA.
This method can have a close stop as it uses strength as an entry condition.
If the strength drops exit the trade.

For example, a 15 minute entry I would set a single candle stop as if that candle is taken back, the trade is no good.

The best entries are when a trendline breaks and strength changes direction.

FILTERS
Additional filters are provided such as other SMAs and Heikin Ashi bars for entry requirements.

DIVERGENCES
The Overlay also shows Divergence lines which use my own unique calculations.

The pivot low/high function provided by Pine Script requires a set number of bars to pass prior to locating a swing low/high.
This can mean large moves have occurred prior to a swing low having passed if the lookback range was set to five bars (5).
5 bars on a 2 hour chart is a long time and large moves may be missed.

As I don't use these functions, there is no requirement for a set number of bars to have passed prior to swing low/high positions to be identified.
This means it doesn't rely on a set number of bars to pass prior to finding a new pivot point.

* Code loops are a function which will check conditions in a range until a defined condition is met.
In this case a pivot low is a bar with no lower bars within 3 bars either side of the current checked bar.

Additional:
Lines will redraw and delete previous divergences to remove clutter on the indicator.
A table cells for alternate timeframe Stochastic RSI values so you don't need to swap between charts constantly.

RSI TABLE
A table is available for monitoring the RSI values of the current chart and a Higher Timeframe.
This helps keep track of which direction your should be looking for trades in.

This can be hidden in the indicator options.

Note
This indicator can not be open source due to a usage of a Private Library.
Notes de version:
200 MA option fix.
Trendline option added
Notes de version:
Chart update
Notes de version:
Trendline Tweak
Notes de version:
Trendline Lookback length option
Chart IMG update
Notes de version:
Trendline Start position tweak
Notes de version:
label fix
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?