大智慧终极趋势主图指标
源码
lowave:=(ema(low,10)+ema(low,20)+ema(low,30))*0.28;
highave:=(ema(high,10)+ema(high,20)+ema(high,30))*0.382;
分界:(ema(highave,10)+ema(lowave,10))/2,colorwhite,linethick1;
支撑:ema(lowave,18),colorblue;
短压:ema(highave,18),colormagenta,linethick1;
长压:ema(close,260),colorred;
能量:ref(ema((2*close+high+low+open)/5,5),1),colorcyan,linethick1;
指导线:ema((slope(close,21)*20+close),42),coloryellow,linethick1;
参照线:ema((slope(能量,25)*20+能量),42),linethick0;
partline(参照线,能量 > 参照线,rgb(255,0,0),能量< 参照线,rgb(0,255,0));