X_1:=NAMELIKE(1)=0 AND NAMELIKE(2)=0 AND NAMELIKE(3)=0 AND NAMELIKE(4)=0;
X_2:=DYNAINFO(4)>0;
X_3:=IF(CODELIKE(5) OR CODELIKE(6),0,1);
X_4:=IF(CODELIKE(7),0,1);
X_5:=X_1 AND X_2 AND X_3 AND X_4;
X_6:=CLOSE-REF(CLOSE,1);
X_7:=STD(CLOSE,8);
X_8:=STD(CLOSE,21);
X_9:=STD(CLOSE,55);
X_10:=STD(CLOSE,144);
X_11:=X_6/X_7;
X_12:=X_6/X_8;
X_13:=X_6/X_9;
X_14:=X_6/X_10;
X_15:=X_11>1*0.997;
X_16:=X_12>1*0.997;
X_17:=X_13>1*0.997;
X_18:=X_14>1*0.997;
X_19:=X_15 AND X_16 AND X_17 AND X_18;
X_20:=MA(CLOSE,20)/(OPEN-MA(CLOSE,20))>0;
X_21:=100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));
X_22:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));
X_23:=X_21>20 AND X_22>20 AND CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH AND X_20=0;
X_24:=COUNT(REF(X_23,1),5)>0 AND X_5;
X_25:=HHV(CLOSE,53)*0.93;
X_26:=X_25>REF(X_25,1)*0.997;
X_27:=X_24 AND X_26 AND CLOSE/REF(CLOSE,1)>1.01;
X_28:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.011) AND REF(CLOSE,1)/REF(CLOSE,2)<1.029;
X_29:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.0325) AND REF(CLOSE,1)/REF(CLOSE,2)<1.029;
X_30:=X_28 OR X_29;
龙舟抓龙:X_27 AND X_30 AND CLOSE/REF(CLOSE,1)>1.015 AND X_19,COLORRED;
九毛八公式解读
X_1赋值:模糊匹配品种名称=0 AND 模糊匹配品种名称=0 AND 模糊匹配品种名称=0 AND 模糊匹配品种名称=0 X_2赋值:开盘价>0 X_3赋值:如果模糊匹配品种代码ORCODELIKE(6),返回0,否则返回1 X_4赋值:如果模糊匹配品种代码,返回0,否则返回1 X_5赋值:X_1 AND X_2 AND X_3 AND X_4 X_6赋值:收盘价-1日前的收盘价 X_7赋值:收盘价的8日估算标准差 X_8赋值:收盘价的21日估算标准差 X_9赋值:收盘价的55日估算标准差 X_10赋值:收盘价的144日估算标准差 X_11赋值:X_6/X_7 X_12赋值:X_6/X_8 X_13赋值:X_6/X_9 X_14赋值:X_6/X_10 X_15赋值:X_11>1*0.997 X_16赋值:X_12>1*0.997 X_17赋值:X_13>1*0.997 X_18赋值:X_14>1*0.997 X_19赋值:X_15 AND X_16 AND X_17 AND X_18 X_20赋值:收盘价的20日简单移动平均/(开盘价-收盘价的20日简单移动平均)>0 X_21赋值:100*(收盘价-5日内最低价的最低值)/(5日内收盘价的最高值-5日内最低价的最低值) X_22赋值:100*(收盘价-30日内最低价的最低值)/(30日内收盘价的最高值-30日内最低价的最低值) X_23赋值:X_21>20 AND X_22>20 AND 收盘价/1日前的收盘价>1.09 AND 收盘价=最高价 AND X_20=0 X_24赋值:统计5日中满足1日前的X_23的天数>0 AND X_5 X_25赋值:53日内收盘价的最高值*0.93 X_26赋值:X_25>1日前的X_25*0.997 X_27赋值:X_24 AND X_26 AND 收盘价/1日前的收盘价>1.01 X_28赋值:收盘价的2日指数移动平均上穿1日前的收盘价的2日指数移动平均*1.011 AND 1日前的收盘价/2日前的收盘价<1.029 X_29赋值:收盘价的2日指数移动平均上穿1日前的收盘价的2日指数移动平均*1.0325 AND 1日前的收盘价/2日前的收盘价<1.029 X_30赋值:X_28 OR X_29 输出龙舟抓龙:X_27 AND X_30 AND 收盘价/1日前的收盘价>1.015 AND X_19,画红色