当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:王向辉主图V3(通达信公式 主图 源码 测试图)
软件名称:[B]王向辉主图V3(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2022-01-19 00:16:05
软件简介:
{公式名称: 王向辉主图V3
公式描述: 王向辉主图SHARE -20150430 V3.0}
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:=1150430;
X_2:=IF(DATE>X_1,0,1);
X_3:=DATE-X_1;
X_4:=(CLOSE/REF(CLOSE,1)-1)*100;
X_5:=4;
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
X_6:=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;
X_7:=MA(COST(90),10)*X_2;
死亡线:MA(COST(10),10)*X_2,DOTLINE,COLORWHITE;
STICKLINE(CLOSE>X_7 AND CLOSE<OPEN,OPEN,CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(CLOSE>X_7 AND CLOSE<OPEN,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(CLOSE>X_7 AND CLOSE>OPEN,OPEN,CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(CLOSE>X_7 AND CLOSE>OPEN,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098,OPEN,CLOSE,4,(-1)),COLORYELLOW;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098,OPEN,CLOSE,1,0),COLORRED;
STICKLINE(CLOSE>X_7 AND CLOSE<OPEN AND FUNC_0X7C81.SUBVALUE_0X0,OPEN,CLOSE,4,(-1)),COLORYELLOW;
STICKLINE(CLOSE>X_7 AND CLOSE<OPEN AND FUNC_0X7C81.SUBVALUE_0X0,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(CLOSE>X_7 AND CLOSE>OPEN AND FUNC_0X7C81.SUBVALUE_0X0,OPEN,CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(CLOSE>X_7 AND CLOSE>OPEN AND FUNC_0X7C81.SUBVALUE_0X0,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098 AND FUNC_0X7C81.SUBVALUE_0X0,OPEN,CLOSE,4,(-1)),COLORYELLOW;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098 AND FUNC_0X7C81.SUBVALUE_0X0,OPEN,CLOSE,3,0),COLORMAGENTA;
X_8:=REF(CLOSE,1);
X_9:=SMA(MAX(CLOSE-X_8,0),5,1)/SMA(ABS(CLOSE-X_8),5,1)*100;
X_10:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
X_11:=HIGH-REF(HIGH,1);
X_12:=REF(LOW,1)-LOW;
X_13:=SUM(IF(X_11>0 AND X_11>X_12,X_11,0),10);
X_14:=SUM(IF(X_12>0 AND X_12>X_11,X_12,0),10);
X_15:=X_13*100/X_10;
X_16:=X_14*100/X_10;
X_17:=MA(ABS(X_16-X_15)/(X_16+X_15)*100,5);
X_18:=X_9+X_17;
X_19:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
X_20:=X_9-X_19;
X_21:=X_18+X_20;
STICKLINE(X_21<5,HIGH,LOW,0,0),COLOR008000;
STICKLINE(X_21<5,OPEN,CLOSE,3,0),COLOR008000;
STICKLINE(CROSS(1,0.4),HIGH,LOW,0,0),COLORBLUE;
STICKLINE(CROSS(1,0.4),OPEN,CLOSE,3,0),COLORBLUE;
X_22:=100*(LOW/MA(CLOSE,10))-100;
X_23:=(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_24:=(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_25:=(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_26:=(X_23+X_24+X_25)/3;
X_27:=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_28:=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_29:=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_30:=(X_27+X_28+X_29)/3;
X_31:=LOW-REF(CLOSE,10)-MA(LOW-REF(CLOSE,10),5);
X_32:=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_33:=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_34:=X_31<0 AND X_26<=(-2) AND X_33<2 AND (X_27=0 AND X_23<=(-2) AND (X_28<0.5 AND X_24<=(-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_35:=X_30<4.2 AND (X_27<1 OR X_28<1 OR X_29<1) AND X_27<2 AND X_26<(-0.9) AND X_23<(-1.99) AND X_24<7.2 AND X_22<(-1.5) AND X_32<45;
X_36:=X_35 AND X_34;
STICKLINE(X_36,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(X_36,OPEN,CLOSE,2,0),COLORYELLOW;
X_37:=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_38:=SMA(CROSS(X_21,0),3,1);
X_39:=SMA(X_38,3,1);
X_40:=SMA(X_39,3,1);
DRAWICON(CROSS(X_21,0) OR CROSS(X_37,8),LOW,1);
DRAWICON(CROSS(X_39,X_40) AND X_39<40,LOW,41);
X_41:=(CLOSE-REF(CLOSE,1))*X_2;
X_42:=100*EMA(EMA(X_41,6),6)/EMA(EMA(ABS(X_41),6),6);
X_43:=LLV(X_42,2)=LLV(X_42,7) AND COUNT(X_42<0,2) AND CROSS(X_42,MA(
[url=http://www.70822.com/soft/sort013/sort05/down-160324.html]王向辉主图V3(通达信公式 主图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort05/down-160324.html]王向辉主图V3(通达信公式 主图 源码 测试图)[/url]