{登峰VOLUME}
{填写参数M1=5;M2=10;N:=5;}
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
XA_1:=CLOSE-REF(CLOSE,1);
XA_2:=100*EMA(EMA(XA_1,N),N)/EMA(EMA(ABS(XA_1),N),N);
XA_3:=IF(LLV(XA_2,2)=LLV(XA_2,7) AND COUNT(XA_2<0,2) AND CROSS(XA_2,MA(XA_2,2)),1,0);
XA_4:=IF(HHV(XA_2,2)=HHV(XA_2,7) AND COUNT(XA_2>50,2) AND CROSS(MA(XA_2,2),XA_2),1,0);
STICKLINE(FILTER(XA_3=1,5),VOLUME,0,3.5,0),COLOR0D0C6A;
STICKLINE(FILTER(XA_3=1,5),VOLUME,0,2.5,0),COLOR0D06AA;
STICKLINE(FILTER(XA_3=1,5),VOLUME,0,1.5,0),COLOR2108C1;
STICKLINE(FILTER(XA_3=1,5),VOLUME,0,0.5,0),COLOR9F5DFF;
STICKLINE(FILTER(XA_4=1,5),VOLUME,0,3.5,0),COLOR1B7411;
STICKLINE(FILTER(XA_4=1,5),VOLUME,0,2.5,0),COLOR17A715;
STICKLINE(FILTER(XA_4=1,5),VOLUME,0,1.5,0),COLOR08D306;
STICKLINE(FILTER(XA_4=1,5),VOLUME,0,0.5,0),COLOR40FF00;
XA_5:=VOL>=REF(VOL,1)*1.91 AND CLOSE>REF(CLOSE,1);
STICKLINE(XA_5,VOLUME,0,3.5,0),COLOR080E71;
STICKLINE(XA_5,VOLUME,0,2.5,0),COLOR0B0E8C;
STICKLINE(XA_5,VOLUME,0,1.5,0),COLOR0905B0;
STICKLINE(XA_5,VOLUME,0,0.5,0),COLOR0204F2;
XA_6:=(HHV(HIGH,25)-LLV(LOW,25))/EMA(CLOSE-LLV(LOW,25),5);
XA_7:=HHVBARS(XA_6,30);
XA_8:=BARSLASTCOUNT(XA_7=0);
XA_9:=LOW<REF(LOW,1) OR CLOSE<OPEN;
XA_10:=BARSLASTCOUNT(XA_9);
XA_11:=XA_8>=3 AND XA_10>=3;
XA_12:=EXPMA(CLOSE,25);
XA_13:=XA_7=0 AND LOW=LLV(LOW,20) AND XA_11;
XA_14:=REF(XA_13,1) AND CLOSE>OPEN;
XA_15:=BARSLAST(XA_14);
XA_16:=CLOSE/XA_12>1.03;
XA_17:=COUNT(XA_16,XA_15+1)=1 AND XA_16 AND TOTALBARSCOUNT>200;
STICKLINE(XA_17,VOLUME,OPEN,3.2,0),COLOR002288;
STICKLINE(XA_17,VOLUME,OPEN,2.6,0),COLOR0033AA;
STICKLINE(XA_17,VOLUME,OPEN,1.9,0),COLOR0044CC;
STICKLINE(XA_17,VOLUME,OPEN,1.2,0),COLOR0055EE;
STICKLINE(XA_17,VOLUME,OPEN,0.6,0),COLOR0077FF;
STICKLINE(XA_17,VOLUME,OPEN,0.3,0),COLOR0088FF;
{WWW.70822.com}
XA_18:=14;
XA_19:=6;
XA_20:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),XA_18);
XA_21:=HIGH-REF(HIGH,1);
XA_22:=REF(LOW,1)-LOW;
XA_23:=EXPMEMA(IF(XA_21>0 AND XA_21>XA_22,XA_21,0),XA_18);
XA_24:=EXPMEMA(IF(XA_22>0 AND XA_22>XA_21,XA_22,0),XA_18);
XA_25:=XA_23*100/XA_20;
XA_26:=XA_24*100/XA_20;
XA_27:=EXPMEMA(ABS(XA_26-XA_25)/(XA_26+XA_25)*100,XA_19);
XA_28:=EXPMEMA(XA_27,XA_19);{WWW.70822.com}
F:CROSS(XA_25,XA_26) AND CROSS(XA_25,XA_27) AND CROSS(XA_25,XA_28) AND CLOSE/REF(CLOSE,1)>1.05;
STICKLINE(F,VOLUME,OPEN,3.2,0),COLOR002288;
STICKLINE(F,VOLUME,OPEN,2.6,0),COLOR0033AA;
STICKLINE(F,VOLUME,OPEN,1.9,0),COLOR0044CC;
STICKLINE(F,VOLUME,OPEN,1.2,0),COLOR0055EE;
STICKLINE(F,VOLUME,OPEN,0.6,0),COLOR0077FF;
STICKLINE(F,VOLUME,OPEN,0.3,0),COLOR0088FF;
趋势线:EMA(EMA(CLOSE-REF(CLOSE,1),6),6)*100/EMA(EMA(ABS(CLOSE-REF(CLOSE,1)),6),6),COLORRED,LINETHICK3;
IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),COLORGREEN,LINETHICK3;
p20183830772562.jpg
|