X_1:=1151230;
X_2:=IF(DATE<X_1,1,0);
X_3:=1;
X_4:=MA((2*CLOSE+HIGH+LOW)/4,5);
X_5:=X_4*1.02;
X_6:=X_4*0.98;
X_7:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
X_8:=DMA(CLOSE,X_7);
X_9:=1.07*X_8;
X_10:=0.93*X_8;
X_11:=(X_5-REF(X_5,5))/REF(X_5,5)*1000;
X_12:=(X_9-REF(X_9,5))/REF(X_9,5)*1000;
X_13:=MA(CLOSE,9);
X_14:=LLV(LOW,10);
X_15:=HHV(HIGH,25);
X_16:=EMA((CLOSE-X_14)/(X_15-X_14)*4,4);
X_17:=(LOW+HIGH+CLOSE*2)/4;
X_18:=EMA(X_17,14);
X_19:=(X_6-X_13)/X_13*100;
X_20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_21:=REF((X_6-X_20)/X_20*100,1);
X_22:=X_5>X_9 AND X_9>=REF(X_9,1);
X_23:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND
MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND
MA(CLOSE,55)>=REF(MA(CLOSE,55),1);
X_24:=LOW<X_6*1 AND LOW<X_13*1.006;
X_25:=X_19<=1.5 OR (X_19>1.5 AND LOW<X_18);
X_26:=X_21<=1 OR (X_21>1 AND LOW<X_18);
X_27:=CLOSE>DTPRICE(REF(CLOSE,1),0.09);
X_28:=X_22 AND X_23 AND X_24 AND X_25 AND X_26 AND X_27;
X_29:=IF(REF(EXIST(REF(X_28,1) AND HIGH>ZTPRICE(REF(LOW,1),0.04),4),1),0,1);
黄金超短:X_28 AND X_29 AND X_3;
九毛八公式解读
X_1赋值:1151230 X_2赋值:如果日期X_9 AND X_9>=1日前的X_9 X_23赋值:收盘价的5日简单移动平均>收盘价的10日简单移动平均 AND 收盘价的10日简单移动平均>收盘价的20日简单移动平均 AND 收盘价的20日简单移动平均>=1日前的收盘价的20日简单移动平均 AND 收盘价的55日简单移动平均>=1日前的收盘价的55日简单移动平均 X_24赋值:最低价 1.5 AND 最低价 1 AND 最低价 计算跌停价 X_28赋值:X_22 AND X_23 AND X_24 AND X_25 AND X_26 AND X_27 X_29赋值:如果1日前的最近4日存在1日前的X_28ANDHIGH>计算涨停价,返回0,否则返回1 输出黄金超短:X_28 AND X_29 AND X_3