pranjalchaubey

[CP]Structural Pivots v2.0

pranjalchaubey 已更新   
This script marks structural pivots on a chart.
Script marks namely 4 types of pivots,
  • Structural Pivot High (SPH)
  • Structural Pivot Low (SPL)
  • Large Pivot High (LPH)
  • Large Pivot High (LPL)

SPL (Blue circles at bar low) is marked by finding a combination of 3 bars, an Anchor Bar, Bar 1 and Bar 2.
Bar 1 and Bar 2 should have a higher high and a higher close relative to the Anchor Bar in order to qualify as a legitimate SPL .
Reverse conditions are required for a point to be marked as SPH (Blue circles at bar high).

The complication happens for the fact that Anchor Bar, Bar 1 and Bar 2 need not be consecutive.
They can be far apart from themselves.
To solve this problem, the script generates 3-bar Combinations of all the bars from the last pivot to the current bar.

LPH are marked when an SPL gets broken (price goes below the previously marked SPL).
LPL are marked when an SPH gets broken (price goes above the previously marked SPH).

Unlike 'regular' methods of quantifying breakouts and trailing stops by optimizing various parameters of indicators, this method essentially
finds out swing highs, swing lows and S/R breaks.

One way to use the pivots is to go long when the LPH is broken, and trail the price with SPLs.
Vice-versa for shorts.

PM me on TradingView to obtain access.
Please don't ask for access in the comments section.
發布通知:
The new release contains two visualization improvements.

1. Pivot markings in the previous version were quite large and taking up a lot of chart space.
This has been solved in this version.
You get three options, Auto, Large and Small.
The default option, 'Auto', gives the best results as it automatically increases or decreases the size of pivot markings depending upon your zoom level.

2. The shape of the small pivots can now be changed. Circle and Triangle are the two options.
發布通知:
Removed some unnecessary debug information that was showing up in the Data Window.
This should speed up the code compilation times.

Indicator is now ready for the prime time!
發布通知:
Minor change in the values shown in the Data Window.
No change in the indicator or the user interface.

僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請與pranjalchaubey聯繫以獲取更多資訊,或按照以下作者的說明進行操作。

在您100%信任腳本作者並了解腳本的工作原理之前,TradingView不建議您購買腳本並使用它。在很多情況下,您可以在我們的社群腳本庫中免費找到一個不錯的開源替代品。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。