波段建仓抄底 红绿双线金叉《通达信+指标+公式+副图+源码》分享
副图公式源码支持 手机/电脑
CHA:=(2*C+H+L)/4;
CHB:=LLV(L,5);
CHC:=HHV(H,5);
红线:EMA((CHA-CHB)/(CHC-CHB)*27,5),COLORRED;
绿线:EMA(红线,3),COLORGREEN;
抄底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK1,COLORFF00FF;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J<19,4,1),COLORRED;
CHPA:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
CHPB:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
CHPC:=SMA(CHPB,13,8);
CHPD:=SMA(CHPA,21,8);
机会:=SMA(CHPC,13,8),COLORRED;
AA:=FILTER((COUNT((机会-CHPD<(-65)),3)=3),34);
波段建仓:IF(AA,15,0),COLORFFFFFF,STICK,LINETHICK2;
DRAWTEXT(波段建仓,17,'波段建仓'),COLORFFFFFF;
选股公式源码
{选股公式一:波段建仓}
CHPA:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
CHPB:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
CHPC:=SMA(CHPB,13,8);
CHPD:=SMA(CHPA,21,8);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
机会:=SMA(CHPC,13,8),COLORRED;
AA:=FILTER((COUNT((机会-CHPD<(-65)),3)=3),34);
波段建仓:IF(AA,15,0),COLORFFFFFF,LINETHICK2;
{选股公式二:抄底}
CHA:=(2*C+H+L)/4;
CHB:=LLV(L,5);
CHC:=HHV(H,5);
抄底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK1,COLORFF00FF;
{选股公式三:红箭头图标}
CHA:=(2*C+H+L)/4;
CHB:=LLV(L,5);
CHC:=HHV(H,5);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
CHPA:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
CHPB:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
CHPC:=SMA(CHPB,13,8);
CHPD:=SMA(CHPA,21,8);
红箭头图标:CROSS(J,REF(J+0.01,1)) AND X AND J<19;