TradingView
cajole
1 nov. 2022 19:33

Moving Average - fade when crossed [cajole] 

Apple Inc.NASDAQ

Description

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.

Notes de version

Add an option to label the last value. Useful when using the script as a trail stop.
Plus