当前位置:网站首页>One of the commonly used technical indicators, reading boll Bollinger line indicators
One of the commonly used technical indicators, reading boll Bollinger line indicators
2022-07-04 22:54:00 【Zhuge said talk】
What is Bollinger line index ?

The brin line BOLL indicators (Bollinger Bands) It is one of the commonly used tools for technical analysis of the stock market , By American financial analysts John Bollinger According to the moving average and the principle of standard deviation in Statistics 1980 Designed in the s .
As shown in the figure above , Bollinger line indicators from the top 、 in 、 The next three tracks form , Among them, the upper, middle and lower tracks can be regarded as the pressure line of stock price 、 Average line and support line , The stock price fluctuates within the range of upper limit and lower limit, that is, the stock price channel . The stock price channel will change with the fluctuation range of the stock price . The Bollinger line generally takes 20 Day as a parameter .
Brin line formula description
Middle track = N Daily moving average ,N Usually take 20
Upper rail line = Middle track + X Times the standard deviation ,X Usually take 2
Lower track = Middle track -Y Times the standard deviation , Y Usually take 2
Bollinger line index calculation
talib Brin line index is used in
import talib
upper, middle, lower = talib.BBANDS(close, timeperiod=20, nbdevup=2, nbdevdn=2, matype=0)
Return value :upper Is the upper rail line ,middle It is the middle track ,lower For the next track
talib.BBANDS Function parameter :close For the closing price ,timeperiod Is the calculation period , Usually take 20;nbdevup: The price of the upper track is a multiple of the standard deviation of the middle track , Usually take 2, The larger the value , The higher the upper limit , The wider the channel ;nbdevdn: The lower rail price is a multiple of the standard deviation of the middle rail , Usually take 2;matype: Moving average type ,0 Represents simple moving average
backtrader Brin line index is used in
import backtrader as bt
boll = bt.ind.BollingerBands(period=20, devfactor=2)
BollingerBands share 3 Parameters ,period Is the calculation period , Usually take 20;devfactor Is the multiple of standard deviation , Usually take 2;movav It is the moving average type , The default is simple moving average
Bollinger line index application
The brin line can indicate the position of support and pressure , On 、 The middle track can exert pressure on the operation of stock prices , While in 、 Going down the track will support the operation of the stock market ; Brin line can show overbought 、 Oversold : If the stock price rushes out of the upper track, it is possible to callback , The stock price may rebound after falling off the track
The brin line can indicate the trend , Strong stocks are always in the middle 、 Between upper rail lines , The total operation of vulnerable stocks is below the medium rail line . When the price line is above the middle rail of brin line , It is mostly a long market , Can hold shares or buy ; And when the price line is below the brin line middle track , It is mostly a short market , Be careful when buying , The two poles of brin channel are upper rail and lower rail , It means extremely strong and extremely weak
The narrowing of the upper and lower rails of brin hides a sudden change , Don't rush to buy . When the stock price K The amount of the line breaks through the upper track of the brin line , At the same time, when the originally narrow brin line channel suddenly opens upward , It shows that the stock price is about to enter a new rising channel , Should be based on buying ; Once the stock price K The line breaks through the lower track of brin line , At the same time, when the originally narrow brin line channel suddenly opens downward , It shows that the stock price is about to enter a new downward channel , It should be mainly sold
When the stock price K When the line breaks through the middle rail line of brin line from below the middle rail line of brin line , It indicates that the stock price is relatively strong , Should be based on buying ; When the stock price K When the line breaks through the rail line of brin line from above the middle rail line of brin line , It indicates that the stock price is very strong , Share prices may rise sharply in the short term , It should focus on holding shares to be raised or short-term buying
When the stock price K After the line has moved above the brin line for some time , If K When the line turns down and breaks through the upper rail of brin line , It indicates that the short-term strong market of stock price may end , Short term stocks should be sold in time , Especially those stocks with large short-term gains ; When the stock price K When the line breaks through the middle track of brin line , It should be mainly sold
Conclusion & communication
Pay attention to WeChat public number : Zhuge said talk, Get more . At the same time, you can also get an invitation to join the investment exchange group 、 Quantitative investment seminar group , With many investment lovers 、 Quantitative practitioners 、 Technical leaders communicate with each other 、 Compare notes , Quickly improve your investment level .
It's not easy to write , If you think this article can help you , Do me a favor .
Reference resources
边栏推荐
- Logo special training camp Section IV importance of font design
- 繁華落盡、物是人非:個人站長該何去何從
- MD5 tool class
- 攻防世界 MISC 进阶区 Erik-Baleog-and-Olaf
- Google Earth engine (GEE) -- take modis/006/mcd19a2 as an example to batch download the daily mean, maximum, minimum, standard deviation, statistical analysis of variance and CSV download of daily AOD
- 通过Go语言创建CA与签发证书
- NFT Insider #64:电商巨头eBay提交NFT相关商标申请,毕马威将在Web3和元宇宙中投入3000万美元
- Google Earth Engine(GEE)——以MODIS/006/MCD19A2为例批量下载逐天AOD数据逐天的均值、最大值、最小值、标准差、方差统计分析和CSV下载(北京市各区为例)
- Redis入门完整教程:初识Redis
- Create Ca and issue certificate through go language
猜你喜欢

The sandbox has reached a cooperation with digital Hollywood to accelerate the economic development of creators through human resource development

Google Earth Engine(GEE)——基于 MCD64A1 的 GlobFire 日常火灾数据集

LOGO特训营 第二节 文字与图形的搭配关系

Redis入门完整教程:Bitmaps

Set up a website with a sense of ceremony, and post it to 1/2 of the public network through the intranet

攻防世界 misc 高手进阶区 a_good_idea

Hit the core in the advanced area of misc in the attack and defense world

Serial port data frame

Unity vscode emmylua configuration error resolution

Li Kou 98: verify binary search tree
随机推荐
Redis入门完整教程:键管理
Locust performance test - environment construction and use
蓝队攻防演练中的三段作战
通过Go语言创建CA与签发证书
安装人大金仓数据库
Microservices -- Opening
都说软件测试很简单有手就行,但为何仍有这么多劝退的?
Logo special training camp section II collocation relationship between words and graphics
Sword finger offer 68 - ii The nearest common ancestor of binary tree
Logo special training camp section III initial creative techniques
SPSS installation and activation tutorial (including network disk link)
Set up a website with a sense of ceremony, and post it to 1/2 of the public network through the intranet
NFT insider 64: e-commerce giant eBay submitted an NFT related trademark application, and KPMG will invest $30million in Web3 and metauniverse
9 - 类
Redis introduction complete tutorial: slow query analysis
PMO: compare the sample efficiency of 25 molecular optimization methods
Attack and defense world misc advanced area Hong
Insert sort, select sort, bubble sort
Hit the core in the advanced area of misc in the attack and defense world
How to manage 15million employees easily?