beyond202104 发表于 2023-8-28 16:33:05

MACP线(通达信公式 主图 源码 测试图)


{MACP线}

MA8:IF(MA(C,8)> MA(C,89),MA(C,8),MA(C,89)) LINETHICK2;MA21:IF(MA(C,21)   >MA(C,89),MA(C,21),MA(C,89)) LINETHICK2;MA89:MA(C,89),LINETHICK2;{洗盘杀入线源码:}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),LINETHICK3,COLORLIRED; DRAWTEXT(ISLASTBAR, T3HIGH,'杀入线')LINETHICK1,COLORLIRED;


123457015 发表于 2023-12-1 15:37:30

找了很久了,多谢!

chwbn765 发表于 2024-1-23 11:32:19

内容真的很不错

戈壁野兔子 发表于 2024-3-25 21:51:43

这里资源很丰富啊

张永峰 发表于 2024-4-7 07:13:16

学习了,谢谢分享、、、
页: [1]
查看完整版本: MACP线(通达信公式 主图 源码 测试图)