感觉118 发表于 2016-9-27 08:36

突破锅顶战法通达信指标

源码:MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
LT:=LLVBARS(L,60);
LT1:=LLVBARS(L,60);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
DT:=FINDLOW(L,LT1+1,60,1);
锅顶: DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK2;TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);AA:=CROSS(C,CONST(锅顶));
TJ:=COUNT(AA,TT+1)=1 AND AA;
TJ1:=COUNT(V<MA(V,277),TT+1) ;
BL:=TJ1/(TT+1)*100;
XG:=TJ AND TT>40 AND BL>70;
XGT:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(XG))+1);
ZH:=REF(H,TT);
YL:=REF(L,LTT);
XC:=REF(C,XGT);
YZ:=(XC-YL)/YL*100;
ZBL:=YZ/REF(LTT,XGT);
XGA:=XG AND ZBL<2.95;
BB: DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED,LINETHICK2;
锅底: DRAWLINE(CURRBARSCOUNT>CONST(LT1)+0,L,ISLASTBAR,REF(L,LT1),0),COLORWHITE,LINETHICK3;
B:=DRAWLINE(CURRBARSCOUNT>DLOW,L,ISLASTBAR,REF(H,DLOW),0),COLORRED,LINETHICK2;DRAWLINE(LTT=0,L,XGT=0,L,0),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.05,0,'加微信:kc8001 送图上指标 金钻指标'),COLORYELLOW;
DRAWICON(XGA,L*0.95,9);
XG1:=TJ AND TT>40 AND BL>20;DRAWTEXT_FIX(C>O,0.01,0.9,0,' 加微信:kc8001 送图上指标 金钻指标'),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;


醉亨人生 发表于 2021-8-7 09:44


源码:
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
LT:=LLVBARS(L,60);
LT1:=LLVBARS(L,60);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
DT:=FINDLOW(L,LT1+1,60,1);
锅顶: DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK2;TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
AA:=CROSS(C,CONST(锅顶));
TJ:=COUNT(AA,TT+1)=1 AND AA;
TJ1:=COUNT(V<MA(V,277),TT+1) ;
BL:=TJ1/(TT+1)*100;
XG:=TJ AND TT>40 AND BL>70;
XGT:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(XG))+1);
ZH:=REF(H,TT);
YL:=REF(L,LTT);
XC:=REF(C,XGT);
YZ:=(XC-YL)/YL*100;
ZBL:=YZ/REF(LTT,XGT);
XGA:=XG AND ZBL<2.95;
BB: DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED,LINETHICK2;
锅底: DRAWLINE(CURRBARSCOUNT>CONST(LT1)+0,L,ISLASTBAR,REF(L,LT1),0),COLORWHITE,LINETHICK3;
B:=DRAWLINE(CURRBARSCOUNT>DLOW,L,ISLASTBAR,REF(H,DLOW),0),COLORRED,LINETHICK2;
DRAWLINE(LTT=0,L,XGT=0,L,0),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.05,0,'加微信:kc8001 送图上指标 金钻指标'),COLORYELLOW;
DRAWICON(XGA,L*0.95,9);
XG1:=TJ AND TT>40 AND BL>20;DRAWTEXT_FIX(C>O,0.01,0.9,0,' 加微信:kc8001 送图上指标 金钻指标'),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;

7秒记忆 发表于 2021-5-4 00:06

lipengyeye 发表于 2016-11-12 23:18
突破锅顶突破锅顶


谢谢楼主的分享

7秒记忆 发表于 2021-8-4 00:11

好好学习天天向上 谢谢

wh1813 发表于 2016-10-10 00:52

感谢楼主,楼主辛苦了!!!

上大虎 发表于 2016-10-10 05:42

ddddddddddd

wthxz 发表于 2016-10-10 06:00

学习学习学习

wtwl3142 发表于 2016-10-11 11:43

多谢分享。

lipengyeye 发表于 2016-11-12 23:18

突破锅顶突破锅顶

阳光正好 发表于 2016-11-13 02:49

谢谢分享!!!!!!!

ljxlxq 发表于 2016-11-13 08:21

谢谢楼主分享

phz0101 发表于 2016-11-28 20:05

谢谢楼主分享

ljxlxq 发表于 2016-11-28 21:39

谢谢楼主分享

菜大爷 发表于 2016-11-28 23:02

突破通铺调皮

ljxlxq 发表于 2016-12-2 14:29

谢谢楼主分享

松生危岩 发表于 2016-12-2 14:34

谢谢楼主分享!

ljxlxq 发表于 2016-12-5 14:21

谢谢楼主分享

联想之理想 发表于 2016-12-11 21:21

突破锅顶。。。。。
页: [1] 2 3
查看完整版本: 突破锅顶战法通达信指标