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

cuplikan

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.