TradingView
tiwaryshailesh
2024년 3월 20일 오전 8시 4분

STY-Divergence 

Ethereum / TetherUSBinance

설명

draws a blue line representing the divergence between a 3-period moving average (3MA) close and the current candle high, and a red line representing the divergence between a 20-period moving average (20MA) close and the 3MA close
This script calculates the moving averages for both 3-period and 20-period and then computes the divergences as described. It plots the lines with blue color if the divergence is positive and red if negative. Adjust the length of moving averages or other parameters according to your preference.
더보기