OPEN-SOURCE SCRIPT

ICT Premium/Discount

已更新
This script indicator prints lines for the highest, lowest and middle price in a selected time period (in days).

With that you can easily see wheter the price is currently high, low or balanced compared to the prices in the selected time period.
I also added a gray dotted vertical line to the chart which represents the beginning of your selected time period

You can choose the time period on your own and you can also customize the color and style of the lines.

Your lines may get printed in a separate window. To fix this, click on the indicator and select
Move to -> existing pane above

Your lines also may stay stuck on the same place on the chart and are not fixed to a high/low. To fix this, right-click on the left price scale and select
Merge all scales into one -> on the right
版本注释
This script indicator prints lines for the highest, lowest and middle price in a selected time period (in days).

With that you can easily see wheter the price is currently high, low or balanced compared to the prices in the selected time period.
I also added a gray dotted vertical line to the chart which represents the beginning of your selected time period

You can choose the time period on your own and you can also customize the color and style of the lines.

Your lines may get printed in a separate window. To fix this, click on the indicator and select
Move to -> existing pane above

Your lines also may stay stuck on the same place on the chart and are not fixed to a high/low. To fix this, right-click on the left price scale and select
Merge all scales into one -> on the right
版本注释
The indicator now does not calculate the high/low/middle of the last X days as selected in the input anymore.

It now calculates the high/low/middle since the start of the previous month.
For example: Today is July 7th. Then the indicator calculates the high/low/middle beginning from June 1st.

So now you don't have to adapt the date daily just to calculate the PML (Previous Month Low) and PMH (Previous Month High).
Chart patternsFundamental Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明