OPEN-SOURCE SCRIPT

Momentum Probability Oscillator [SS]

Atualizado
This is the momentum based probability indicator.

What it does?

This takes the average of MFI, Stochastics and RSI and plots it out as an independent oscillator.
It then tracks bullish vs bearish instances. Bullish is defined as a greater move from open to high than open to low and inverse for bearish.
It stores this data and these averages and plots these levels as a graph.
The graph depicts the max bullish values at the top, the min bearish values at the bottom and the averages in between:

snapshot

It will plot the average "threshold" value in yellow:

snapshot

The threshold value is key. A ticker trading above the threshold is generally bullish. Below is bearish.
The threshold value frequently acts as support and resistance levels (see below):

Resistance:
snapshot

Support:
snapshot

The indicator also shows you the amount of time a ticker has spent in each region, over a defined lookback period (defaulted to 500):

snapshot

When you see that cumulatively, more time has been spent in a bullish range or a bearish range, it can help you ascertain the prevailing sentiment at that time.

The indicator will also calculate the average price range based on the underlying oscillator value. It does this through use of ATR based techniques, as its not usually possible to calculate a price from an oscillator:

snapshot

This is intended as a general reference and not a precise target, as it is using ATR as opposed to the actual technical value itself.

As this is an oscillator, you can use it to look for divergences as well. The advantage to having it formulated in this way is:

a) You get the power of all 3 indicators (stochastics, MFI and RSI) in one and
b) You are adding context to the underlying technical reading. The indicator is plotting out the average, max and min ranges for the selected ticker and performing assessments based on these ranges that add context to the current PA.

You also have the ability to see the specific technical levels associated with each specific technical indicator. If you open up the settings menu and select "Show Table", this will appear:

snapshot

This will show you the exact values of each of the technicals the indicator is using in its range assessment.

And that is basically the bulk of the indicator!
I use this predominately on the smaller timeframes, especially when there is a lot of chop, to ascertain the overall sentiment.
I also will reference it on the 1 hour to see what the prevailing sentiment is and whether the stock is at an area of technical resistance or support. For example, here is what I referenced on SPY today:

snapshot

QUICK NOTE:
It works best with RTH (regular trading hours) turned on and ETH (extended trading hours) turned off!


That's it!
Hopefully you like it and leave your comments and suggestions below!

Notas de Lançamento
Some asthetic changes and updating the code to reflect some changes in the request.security parameters.

No functional change!
Notas de Lançamento
Quick fix
Notas de Lançamento
Per request,
Added an alert for a crossover and crossunder of the average median line.
You can now set this to alert you of a cross.
OscillatorsTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


For real-time updates and premium indicators, consider joining my group at: patreon.com/steversteves
Também em:

Aviso legal