三色抄底信号指标《通达信+指标+公式+副图+源码》分享
副图公式源码支持: 手机/电脑
CHP1:=REF(CLOSE,1);
CHP2:=SMA(MAX(CLOSE-CHP1,0),7,1)/SMA(ABS(CLOSE-CHP1),7,1)*100;
抄底绿:IF(FILTER(REF(CHP2,1)<16 AND CHP2>REF(CHP2,1),6),1,0),COLORGREEN;
DRAWTEXT(抄底绿,0.8,'绿'),COLORGREEN;
BIAS1:=(C-MA(C,5))/MA(C,5)*100;
BIAS2:=(C-MA(C,13))/MA(C,13)*100;
BIAS3:=(C-MA(C,21))/MA(C,21)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
抄底红:IF(CROSS(BIAS,乖离) AND 乖离<-12.5,1,0),COLORRED;
DRAWTEXT(抄底红,0.6,'红'),COLORRED;
RSV1:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
X:=LLV(J1,2)=LLV(J1,8);
抄底黄:IF(CROSS(J1,REF(J1+0.01,1)) AND X AND J1<18,1,0),COLORYELLOW;
DRAWTEXT(抄底黄,0.4,'黄'),COLORYELLOW;
选股公式源码
{选股公式一:抄底绿}
CHP1:=REF(CLOSE,1);
CHP2:=SMA(MAX(CLOSE-CHP1,0),7,1)/SMA(ABS(CLOSE-CHP1),7,1)*100;
抄底绿:IF(FILTER(REF(CHP2,1)<16 AND CHP2>REF(CHP2,1),6),1,0),COLORGREEN;
{选股公式二:抄底黄}
RSV1:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
X:=LLV(J1,2)=LLV(J1,8);
抄底黄:IF(CROSS(J1,REF(J1+0.01,1)) AND X AND J1<18,1,0),COLORYELLOW;
{选股公式三:抄底红}
CHP1:=REF(CLOSE,1);
CHP2:=SMA(MAX(CLOSE-CHP1,0),7,1)/SMA(ABS(CLOSE-CHP1),7,1)*100;
BIAS1:=(C-MA(C,5))/MA(C,5)*100;
BIAS2:=(C-MA(C,13))/MA(C,13)*100;
BIAS3:=(C-MA(C,21))/MA(C,21)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
抄底红:IF(CROSS(BIAS,乖离) AND 乖离<-12.5,1,0),COLORRED;