OPEN-SOURCE SCRIPT

Momentum Probability Oscillator [SS]

Aggiornato
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:

istantanea

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

istantanea

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:
istantanea

Support:
istantanea

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

istantanea

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:

istantanea

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:

istantanea

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:

istantanea

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!

Note di rilascio
Some asthetic changes and updating the code to reflect some changes in the request.security parameters.

No functional change!
Note di rilascio
Quick fix
Note di rilascio
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 open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


For real-time updates and premium indicators, consider joining my group at: patreon.com/steversteves
Anche su:

Declinazione di responsabilità