PROTECTED SOURCE SCRIPT

RSI and MA Trending [Sebbs]

Atualizado
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.
Notas de Lançamento
200 MA option fix.
Trendline option added
Notas de Lançamento
Chart update
Notas de Lançamento
Trendline Tweak
Notas de Lançamento
Trendline Lookback length option
Chart IMG update
Notas de Lançamento
Trendline Start position tweak
Notas de Lançamento
label fix
Relative Strength Index (RSI)Simple Moving Average (SMA)

Script protegido

Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.

Quer usar esse script no gráfico?

Aviso legal