OPEN-SOURCE SCRIPT

Moving Average - fade when crossed [cajole]

已更新
This indicator simply provides a moving average (SMA, EMA, etc. can be selected) which hides itself when touched by the price.

Two potential uses:
  • Set the growth rate to be slow, to highlight only very rapid moves on a chart.
  • Use the default settings and change the averaging period until the MA line remains bright. This MA can then act as a good trailing stop for the specific security.


TradingView does not remember indicator settings for specific charts. Consider adding a text label to your chart after you identify the ideal trailing stop. Similar trailing-stop methods are recommended by Kristjan Qullamagie is identical to Jesse Stine's "magic line" concept.
發布通知
Add an option to label the last value. Useful when using the script as a trail stop.
Exponential Moving Average (EMA)LINEmagicqullamagieSimple Moving Average (SMA)trailingstopWeighted Moving Average (WMA)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明