OPEN-SOURCE SCRIPT
已更新 ATR COG (Joy Bangla)

Notes:
This is an updated version 4 script from Lazy Bear's code as found from here
The update is there to ensure we can have alerts successfully set on Trading View
- Black crosses indicate squeeze. It means an impending move once squeeze is released
- Price tends to go from red dot to green dot to red dot to green dot to red dot in an endless cycle. We wait for the price bar to not touch the dots before we make a move
- If the price goes between the dots and the lines, it means it is likely overheated/oversold respectively
- If the price moves above the top line, it means the market is super overbought
- If the price moves below the bottom line, it means the market is super oversold
This is an updated version 4 script from Lazy Bear's code as found from here

The update is there to ensure we can have alerts successfully set on Trading View
版本注释
Title: Advanced ATR COG IndicatorDescription:
This Advanced ATR COG (Average True Range Center Of Gravity) Indicator is a sophisticated tool for traders seeking an edge in their technical analysis. The indicator is based on the concept of Center of Gravity (COG) and combines it with Average True Range (ATR) and Standard Deviation concepts to provide a more nuanced view of market behaviour.
Key features:
1. COG (Center of Gravity): The COG line (COG Median STDEV) is calculated by linear regression over a user-defined period. It essentially gives a best-fit line over the specified period and can provide insight into the market's overall trend.
2. STDEV Channel (COG BB+ and COG BB-): This channel is formed by adding/subtracting a user-defined multiple of the standard deviation from the COG line. It may provide potential areas of support and resistance.
3. ATR Channel (COG Starc+ ATR and COG Star- ATR): This channel is formed by adding/subtracting a user-defined multiple of the Average True Range from the COG line. It provides another perspective of volatility and may be used for breakout strategies or to assess risk.
Customization:
Users can customize the source for COG calculation, COG length, COG multiplier, and the top and bottom ATR multipliers better to suit their specific trading strategy or market conditions.
Please note that, like all technical analysis tools, this indicator should be used in conjunction with other forms of analysis and is not meant to provide buy or sell signals.
Always conduct your own analysis and consult a financial advisor before trading.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
For guides on how to use the Aladdin indicator or how to buy it, please check joy-bangla.gitbook.io/aladdin/
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
For guides on how to use the Aladdin indicator or how to buy it, please check joy-bangla.gitbook.io/aladdin/
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。