- {1.黄金柱}
- JJ:=(3*C+H+L+O)/6;
- VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
- TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
- LJL:=FILTER(TJ1,3);
- 黄金线:=REF(LOW,BARSLAST(LJL));
- 黄金柱:=FILTER(TJ1,3);
- {2.倍量过左峰}
- SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
- SR2:=FILTER(SR1,10);
- SR3:=BACKSET(SR2,10+1);
- HD:=FILTER(SR3,10);
- 前高:=REF(H,BARSLAST(HD));
- 倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;
- 突破前高:=CROSS(C,前高);
- 倍量过左峰:= 突破前高 AND 倍量;
- {3.凹口起柱}
- T7:=REF(VOL,6)/REF(VOL,7)>=2;
- T6:=REF(VOL,5)/REF(VOL,6)>=2;
- T5:=REF(VOL,5)/REF(VOL,4)>=1.5;
- T4:=REF(VOL,4)/REF(VOL,3)>=1.5;
- T3:=REF(VOL,2)/REF(VOL,3)>=1.5;
- T1:=V/REF(VOL,1)>2;
- T0:=C>O AND C>REF(C,1);
- 凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0
- OR T3 AND T1 AND T0 ;
- {凹口起柱}
- AKQZ:= 黄金柱 and 凹口起柱;
- {4.前高低位}
- X:=21;
- TTY:=H;
- AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
- BBT:=FILTER(AAT,X);
- CCT:=BACKSET(BBT,X+1);
- HD10T:=FILTER(CCT,X);
- AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
- BB1T:=FILTER(AA1T,X);
- CC1T:=BACKSET(BB1T,X+1);
- LD10T:=FILTER(CC1T,X);
- 前期高位:=REF(H,BARSLAST(HD10T));
- 前期低位:=REF(L,BARSLAST(LD10T));
- {突破前高}
- TPQG:= 黄金柱 and 倍量过左峰 and C>前期高位;
- {选股}
- XG: (count(TPQG,10) or count(AKQZ,10)) and count(CROSS(黄金线*1.01,L),3)>0 and L>=黄金线 and C>ref(C,1) and ref(C,2)>ref(C,1) and count(LJL,3)=0;
|