CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
DWN:=BBIBOLL-6*STD(BBIBOLL,11);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
B1:=SUM(LLJX,1);
B2:=SUM(LLJX,2);
B3:=SUM(LLJX,3);
B4:=SUM(LLJX,4);
B5:=SUM(LLJX,5);
B6:=SUM(LLJX,6);
B7:=SUM(LLJX,7);
B8:=SUM(LLJX,8);
B9:=SUM(LLJX,9);
B10:=SUM(LLJX,10);
XG:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;
九毛八公式解读
CV赋值:收盘价 BBIBOLL赋值:(CV的3日简单移动平均+CV的6日简单移动平均+CV的12日简单移动平均+CV的24日简单移动平均)/4 UPR赋值:BBIBOLL+6*BBIBOLL的11日估算标准差 DWN赋值:BBIBOLL-6*BBIBOLL的11日估算标准差 QJJ赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值) XVL赋值:(如果收阳线,返回QJJ*(最高价-最低价),否则返回如果收阴线,返回QJJ*(最高价-开盘价+收盘价-最低价),否则返回成交量(手)/2+如果收阳线,返回0-QJJ*(最高价-收盘价+开盘价-最低价),否则返回如果收阴线,返回0-QJJ*(最高价-最低价),否则返回0-成交量(手)/2) HSL赋值:(XVL/20)/1.15 攻击赋值:((HSL*0.55+(1日前的HSL*0.33))+(2日前的HSL*0.22)) LLJX赋值:攻击的3日指数移动平均 B1赋值:LLJX的1日累和 B2赋值:LLJX的2日累和 B3赋值:LLJX的3日累和 B4赋值:LLJX的4日累和 B5赋值:LLJX的5日累和 B6赋值:LLJX的6日累和 B7赋值:LLJX的7日累和 B8赋值:LLJX的8日累和 B9赋值:LLJX的9日累和 B10赋值:LLJX的10日累和 输出XG:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (收盘价-开盘价)>=(UPR-BBIBOLL) AND 成交量(手)/1日前的成交量(手)>=1.9