以下是同花顺绝对主力副图指标
同花顺绝对主力副图指标
源码
V1:=(CLOSE–MA(CLOSE,15))/MA(CLOSE,15)*100,colorgreen;
PARTLINE(V1,V1>REF(V1,1),RGB(250,0,0),V1<=REF(V1,1),RGB(0,250,250)),LINETHICK2;
v2:IF(V1>0,V1,0),colorred;
STICKLINE(V1>0,V1,0,8,0),CulorBD00BD;
STICKLINE(V1>0,V1,0,6,0),CulorEA00EA;
STICKLINE(V1>0,V1,0,4,0),CulorFF28FF;
mv3:EMA(EMA(v1,21),3)*2,coloryellow,linethick1;