自用找寻顶底(副图 源码 贴图)介绍
自用找寻顶底(副图 源码 贴图)
源码很简单:
{自编顶底}
DIFL:=EMA(V,12)-EMA(V,26);
DIF:=EMA(C,12)-EMA(C,26);
LOWV:=LLV(LOW,10);
HIGHV:=HHV(HIGH,10);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
底:DIFL>REF(DIFL,1) AND DIF<REF(DIF,1) AND K<20, COLORRED,LINETHICK2;
顶:DIFL<REF(DIFL,1) AND DIF>REF(DIF,1) AND K>80, COLORGREEN,LINETHICK2;
gd14560