slmgtv1

show bottom

script name: show bottom
For left traders, how to accurately find the bottom is very important, and there are various methods, among which the bottom type is a common and convenient method.
This script shows where the bottom is formed and when the bottom is broken.
Although the definition of the bottom type is very simple: after processing the inclusion relationship, in three consecutive bars, the low point of the middle bar is the lowest point of the three bar low points, and the high point of the middle bar is the highest point of the three bar high points. However, because the containment relationship can be complex, so this script enumerates the common containment relationships, so it is more verbose.
Also, in order to rule out a false break, the script thinks that the alarm will only be issued when the close price falls below the bottom.
Finally, this script supports webhook, that is, when the bottom is broken, the alert content conforms to json format. At the same time, this script also supports sending the opening price, closing price, high point and low point of each bar in the form of json, which is a method of subscribing to real-time stock prices.

Introduction in Chinese:
脚本名称:显示底分型
对于左侧交易者来说,如何准确地找到底部是非常重要的,方法也是多样的,其中底分型是一种常用的简便方法。
这个脚本可以显示底分型的位置,以及底部什么时候被跌破。
虽然底分型的定义很简单:处理包含关系后,连续三个bar中,中间bar的低点是三个bar低点中的最低点,且中间bar的高点是三个bar高点中的最高点,但是,因为包含关系可能比较复杂,所以这个脚本列举了常见的各种包含关系,也因此显得比较冗长。
另外,为排除假跌破,这个脚本认为只有当收盘价跌破底部时,才会报警。
最后,这个脚本支持webhook,也就是说,底部被跌破时,警报内容符合json格式。同时,这个脚本还支持将每个bar的开盘价、收盘价、高点和低点以json形式发送出来,这算是一种订阅实时股价的方法。

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其他类型的意见或建议。请在使用条款阅读更多信息。

想在图表上使用此脚本?