{倍量+百日巨量}
倍量:=V =REF(V,1)*1.91;
百日大量:=vol REF(HHV(VOL,100),1);
量:=倍量 OR 百日大量;
{主力增减仓+obv}
C1:=10000*C/INDEXC;
O1:=10000*O/INDEXO;
主力动向:=MA(C1,5);
增减仓:=C1-主力动向;
增仓1:=增减仓
MAV30:=SUM(增减仓,30);
MAV90:=SUM(增减仓,90);
资金天:=BArslAST(NOT(MAV30 =0));
长资天:=BARSLAST(NOT(MAV90 =0));
涨板:=C/REF(C,1) 1.095 AND C=H;
界:=EMA(EMA(EMA(EMA(MA(MA(MA(SUM(MA(CLOSE,60)/1,1),1),1),1),5),5),12),13)*1.01;
{主升线}
V5:=EMA(CLOSE,1);
主线:=EMA(V5,5) ;
本:=EMA(HHV(主线,5),1);
急进:=EMA(HHV(本,17),1);
稳健:=EMA(HHV(急进,17),2);
主升线:=EMA(HHV(稳健,17),3);
{布林}
ZG:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
YL:=bbi+3*STD(BBI,10);
ZC:=BBI-3*STD(BBI,10);
AQ:=MA(CLOSE,30);
收口比:=(YL-ZC)/ZC*100;
布林收口:=收口比 =12 AND ZG =REF(ZG,1);
BL1:=L =ZG AND C
BL2:=L =YL AND C
BL3:=L =ZC AND C
BL0:=L =AQ AND C
BL:=BL1+BL2+BL3
BL5:=BL0+BL1+BL2+BL3
BLC:=布林收口 AND BL AND C/REF(C,1) 1.025;
BLCQ:=布林收口 AND BL5 AND C/REF(C,1) 1.025;
波段:=crOSS(ZG,AQ) AND ZG =REF(ZG,1);
发财1:=波段 AND BLC;
布林上轨:=YL =REF(YL,1);
{短线利器}
VARR1:=LLV(LOW,21);
VARR2:=HHV(HIGH,21);
K:=EMA((CLOSE-VARR1)/(VARR2-VARR1)*100,6);
D:=EMA(0.667*REF(K,1)+0.333*K,2);
VARR3:=LLV(LOW,55);
VARR4:=HHV(HIGH,34);
VARR5:=EMA((CLOSE-VARR3)/(VARR4-VARR3)*100,3);
VARR6:=(K+VARR5)/2;
VARR7:=EMA(0.667*REF(VARR5,1)+0.333*K,2);
VARR8:=EMA(VARR6,5);
VARR9:=EMA(0.667*REF(VARR8,1)+0.333*VARR8,2);
卖:=LONGCROSS(D,K,0.1);
短线:=LONGCROSS(K,D,0.1);
DB1:=REF(涨板,1) AND REF(倍量,1) AND 倍量 AND Abs(C/REF(C,1)-1) =0.06;
DB2:=REF(COUNT(DB1,20)=1,1);
DB3:=BARSLAST(DB1);
DB4:=LLV(C,DB3) =(REF(C,DB3+1)+REF(O,DB3+1))/2 AND HHV(C,DB3) =REF(C,DB3+1)*1.15;
DB5:=REF(COUNT(ABS(C/REF(C,1)-1) 0.05,DB3) 1,1);
DB6:=COUNT(MA(C,5) 界,DB3)
XG:DB2 AND DB4 AND DB5 AND DB6 AND 量+BL+短线