OPEN-SOURCE SCRIPT

Options Flavour by Raushan Shrivastava

Monthly Pivot Points :-
It calculates the monthly high, low, and close, and then computes the pivot point and three levels of support and resistance (R1, R2, R3, S1, S2, S3).

Moving Average :-
A simple moving average (SMA) with a configurable length (length_ma), which by default is set to 140 periods.

Bullish/Bearish Labels :-
Bullish condition: The close price crosses above both the moving average and the monthly pivot point.
Bearish condition: The close price crosses below both the moving average and the monthly pivot point.

Plotting :-
Monthly pivot, support, and resistance levels are plotted as circles on the chart.
The previous month's high and low are also plotted.
Bullish and bearish signals are shown with labels.

Labels on Support/Resistance Lines :-
A label "- PE" will appear on the S2 line (support level) with a green color when the bullish condition is met.
A label "- CE" will appear on the R2 line (resistance level) with a red color when the bearish condition is met.

Customisation :-
Moving Average Length: You can modify the length_ma input to adjust the period of the moving average.
Pivot points and levelsSupport and ResistanceTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明