本指标是大V潜伏王者的量化升级指标,
把时间限制去掉后
SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),DOTLINE,COLORWHITE;
DRAWBAND(SWL,RGB(255,100,100),SWS,RGB(64,204,208));
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.6,0),COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_2:=HHV(CLOSE,2);
X_3:=LLV(CLOSE,2);
X_4:=MA(CLOSE,3);
X_5:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_6:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
X_7:=REF(X_6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_8:=REF(X_7,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_9:=REF(X_8,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_10:=REF(X_9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_11:=REF(X_10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_12:=REF(X_11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_13:=REF(X_12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_14:=REF(X_13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_15:=REF(X_14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_16:=REF(X_15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_17:=REF(X_16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_18:=CLOSE< REF(CLOSE,1) AND CLOSE< REF(CLOSE,2);
X_19:=REF(X_18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_20:=REF(X_19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_21:=REF(X_20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_22:=REF(X_21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_23:=REF(X_22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_24:=REF(X_23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_25:=REF(X_24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_26:=REF(X_25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_27:=REF(X_26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_28:=REF(X_27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_29:=REF(X_28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_30:=REF(X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27 OR X_28 OR X_29,1) AND X_6;
X_31:=REF(X_6 OR X_7 OR X_8 OR X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16 OR X_17,1) AND X_18;
X_32:=X_6 OR X_7 OR X_8 OR X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16 OR X_17;
X_33:=IF(X_32,X_3,DRAWNULL);
X_34:=X_33;
X_35:=REF(X_33,1);
X_36:=X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27 OR X_28 OR X_29;
X_37:=IF(X_36,X_2,DRAWNULL);
X_38:=X_37;
X_39:=REF(X_38,1);
X_40:=X_30;
X_41:=X_31;
X_42:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100< (-14);
X_43:=(20*X_5+19*REF(X_5,1)+18*REF(X_5,2)+17*REF(X_5,3)+16*REF(X_5,4)+15*REF(X_5,5)+14*REF(X_5,6)+13*REF(X_5,7)+12*REF(X_5,8)+11*REF(X_5,9)+10*REF(X_5,10)+9*REF(X_5,11)+8*REF(X_5,12)+7*REF(X_5,13)+6*REF(X_5,14)+5*REF(X_5,15)+4*REF(X_5,16)+3*REF(X_5,17)+2*REF(X_5,18)+REF(X_5,20))/211;
X_44:=MA(CLOSE,26);
X_45:=IF(X_4>X_43,X_43,X_4);
X_46:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
X_47:=HIGH-REF(HIGH,1);
X_48:=REF(LOW,1)-LOW;
X_49:=SUM(IF(X_47>0 AND X_47>X_48,X_47,0),14);
X_50:=SUM(IF(X_48>0 AND X_48>X_47,X_48,0),14);
X_51:=X_49*100/X_46;
X_52:=X_50*100/X_46;
X_53:=X_51-X_52;
X_54:=X_53>=0 AND REF(X_53,1)< 0;
STICKLINE(ISLASTBAR AND (X_32 OR REF(X_32,1)=1),X_35,X_35,2.6,1),COLORRED;
STICKLINE(ISLASTBAR AND (X_36 OR REF(X_36,1)=1),X_39,X_39,2.6,1),COLORLIGRAY;
STICKLINE(CLOSE>=OPEN,LOW,HIGH,0,0),COLORRED;
STICKLINE(CLOSE< OPEN,LOW,HIGH,0,0),COLOR00BD00;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2.6,0),COLORRED;
STICKLINE(X_32,CLOSE,OPEN,2.6,0),COLORRED;
STICKLINE(X_36,CLOSE,OPEN,2.6,0),COLORLIGRAY;
X_55:=CLOSE-OPEN;
STICKLINE(X_42,OPEN,CLOSE-X_55/2,2.6,0),COLORLIGRAY;
STICKLINE(X_40,OPEN,CLOSE,2.6,0),COLORYELLOW;
STICKLINE(X_40 AND X_54,OPEN,CLOSE,2.6,0),COLORFF8000;
STICKLINE(X_41,OPEN,CLOSE,2.6,0),COLORGREEN;
DRAWTEXT(X_40 AND X_54,LOW*0.99,’潜伏信号’),COLORFF8000;
评论(0)