资金进出指标

XA_1:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
XA_2:=REF(EMA(XA_1,3),1);
XA_3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XA_4:=IF(CLOSE>OPEN,XA_3*(HIGH-LOW),IF(CLOSE<OPEN,XA_3*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-XA_3*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-XA_3*(HIGH-LOW),0-VOL/2));
XA_5:=VOL/CAPITAL;
XA_6:=IF(XA_5>10,10,XA_5);
XA_7:=XA_4/20/1.15;
XA_8:=XA_7*0.55+REF(XA_7,1)*0.33+REF(XA_7,2)*0.22;
XA_9:=EMA(XA_8,8);
XA_10:=EMA(XA_8,3);
STICKLINE(XA_7*0.4>=0,XA_7*0.4+XA_10,0,3,0),COLORYELLOW;
STICKLINE(XA_7*0.4<0,XA_7*0.4+XA_10,0,3,0),COLORGREEN;
XA_11:=IF(XA_7*0.4+XA_10>0,XA_7*0.4+XA_10,DRAWNULL);
XA_12:=IF(XA_7*0.4+XA_10<0,XA_7*0.4+XA_10,DRAWNULL);
XA_13:=XA_7*0.4+XA_10;
XA_14:=AMOUNT/10000;
资金净进出:IF(XA_7*0.4+XA_10>0,XA_11,XA_12),POINTDOT,COLORWHITE;
进出比例%:IF(XA_7*0.4+XA_10>0,XA_11/XA_14*100,XA_12/XA_14*100),COLORYELLOW;
XA_15:=XA_10;{www.gpxiazai.com}
STICKLINE(XA_15>0,XA_15,0,3,0),COLORRED;
STICKLINE(XA_15<0,XA_15,0,3,0),COLORFF3300;
XA_16:=REF(XA_12,1)<0 AND XA_11>30 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,3);
XA_17:=(3*CLOSE+2*LOW+OPEN+HIGH)/7;
XA_18:=(20*XA_17+19*REF(XA_17,1)+18*REF(XA_17,2)+17*REF(XA_17,3)+16*REF(XA_17,4)+15*REF(XA_17,5)+14*REF(XA_17,6)+13*REF(XA_17,7)+12*REF(XA_17,8)+11*REF(XA_17,9)+10*REF(XA_17,10)+9*REF(XA_17,11)+8*REF(XA_17,12)+7*REF(XA_17,13)+6*REF(XA_17,14)+5*REF(XA_17,15)+4*REF(XA_17,16)+3*REF(XA_17,17)+2*REF(XA_17,18)+REF(XA_17,20))/210;
XA_19:=XA_11>300 AND CROSS(CLOSE,XA_18);

(0)

相关推荐