LucasStar

chanlun

LucasStar Updated   
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.
缠论指标支持对分型、笔、中枢的绘制,并且可以在新笔与旧笔之间切换,根据图中所示,可以看到买卖点

Release Notes:
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

对代码进行重构,利用指针移动避免line对象、box对象重新绘制,实现笔、中枢、中枢扩展只绘制一次,提升执行效率
修复最新k线出现后,最新的笔、中枢无法展示的问题
Release Notes:
Solve the problem that the last expansion zhongshu will not be displayed under special circumstances
解决最后一个扩展中枢在特殊情况下不展示的问题
Release Notes:
Solve the problem that the last pen is not displayed in some scenes
解决最后一个笔在某些场景下不展示的问题

Add option, support pen display and close
添加选项,支持笔的展示及关闭
Release Notes:
As the bar is updated, the last pen can also be displayed
随着k线更新,最后一个笔也可以展示出来
Release Notes:
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

为了支持一些特殊情况下笔的展示,增了特殊笔的模式配置,一共有三种配置:
1. 标准配置,使用缠论中的笔定义
2. 前包含配置,允许前一个分型包含后一个分型
3. 后包含配置,允许后一个分型包含前一个分型

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
下图使用了标准模式,前一个分型包含了后一个分型,不能形成笔

The configuration method is shown in the figure below
配置方式如下图所示
photos.app.goo.gl/QEbH4skYpWoLJhdW7
Release Notes:
Support k-line playback function
缠论指标支持k线回放功能
Release Notes:
Fix some pen division problems
修复一些笔划分的问题
Release Notes:
Fix the problem of inaccurate depiction of some pens
修复部分笔刻画不准确的问题
https://photos.app.goo.gl/AErtvxJMjhmVQeqp9
https://photos.app.goo.gl/aNWLcaUiB9sH3W2P8

Choice of pen style support
对笔的样式支持选择
https://photos.app.goo.gl/sznuQEYRzNHSGkWc7
Release Notes:
remove invalid options
去除无效的选项
Release Notes:
The line width support setting of the privot, optimizing the display of the buy and sell marks of the privot
中枢线宽支持设置,优化中枢买卖标记的显示
Release Notes:
Optimize display
优化展示

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact LucasStar for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

If you want to use this indicator, please contact me on tradeview

Want to use this script on a chart?

Warning: please read before requesting access.