{公式名称: 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
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);{www.9m8.cn 九毛八公式指标网}
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_53:=STRCAT(X_52,18);
X_54:=STRCAT(X_53,HYBLOCK);
X_55:=STRCAT(X_54,18);
X_56:=STRCAT(X_55,18);
X_57:=STRCAT(X_56,GNBLOCK);
X_58:=STRCAT(X_57,18);
X_59:=STRCAT(X_58,FGBLOCK);
X_60:=IF(FINANCE(33) 0,DYNAINFO(39),0)*0.35;
X_61:=CON2STR(X_60,2);
X_62:=STRCAT(ZDBLOCK,19);
X_63:=STRCAT(X_62,X_61);
X_64:=STRCAT(X_59,21);
X_65:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1);
X_66:=CON2STR(X_65,2);
X_67:=STRCAT(22,X_66);
X_68:=ZTPRICE(REF(CLOSE,1),0.1);
X_69:=CON2STR(X_68,2);
X_70:=STRCAT(23,X_69);
X_71:=STRCAT(X_67,X_70);
X_72:=REF(CLOSE,1)*(100+4)/100;
X_73:=CON2STR(X_72,2);
X_74:=STRCAT(24,X_73);
X_75:=STRCAT(X_71,X_74);
X_76:=STRCAT(X_75,25);
X_77:=STRCAT(26,X_76);
X_78:=STRCAT(27,X_77);
DRAWTEXT_FIX(1,0,0.03,0,STRCAT(28,X_77)),COLORWHITE;
X_79:=13*X_2;
X_80:=200*X_2;
X_81:=0.95;
X_82:=0.98;
X_83:=0.97;
X_84:=1.05;
X_85:=1.03;
X_86:=1.02;
X_87:=HHVBARS(ZIG(3,X_79) REF(ZIG(3,X_79),1) AND REF(ZIG(3,X_79),1) REF(ZIG(3,X_79),2),X_80);
DRAWTEXT(X_87=1,LOW*X_81,'1'),COLORRED;
STICKLINE(X_87=2,LOW*X_83,LOW*0.98,2,0),COLORYELLOW;
DRAWTEXT(X_87=2,LOW*X_81,'2'),COLORRED;
DRAWTEXT(X_87=3,HIGH*X_84,'1'),COLORGREEN;
STICKLINE(X_87=4,HIGH*X_85,HIGH*X_86,2,0),COLORYELLOW;
DRAWTEXT(X_87=4,HIGH*X_84,'3'),COLORGREEN;
DRAWTEXT(X_87=6,LOW*X_81,'1'),COLORRED;
STICKLINE(X_87=7,LOW*X_83,LOW*X_82,2,0),COLORYELLOW;
DRAWTEXT(X_87=7,LOW*X_81,'4'),COLORRED;
DRAWTEXT(X_87=11,HIGH*X_84,'1'),COLORGREEN;
STICKLINE(X_87=12,HIGH*X_85,HIGH*X_86,2,0),COLORYELLOW;
DRAWTEXT(X_87=12,HIGH*X_84,'5'),COLORGREEN;
DRAWTEXT(X_87=19,LOW*X_81,'1'),COLORLIRED;
STICKLINE(X_87=20,LOW*X_83,LOW*X_82,2,0),COLORYELLOW;
DRAWTEXT(X_87=20,LOW*X_81,'6'),COLORLIRED;
DRAWTEXT(X_87=32,HIGH*X_84,'1'),COLORLIGREEN;
STICKLINE(X_87=33,HIGH*X_85,HIGH*X_86,2,0),COLORYELLOW;
DRAWTEXT(X_87=33,HIGH*X_84,'7'),COLORLIGREEN;
DRAWTEXT(X_87=53,LOW*X_81,'1'),COLORLIRED;
STICKLINE(X_87=54,LOW*X_83,LOW*X_82,2,0),COLORYELLOW;
DRAWTEXT(X_87=54,LOW*X_81,'8'),COLORLIRED;
DRAWTEXT(X_87=87,HIGH*X_84,'1'),COLORLIGREEN;
STICKLINE(X_87=88,HIGH*X_85,HIGH*X_86,2,0),COLORYELLOW;
DRAWTEXT(X_87=88,HIGH*X_84,'9'),COLORLIGREEN;
DRAWTEXT(X_87=142,LOW*X_81,'1'),COLORLIRED;
STICKLINE(X_87=143,LOW*X_83,LOW*X_82,2,0),COLORYELLOW;
DRAWTEXT(X_87=143,LOW*X_81,'10'),COLORLIRED;
DRAWTEXT(X_87=231,HIGH*X_84,'1'),COLORLIGREEN;
STICKLINE(X_87=232,HIGH*X_85,HIGH*X_86,2,0),COLORYELLOW;
DRAWTEXT(X_87=232,HIGH*X_84,'11'),COLORLIGREEN;
DRAWTEXT(X_87=375,LOW*X_81,'1'),COLORLIRED;
STICKLINE(X_87=376,LOW*X_83,LOW*X_82,2,0),COLORYELLOW;
DRAWTEXT(X_87=376,LOW*X_81,'12'),COLORLIRED;
DRAWTEXT(X_87=608,HIGH*X_84,'1'),COLORLIGREEN;
STICKLINE(X_87=609,HIGH*X_85,HIGH*X_86,2,0),COLORYELLOW;
DRAWTEXT(X_87=609,HIGH*X_84,'13'),COLORLIGREEN;