{倉(cāng)位管控F}
XA_1:=CLOSE-REF(CLOSE,1);
XA_2:=100*EMA(EMA(XA_1,5),3)/EMA(EMA(ABS(XA_1),5),3);
XA_3:=100*EMA(EMA(XA_1,13),8)/EMA(EMA(ABS(XA_1),13),8);
XA_4:=XA_2>XA_3;
XA_5:=IF(XA_4,6,0);
XA_6:=EMA(CLOSE,8)-EMA(CLOSE,13);
XA_7:=EMA(XA_6,5);
XA_8:=XA_6>XA_7;
XA_9:=IF(XA_8,1,0);
XA_10:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;
XA_11:=CLOSE>XA_10;
XA_12:=IF(XA_11,5,0);
XA_13:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
XA_14:=SMA(XA_13,3,1);
XA_15:=SMA(XA_14,3,1);
XA_16:=XA_14>XA_15;
XA_17:=IF(XA_16,2,0);
XA_18:=REF(CLOSE,1);
XA_19:=SMA(MAX(CLOSE-XA_18,0),5,1)/SMA(ABS(CLOSE-XA_18),5,1)*100;
XA_20:=SMA(MAX(CLOSE-XA_18,0),13,1)/SMA(ABS(CLOSE-XA_18),13,1)*100;
XA_21:=XA_19>XA_20;
XA_22:=IF(XA_21,3,0);
XA_23:=(-(HHV(HIGH,13)-CLOSE))/(HHV(HIGH,13)-LLV(LOW,13))*100;
XA_24:=SMA(XA_23,3,1);
XA_25:=SMA(XA_24,3,1);
XA_26:=XA_24>XA_25;
XA_27:=IF(XA_26,4,0);
XA_28:=XA_8+XA_16+XA_21+XA_26+XA_11+XA_4-3;
【持股】:XA_28>0,NODRAW,COLORMAGENTA;
【持幣】:XA_28<0,NODRAW,COLORGREEN;
【變盤】:XA_28=0,NODRAW,COLORYELLOW;
0,COLORYELLOW;
STICKLINE(【持股】,0,XA_28,2,0),COLORMAGENTA;
STICKLINE(【持幣】,0,ABS(XA_28),2,0),COLORGREEN;
STICKLINE(【變盤】,0,1,2,0),COLORYELLOW;
DRAWICON(【持股】 AND REF(XA_28,1)<=0,(-0.8),7);
DRAWICON(【持幣】 AND REF(XA_28,1)>=0,(-0.8),8);
聯(lián)系客服