指标源码: N:=3;
XA_1:=3;
XA_2:=MA(HHV(HIGH,485),17);
XA_3:=MA(HHV(HIGH,222),17);
XA_4:=MA(HHV(HIGH,96),17);
XA_5:=MA(LLV(LOW,485),17);
XA_6:=MA(LLV(LOW,222),17);
XA_7:=MA(LLV(LOW,96),17);
XA_8:=MA((XA_5*0.96+XA_6*0.96+XA_7*0.96+XA_2*0.558+XA_3*0.558+XA_4*0.558)/6,17);
XA_9:=MA((XA_5*1.25+XA_6*1.23+XA_7*1.2+XA_2*0.55+XA_3*0.55+XA_4*0.65)/6,17);
XA_10:=MA((XA_5*1.3+XA_6*1.3+XA_7*1.3+XA_2*0.68+XA_3*0.68+XA_4*0.68)/6,17);
XA_11:=MA((XA_8*3+XA_9*2+XA_10)/6*1.738,17);
XA_12:=IF(DATE<=1050531,XA_11,XA_11*DAY);
XA_13:=LOW;
XA_14:=REF(LOW,1);
XA_15:=SMA(ABS(XA_13-XA_14),3,1)/SMA(MAX(XA_13-XA_14,0),XA_1,1)*100;
XA_16:=MA(IF(CLOSE*1.35<=XA_12,XA_15*10,XA_15/10),XA_1);
XA_17:=LLV(LOW,30);
XA_18:=HHV(XA_16,30);
XA_19:=1990831;
XA_20:=IF(DATE<=XA_19,MA(IF(LOW<=XA_17,(XA_16+XA_18*2)/2,0),XA_1),100000000);
XA_21:=IF(CLOSE<REF(CLOSE,1),VOL/CAPITAL*10053,0);
XA_22:=ABS(EMA(XA_21,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<(-0.04),1,0);
短线买:IF(XA_20>500 AND XA_20>2500,1,0),COLORYELLOW;
中线买:IF(XA_20>10000 AND XA_20>20000,2,0),COLORMAGENTA,LINETHICK2;
叫你买:IF(XA_20>30000 AND XA_20>30000,3,0),COLORRED,LINETHICK3;
|