2024主力动手 洗盘拉升《通达信+指标+公式+副图+源码》
副图公式 源码支持手机/电脑
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV1,3,1);D:=SMA(K,3,1);
GUA1:=REF(LOW,1);GUA2:=REF(H,1);
GUP1:=SMA(ABS(H-GUA2),13,1)/SMA(MAX(H-GUA2,0),13,1)*100;
GUP2:=SMA(ABS(L-GUA1),13,1)/SMA(MAX(L-GUA1,0),13,1)*100;
GUP3:=REF(CLOSE,1);
GUP4:=MA(GUP2,13);
GUP5:=LLV(L,34);
GUP6:=SMA(MAX(CLOSE-GUP3,0),6,1)/SMA(ABS(CLOSE-GUP3),6,1)*100;
GUP7:=CROSS(93,GUP6);
GUP8:=EMA(IF(L<=GUP5,GUP4,0),3);
GUP9:=H>LLV(L,0)*7;
GUP10:=(SMA(SMA((((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54)))*100),7,1),5,1));
GUP11:=((SMA(((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100),7,1))*16.18)-(GUP10*10.9);
TJ1:FILTER(IF(GUP11<=GUP10 AND GUP8>REF(GUP8,1),GUP8*8,0),20),LINETHICK4,STICK,COLORFF00FF;
TJ2:FILTER(IF(CROSS(D,K) AND SUM(DIFF1>REF(DIFF1,1),3)>3,CROSS(D,K) AND CROSS(DEA1,DIFF1),0),13),STICK,COLOR5E8262,LINETHICK3;
TJ3:FILTER(CROSS(DIFF1,DEA1) AND VOL>REF(SUM(VOL,5),1),3),STICK,COLOR00FFFF,LINETHICK3;
TJ4:FILTER(GUP7 AND C/(REF(C,1)-1)*100!=5 AND GUP9 AND VOL>REF(SUM(VOL,3),1),5),STICK,COLORFFFF00,LINETHICK3;
TJ5:FILTER(GUP9 AND CROSS(D,K) AND C/(REF(C,1)-1)*100!=5,22),STICK,COLOR00FF00,LINETHICK3;
DRAWTEXT(TJ2,TJ2,'洗盘开始'),COLOR5E8262;
DRAWTEXT(TJ1,TJ1*0.90,'洗盘完毕'),COLORFF00FF;
DRAWTEXT(TJ3,TJ3*0.90,'主力拉升'),COLOR00FFFF;
DRAWTEXT(TJ4,TJ4*0.90,'逃跑'),COLORFFFF00;
DRAWTEXT(TJ5,TJ5*0.90,'减仓'),COLOR00FF00;
选股公式
{选股公式一:主力拉升}
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
GUA1:=REF(LOW,1);GUA2:=REF(H,1);
GUP1:=SMA(ABS(H-GUA2),13,1)/SMA(MAX(H-GUA2,0),13,1)*100;
GUP2:=SMA(ABS(L-GUA1),13,1)/SMA(MAX(L-GUA1,0),13,1)*100;
GUP3:=REF(CLOSE,1);
TJ3:=FILTER(CROSS(DIFF1,DEA1) AND VOL>REF(SUM(VOL,5),1),3),COLOR00FFFF,LINETHICK3;
主力拉升:TJ3;
{选股公式二:洗盘完毕}
GUA1:=REF(LOW,1);GUA2:=REF(H,1);
GUP1:=SMA(ABS(H-GUA2),13,1)/SMA(MAX(H-GUA2,0),13,1)*100;
GUP2:=SMA(ABS(L-GUA1),13,1)/SMA(MAX(L-GUA1,0),13,1)*100;
GUP3:=REF(CLOSE,1);
GUP4:=MA(GUP2,13);
GUP5:=LLV(L,34);
GUP6:=SMA(MAX(CLOSE-GUP3,0),6,1)/SMA(ABS(CLOSE-GUP3),6,1)*100;
GUP7:=CROSS(93,GUP6);
GUP8:=EMA(IF(L<=GUP5,GUP4,0),3);
GUP9:=H>LLV(L,0)*7;
GUP10:=(SMA(SMA((((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54)))*100),7,1),5,1));
GUP11:=((SMA(((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100),7,1))*16.18)-(GUP10*10.9);
TJ1:=FILTER(IF(GUP11<=GUP10 AND GUP8>REF(GUP8,1),GUP8*8,0),20),LINETHICK4,COLORFF00FF;
洗盘完毕:TJ1;
真是 收益 匪浅
页:
[1]