OPEN-SOURCE SCRIPT

Momentum Probability Oscillator [SS]

Cập nhật
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:

ảnh chụp nhanh

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

ảnh chụp nhanh

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:
ảnh chụp nhanh

Support:
ảnh chụp nhanh

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

ảnh chụp nhanh

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:

ảnh chụp nhanh

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:

ảnh chụp nhanh

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:

ảnh chụp nhanh

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!

Phát hành các Ghi chú
Some asthetic changes and updating the code to reflect some changes in the request.security parameters.

No functional change!
Phát hành các Ghi chú
Quick fix
Phát hành các Ghi chú
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

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


For real-time updates and premium indicators, consider joining my group at: patreon.com/steversteves
Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm