OPEN-SOURCE SCRIPT

ADR: Average Daily Range

已更新
Very basic script... adjust the EMA to 13 for stocks, and less volatile assets. 26 for crypto, and anything highly volatile.

When the Daily Low line (bottom yellow/orange line) dips hard, and finds support for 3+ bars somewhere, this is a sign of a trend reversal. For a solid confirmation, wait for the Super Average and EMA to spike downwards as well. All of this can also be seen as reversal at the top of a trend, just upturned.

The 2 Daily lines (2 yellow/orange lines) act as support for the price to bounce off of. Fine tuning is required to get these really smooth, but it's a simple enough idea.

Edit: Screwed up the EMA in my posted example. Should be 26.
版本注释
In this version, I've added an input for the length of the EMA, and names for the plot functions.
版本注释
General clean up here. Numbers are now simplified to one decimal place, and shown as an integer, not a float.

The EMA has been changed to a SMA, due to better reaction and confirmation in testing.
averageMoving AveragesOscillatorsTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明