Description "Chan Lun" is a kind of investment in the market made by Internet celebrities "Chan Zhong Shuo Zen". Chan Lun is suitable for the investment market of stock securities theory, such as stocks, securities warrants and futures . "Chan Shi" June 7, 2006 From the beginning of writing the first "Teaching You How to Invest in Stocks" series of articles, this theory of investment "entanglement theory" has officially appeared. The gradual derivation of the trend structure, scientific and accurate classification of various trends in the market, so as to guide actual operations.
I used the pine script of tradeview to construct the type, pen, and center in the chanlun. Through these icons, you can find the buying and selling points. 缠论指标支持对分型、笔、中枢的绘制,并且可以在新笔与旧笔之间切换,根据图中所示,可以看到买卖点
Versionshinweise
⋅
Refactor the code, use pointer movement to avoid redrawing line objects and box objects, and realize the extension of pen, zhongshu, and extension zhongshu to draw only once Fix the problem that the latest pen and zhongshu cannot be displayed after the latest bar appears
Solve the problem that the last expansion zhongshu will not be displayed under special circumstances 解决最后一个扩展中枢在特殊情况下不展示的问题
Versionshinweise
⋅
Solve the problem that the last pen is not displayed in some scenes 解决最后一个笔在某些场景下不展示的问题
Add option, support pen display and close 添加选项,支持笔的展示及关闭
Versionshinweise
⋅
As the bar is updated, the last pen can also be displayed 随着k线更新,最后一个笔也可以展示出来
Versionshinweise
⋅
In order to support the display of pens in some special situations, the mode configuration of special pens has been added. There are three configurations in total: 1. Standard configuration, using the pen definition in the chanlun theory 2. The former includes the configuration, allowing the former sub-type to include the latter sub-type 3. The latter includes the configuration, allowing the latter type to include the previous type
The following figure uses the former inclusion, so even if the previous part is higher than the latter, it can be displayed 下图使用了前包含,所以即使前一个分型比后一个分型高,也可以展示出来
The following figure uses the standard mode, the former part includes the latter part and cannot form a pen 下图使用了标准模式,前一个分型包含了后一个分型,不能形成笔