OPEN-SOURCE SCRIPT

Momentum Probability Oscillator [SS]

Aktualisiert
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!

Versionshinweise
Some asthetic changes and updating the code to reflect some changes in the request.security parameters.

No functional change!
Versionshinweise
Quick fix
Versionshinweise
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

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


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

Haftungsausschluss