OPEN-SOURCE SCRIPT

PClose Levels 2.0

已更新
This script plots the levels generated via a combination of SPX 2Y Quartiles for everyday, red days, and green days. It is intended for use solely with SPX.
These quartiles are also sorted by VIX averages into bands that expand and contract with VIX.
It gives us an idea of what levels to potentially expect resistance/support fairly well, but is designed to be used in conjunction with other indicators and macroeconomic information.

Green Dashed is your Expected Max Range (EMR+) based on Green Day averages.
Green Dotted is your Expected Range (ER+) based on full dataset averages.
Green solid lines are POS2 and POS1, based on Green Day averages.
White Dotted is your Expected Move (EM), based on full dataset averages.
Red solid lines are NEG1 and NEG2, based on Red Day averages.
Red Dotted is your Expected Range (ER-) based on full dataset averages.
Red Dashed is your Expected Max Range (EMR-) based on Red Day averages.
版本注释
It was brought to my attention that the previous version didn't work properly with Heikin Ashi candles. Implemented what appears to be a fix for that issue. The code is kicking out an error now, but the levels appear to be set appropriately for regular candlesticks and Heikin Ashis now. Also updated the percentage move values based on the latest data.
版本注释
Updated values since April.
averageslevelsintradayPivot points and levelsSPX (S&P 500 Index)

开源脚本

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

想在图表上使用此脚本?

免责声明