通达信钱图洗盘杀入线源码

[复制链接]
查看132 | 回复0 | 2021-8-20 14:34:38 | 显示全部楼层 |阅读模式

以下是通达信钱图洗盘杀入线源码(无源码的请下载附件导入)


{洗盘杀入线源码:}

T11:=CONST(LLVBARS(LOW,10));

 T11HIGH:=CONST(REF(HIGH,T11));

 CC1:=CONST(CURRBARSCOUNT);

 T22:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T11 AND H>T11HIGH));

 T22HIGH:=CONST(REF(HIGH,T22));

 T33:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T22 AND HIGH>T22HIGH));

 T33HIGH:=CONST(REF(HIGH,T33));

 {C>=T33HIGH AND REF(C,1)<T33HIGH AND DYNAINFO(17)>2;}

 N:=10;

 T1K:=CONST(LLVBARS(LOW,N));

 T1HIGH:=CONST(REF(HIGH,T1K));

 CC:=CONST(CURRBARSCOUNT);

 T2K:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1K)) AND (HIGH>T1HIGH)));

 T2HIGH:=CONST(REF(HIGH,T2K));

 T3K:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2K)) AND (HIGH>T2HIGH)));

 T3HIGH:=CONST(REF(HIGH,T3K));

洗盘杀入线:DRAWLINE(CURRBARSCOUNT=10+1,T3HIGH,ISLASTBAR, T3HIGH,1),LINETHICK1,COLORLIRED;

 DRAWTEXT(ISLASTBAR, T3HIGH,'杀入线')LINETHICK1,COLORLIRED;

MAA5:MA(C,5),COLORFF00FF,LINETHICK2;

MAA10:=MA(C,10);

MAA30:MA(C,30),COLORRED;

KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;

A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

A4:=SMA(A3,3,1);

A5:=SMA(A4,3,1);

A6:=3*A4-2*A5;

A7:=C-REF(C,1);

A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);

买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));

DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;

STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;

 

66599133.png

66599133.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则