blackcat1402

[blackcat] L3 Gradient Swings of Bull and Bear

Level 3

Background

Some friends in the TradingView community say that my technical indicators are too complicated to write. Is there anything that is easy to use? This time I will publish a simple indicator to use.

Function

This indicator uses a custom stochastic indicator as its initial value. Calculate the difference between the short-term and long-term EMA moving averages twice. Find the geometric mean of the above values and calculate the variance value. According to this algorithm, two sets of variance values are calculated respectively, one is the fast line and the other is the slow line. Finally, the 22-period EMA of the fast and slow lines is used as the final output value. This output can effectively reflect the band characteristics of the price.


Because this output is relatively smooth, it can effectively filter out clutter noise, so you can clearly see the shape of the entire band. Go long during an uptrend and go short on the contrary. I use red and green gradients for longs and shorts respectively. The entry points are identified by red and green labels at the start of the band. In addition, the filtered peaks and troughs are also the basis for technical divergence judgments, so I added divergence identification lines.



The disadvantage of this indicator is that it is prone to many interference signals in the sideway stage. In order to filter out these signals and extract only useful trend signals, the user can enter a threshold in the settings dialog and select an appropriate display threshold in combination with the amplification factor. This way the part between 0 and the threshold will be grayed out. The gray area is the sideway, where the signal can be ignored.


Remarks

Feedbacks are appreciated.

Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?