当前位置:网站首页>Secret behind the chart | explanation of technical indicators: tangqi'an channel
Secret behind the chart | explanation of technical indicators: tangqi'an channel
2022-06-11 09:55:00 【Alpha transaction master】
Donchian Channel( Tangqi'an channel index ) Is the oldest used for trading breakthroughs 、 One of the simplest technical indicators . By Richard Donchian The proposed one consists of three lines ( The upper resistance line 、 Lower support line 、 Center line ) Composed channel index .

Generally speaking , The wider the tangchian passage is , The more volatile the market is , And the narrower the tangqi'an passage is , The less volatile the market is . Besides , The price trend can pass through the Bollinger belt , But you can't see this feature of the donchian channel , Because its band is measuring the highest and lowest prices in a specific period .
Tangqi'an channel calculation principle and code implementation
The upper resistance line = In the past n The highest price in Japan
Lower support line = In the past n The lowest price of
Center line = Mean value of upper resistance line and lower support line
The default is 20 cycle , Very simple and intuitive .
In Shanghai and Shenzhen 300 Stock market index (2021-12-01 to 2022-04-06) For example , Demonstrate the channel strategy of tangqi'an . The calculation of the upper and lower tracks of tangqi'an channel is very simple .

Plot the closing price, the upper and lower tracks of the channel and the center line . It should be noted that , In fact, the strategic signal is to compare the closing price with the tangqi'an channel index of the previous trading day ( To avoid future functions ), The results are also shown in the second subgraph . You can find , The price breaks down the lower support line , The indicator sends a short signal .

Application of tangqi'an channel
1、 Judge when to buy or sell
Tangqi'an passage is often used as Breakthrough indicators . It provides two main types of breakthrough signals , One is the upper resistance line or the lower support line , The second breakthrough signal is centerline crossing .
Common policy logic Yes : When the price breaks through the upper resistance line , Do more ; When the price breaks down the lower support line , Short . More aggressive investors will use the center line of the donchian channel to generate breakthrough signals , Instead of waiting for the upper resistance line and the lower support line to break through , That is, when the price goes up and breaks through the center line of tangqi'an channel , Do more ; When the price breaks down the center line of tangqi'an channel , Short .

Besides , In strategy practice , Many technical indicators are often used in combination , Or add filter conditions , To improve signal reliability .
here , We take Shanghai and Shenzhen 300 Stock market index (2020-01-01 to 2022-04-06) For example , Compare the advantages and disadvantages of the buy and hold strategy and the Tang Qi'an channel strategy . Here we use the donchian channel strategy , That is to break through the track and go long , Break through the track and short , Do not change the position when inside the track .


however , It should be noted that , Tangqi'an channel is a traditional trend indicator , Common problems with trend strategies , It is applicable to the market with obvious trend , And in the volatile market performance is poor .
2、 Set stop loss position
Finally, some investors use tangqi'an channel to judge stop loss conditions . Stop loss thinking is also very simple , Just set the stop loss at the channel boundary in the opposite direction of the transaction .
for example , Traders buy when they break the track , Stop loss should be set in the channel ; Sell when you get off the track , Stop loss should be set on the upper track .
边栏推荐
猜你喜欢
![[image denoising] image denoising based on median + wavelet + Wiener + filter, including Matlab source code](/img/57/1dc367c53295a8c4a2e6b9b3493113.jpg)
[image denoising] image denoising based on median + wavelet + Wiener + filter, including Matlab source code

ESP8266_SNTP(Simple Network Time Protocol)

ESP8266_接入百度物联网核心套件、使用MQTT协议通信

不同CV任务的标注类型

ORACLE DG物理备库使用别名数据文件改变路径到OMF路径

Opencv image basic operation (III) -- image feature extraction (corner detection)

BeanFactory 与FactoryBean的区别

ESP8266_ Mqtt protocol

ESP8266_MQTT协议

ESP8266_SmartConfig
随机推荐
Simple recommendation based on Euclidean distance
LeetCode刷题 —— 手撕二叉树
Revisiting Self-Training for Few-Shot Learning of Language Model,EMNLP2021
Flask (I) - quick start
jedisLock—redis分布式锁实现
启动jar
ESP8266_ Access to the core suite of Baidu Internet of things and use mqtt protocol for communication
Mysql比较
[TiO websocket] v. TiO websocket server counts the number of online people
不卷了!入职字节跳动一周就果断跑了。
穆格测试控制器的作用和应用场合有哪些
「INS-30131」 安装程序验证所需的初始设置失败
Opencv image basic operation (IV) -- image feature extraction (corner detection)
Touch事件的tap,longtap封装--来自小野
远程工作时代的物联网安全
RAC expdp export error: ora-31693, ora-31617, ora-19505
C+每日练题(15)
Vk2c22a/b anti-interference series electric meter, water meter segment code LCD driver chip data (customized dice/cog)
对于力士乐电磁换向阀的功能与作用,你知道多少
Where is it safer to open an account for soda ash futures? How much do you need to buy at least?