OPEN-SOURCE SCRIPT

ChillLax Distance From Moving Average

56
// show the % distance from the moving average, in colorful histogram
// you can choose :
// : the moving average of the close, default to 200 ma
// : sma or ema, default to sma
// : choose calculation from open or high or low or close (to the ma), default is close
// : threshold % above/below ma, default is 70%. when the stock is above/below
// this threshold, histogram is red (default)
// : otherwise, histogram is blue (default)

// Why this? In William O'neil's book, How to make money in stock, 4th edition, page 264,
// in Climax Top:
// 200-day moving average line. Some stocks may be sold when they are
// 70% to 100% or more above their 200-day moving average price line

istantanea

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.