OPEN-SOURCE SCRIPT

Momentum Probability Oscillator [SS]

Обновлено
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:

снимок

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

снимок

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:
снимок

Support:
снимок

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

снимок

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:

снимок

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:

снимок

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:

снимок

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!

Информация о релизе
Some asthetic changes and updating the code to reflect some changes in the request.security parameters.

No functional change!
Информация о релизе
Quick fix
Информация о релизе
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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


For real-time updates and premium indicators, consider joining my group at: patreon.com/steversteves
Мои профили:

Отказ от ответственности