OPEN-SOURCE SCRIPT

[MF] CURRENT AND NEXT CPR LEVELS

已更新
This is CPR with Monthly, Weekly and Daily time frames of the current and next* CPR levels.
* The following lines only become relevant at the end of the cycle.

CPR LEVELS:
P (pivot point) = (H + L + C) / 3
BC (Bottom Central) = (H + L) / 2
TC (Top Central) = (P - BC) + P

Resistance Levels
- Green = R1 Levels ( 2×P - L )
- Green = R2 Levels ( P + (H - L) )
- Green = R3 Levels ( H + 2 * (P - L) )

Support Levels
- Red = S1 Levels ( 2×P - H )
- Red = S2 Levels ( P - (H - L) )
- Red = S3 Levels ( L - 2 * (H- P) )

Description and Refrences:
en.wikipedia.org/wiki/Pivot_point_(technical_analysis)

Rules For BUY Setup with CPR
1) Today's Pivot Level Should be higher than Previous Day's Pivot Level
2) The previous day's close should be near day high.

Rules For SELL Setup with CPR
1) Today's Pivot Level Should be lower than Previous Day's Pivot Level
2) The previous day's close should be near day low.

CPR or central pivot range is the best tool available for the trader to see the price base indicator. You can use this tool i.e CPR (central pivot range) to check the price indicator in the stock market. You know the price of shares sometimes goes up or sometimes goes down in the stock market. So it will be best to stay updated and know it before the time the share market/stock market fall or rises.
發布通知
Update:
- Added Labels of Current Lines
- Fixed error of negativ Support Lines
發布通知
Update:
- Show previous High & Low
發布通知
Added Mid Levels of Resistance and Support

Resistance Mid Levels
R23 = (R2 + R3) / 2
R12 = (R1 + R2) / 2
RP1 = (P + R1) / 2

Support Mid Levels
SP1 = (P + S1) / 2
S12 = (S1 + S2) / 2
S23 = (S2 + S3) / 2
發布通知
- Fixed error of monthly close
發布通知
bugfix:
If BC is higher than TC the positions are swapped
發布通知
...
CPRcprstrategyOscillatorspivotresistencesupportTrend AnalysisVolatility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明