以下是直捣老巢优化版

改良直捣老巢主图
E10:EXPMA(C,10),COLORRED;
 ZT:=C/REF(C,1)>1.095 AND C=H;
 A:=BARSLASTCOUNT(ZT);
 T:=BARSLAST(CROSS(A=3,0.5));
 LL:=REF(L,(T+2));
 TJ:=C<LL;
 AA:=COUNT(TJ,T+1)=1 AND TJ;
 TA:=BARSLAST(AA);
 LT:=BARSLAST(L=LLV(L,TA+1));
 TJ1:=CROSS(C,E10);
 XG:=COUNT(TJ1,LT+1)=1 AND TJ1 AND TOTALBARSCOUNT>200;
 STICKLINE(XG,C,O,2,0),COLORYELLOW;
 DRAWTEXT(XG,L*0.95,’起轿’),COLORYELLOW;

幅图
E10:=EXPMA(C,10);
 ZT:=C/REF(C,1)>1.095 AND C=H;
 A:=BARSLASTCOUNT(ZT);
 T:=BARSLAST(CROSS(A=3,0.5));
 LL:=REF(L,(T+2));
 TJ:=C<LL;
 AA:=COUNT(TJ,T+1)=1 AND TJ;
 TA:=BARSLAST(AA);
 LT:=BARSLAST(L=LLV(L,TA+1));
 TJ1:=CROSS(C,E10);
 XG:=COUNT(TJ1,LT+1)=1 AND TJ1 AND TOTALBARSCOUNT>200;
 STICKLINE(XG,0,8,1.8,0),COLORRED;

选股

ZT:=C/REF(C,1)>1.095 AND C=H;
 A:=BARSLASTCOUNT(ZT);
 T:=BARSLAST(CROSS(A=3,0.5));
 LL:=REF(L,(T+2));
 TJ:=C<LL;
 AA:=COUNT(TJ,T+1)=1 AND TJ;
 TA:=BARSLAST(AA);
 LT:=BARSLAST(L=LLV(L,TA+1));
 TJ1:=CROSS(C,EXPMA(C,10));
 XG:COUNT(TJ1,LT+1)=1 AND TJ1 AND TOTALBARSCOUNT>200;

下面是原始版本,适合做中线
 主图

ZT:=C>REF(C,1)*1.095 AND C=H;
 A:=BARSLASTCOUNT(ZT);
 T1:=BARSLAST(CROSS(A=1,0.5));
 T3:=BARSLAST(CROSS(A=3,0.5));
 TJ:=COUNT(C<REF(L,T1),T3+1)=1 AND C>REF(L,T1);
 TJ2:=COUNT(T3=0,T1+1)=1;
 XG:=TJ AND TJ2 AND T3<100;
 STICKLINE(XG,C,O,2,0),COLORYELLOW;
 DRAWICON(XG,L*0.95,1);

幅图
ZT:=C>REF(C,1)*1.095 AND C=H;
 A:=BARSLASTCOUNT(ZT);
 T1:=BARSLAST(CROSS(A=1,0.5));
 T3:=BARSLAST(CROSS(A=3,0.5));
 TJ:=COUNT(C<REF(L,T1),T3+1)=1 AND CROSS(C>REF(L,T1),0.5);
 TJ2:=COUNT(T3=0,T1+1)=1;
 XG:=TJ AND TJ2;
 STICKLINE(XG,0,8,1.5,0),COLORRED;

选股

ZT:=C>REF(C,1)*1.095 AND C=H;
 A:=BARSLASTCOUNT(ZT);
 T1:=BARSLAST(CROSS(A=1,0.5));
 T3:=BARSLAST(CROSS(A=3,0.5));
 TJ:=COUNT(C<REF(L,T1),T3+1)=1 AND C>REF(L,T1);
 TJ2:=COUNT(T3=0,T1+1)=1;
 XG:TJ AND TJ2 AND T3<100;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。