WXH操盘主图,王向辉主图
{公式名称: WXH操盘主图S
公式描述: 王向辉主图
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
DRAWGBK(CLOSE>0,RGB(20,10,80),RGB(10,1,5),1,0,1);
DRAWBAND(MA(CLOSE,250),RGB(0,50,0),MA(CLOSE,120),RGB(50,0,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_1:=1960430;
X_2:=1;
X_3:=1;
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
X_4:=MA(CLOSE,30);
MA60:MA(CLOSE,60),COLORBLUE;
MA120:MA(CLOSE,120),COLORGRAY;
MA250:MA(CLOSE,250),COLORRED;
三八线:MA(COST(90),10)*X_2,DOTLINE,COLORGREEN,LINETHICK3;
死亡线:MA(COST(10),10)*X_2,DOTLINE,COLORWHITE,LINETHICK3;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098,OPEN,CLOSE,3,0),COLORRED;
X_5:=REF(CLOSE,1);
X_6:=SMA(MAX(CLOSE-X_5,0),5,1)/SMA(ABS(CLOSE-X_5),5,1)*100;
X_7:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
X_8:=HIGH-REF(HIGH,1);
X_9:=REF(LOW,1)-LOW;
X_10:=SUM(IF(X_8>0 AND X_8>X_9,X_8,0),10);
X_11:=SUM(IF(X_9>0 AND X_9>X_8,X_9,0),10);
X_12:=X_10*100/X_7;
X_13:=X_11*100/X_7;
X_14:=MA(ABS(X_13-X_12)/(X_13+X_12)*100,5);
X_15:=X_6+X_14;
X_16:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
X_17:=X_6-X_16;
X_18:=X_15+X_17;
STICKLINE(X_18<5,HIGH,LOW,0,0),COLOR008000;
STICKLINE(X_18<5,OPEN,CLOSE,3,0),COLOR008000;
STICKLINE(CROSS(15,0.4),HIGH,LOW,0,0),COLORBLUE;
STICKLINE(CROSS(15,0.4),OPEN,CLOSE,3,0),COLORBLUE;
X_19:=100*(LOW/MA(CLOSE,10))-100;
X_20:=(LOW-DMA((3*HIGH+LOW+OPEN+2*LOW)/7,VOL/(SUM(AMOUNT,10)/(AMOUNT/VOL/7)/7)))/DMA((3*HIGH+LOW+OPEN+2*LOW)/7,VOL/(SUM(AMOUNT,10)/(AMOUNT/VOL/7)/7))*100;
X_21:=(HIGH-DMA((3*HIGH+LOW+OPEN+2*HIGH)/7,VOL/(SUM(AMOUNT,10)/(AMOUNT/VOL/7)/7)))/DMA((3*HIGH+LOW+OPEN+2*HIGH)/7,VOL/(SUM(AMOUNT,10)/(AMOUNT/VOL/7)/7))*100;
X_22:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,10)/(AMOUNT/VOL/7)/7)))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,10)/(AMOUNT/VOL/7)/7))*100;
X_23:=(X_20+X_21+X_22)/3;
X_24:=IF((MA(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100-LLV(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100,10),2)*3+(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100-LLV(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100,10))*13)/16>13,MA((MA(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100-LLV(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100,10),2)*3+(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100-LLV(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100,10))*13)/16,2),(MA(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100-LLV(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100,10),2)*3+(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100-LLV(SMA(MAX(LOW-REF(LOW,1),0),5,1)/SMA(ABS(LOW-REF(LOW,1)),5,1)*100,10))*13)/16);
X_25:=IF((MA(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100-LLV(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100,10),2)*3+(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100-LLV(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100,10))*13)/16>13,MA((MA(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100-LLV(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100,10),2)*3+(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100-LLV(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100,10))*13)/16,2),(MA(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100-LLV(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100,10),2)*3+(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100-LLV(SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100,10))*13)/16);
X_26:=IF((MA(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100-LLV(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100,10),2)*3+(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100-LLV(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100,10))*13)/16>13,MA((MA(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100-LLV(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100,10),2)*3+(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100-LLV(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100,10))*13)/16,2),(MA(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100-LLV(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100,10),2)*3+(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100-LLV(SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100,10))*13)/16);
X_27:=(X_24+X_25+X_26)/3;
X_28:=LOW-REF(CLOSE,10)-MA(LOW-REF(CLOSE,10),5);
X_29:=3*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1);
X_30:=3*SMA((LOW-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA((LOW-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1);
X_31:=X_28<0 AND X_23<=(-2) AND X_30<2 AND (X_24=0 AND X_20<=(-2) AND (X_25<0.5 AND X_21<=(-1))) AND (100*(LOW-LLV(LOW,3))/(HHV(LOW,3)-LLV(LOW,3))=0 AND 100*(LOW-LLV(LOW,5))/(HHV(LOW,5)-LLV(LOW,5))=0);
X_32:=X_27<4.2 AND (X_24<1 OR X_25<1 OR X_26<1) AND X_24<2 AND X_23<(-0.9) AND X_20<(-1.99) AND X_21<7.2 AND X_19<(-1.5) AND X_29<45;
X_33:=X_32 AND X_31;
STICKLINE(X_33,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(X_33,OPEN,CLOSE,2,0),COLORYELLOW;
X_34:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
X_35:=SMA(CROSS(X_18,0),3,1);
X_36:=SMA(X_35,3,1);
X_37:=SMA(X_36,3,1);
DRAWICON(CROSS(X_18,0) OR CROSS(X_34,8),LOW,1);
DRAWICON(CROSS(X_36,X_37) AND X_36<40,LOW,41);
X_38:=(CLOSE-REF(CLOSE,1))*X_2;
X_39:=100*EMA(EMA(X_38,6),6)/EMA(EMA(ABS(X_38),6),6);
X_40:=LLV(X_39,2)=LLV(X_39,7) AND COUNT(X_39<0,2) AND CROSS(X_39,MA(X_39,2));
STICKLINE(FILTER(X_40=1,5),HIGH,LOW,0,0),COLORMAGENTA;
STICKLINE(FILTER(X_40=1,5),CLOSE,OPEN,3,0),COLORMAGENTA;
X_41:=(CLOSE+HIGH+LOW+OPEN)/4*X_2;
X_42:=MA((CLOSE*2+HIGH)/3,5);
X_43:=MA((OPEN*2+HIGH)/3,5);
X_44:=MA((OPEN+LOW*2)/3,5);
X_45:=OPEN+(CLOSE-OPEN)/2;
STICKLINE(X_42<X_43 AND (CROSS(CLOSE,X_44) OR CROSS(X_41,X_44)),X_45,MIN(CLOSE,OPEN),1.5,0),COLORWHITE;
X_46:=(CLOSE/REF(CLOSE,1)-1)*100;
X_47:=SUM(X_46*X_2,3);
DRAWICON(COUNT(X_47<(-6),3)=2 AND CROSS(X_47,(-6)),LOW-0.1,11);
X_48:=(OPEN+LOW+HIGH+CLOSE)/4;
X_49:=EMA(X_48,5);
X_50:=HHV(X_49,60)*0.92;
X_51:=SMA(LOW,21,2)*0.96;
DRAWTEXT(FILTER(LOW<=X_51 AND MA(CLOSE,20)-REF(MA(CLOSE,20),1)>0 AND OPEN<=X_50 AND HIGH>X_50 AND CLOSE>X_51,5),LOW,'16'),COLORRED;
X_52:=STRCAT(17,DYBLOCK);
X_5 |