您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:王向辉主图指标 源码 通达信 和谐完全加密

王向辉主图指标 源码 通达信 和谐完全加密


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2018-04-29 10:41:00
公式简介:

DRAWGBK(CLOSE>0,RGB(20,10,80),RGB(10,1,5),1,0,1);
DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(0,0,0),0,388,0);
DRAWBAND(MA(CLOSE,250),RGB(0,50,0),MA(CLOSE,120),RGB(50,0,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_1:=1250630;
SX:IF(DATE>XA_1,0,1),NODRAW;
妖股线:(MA(CLOSE,25)+MA(CLOSE,25)*20/100)*SX,COLORMAGENTA,LINETHICK3;
完胜线:MA(COST(99.617996),10)*SX,DOTLINE,COLORRED;
三八线:MA(COST(90.617996),10)*SX,DOTLINE,COLORGREEN;
死亡线:MA(COST(9.618),10)*SX,DOTLINE,COLORWHITE;
MA5:MA(CLOSE,5)*SX,COLORWHITE;
MA10:MA(CLOSE,10)*SX,COLORYELLOW;
XA_2:=MA(CLOSE,8)*SX;
MA30:MA(CLOSE,30)*SX,COLORGREEN;
MA60:MA(CLOSE,60)*SX,COLORBLUE;
STICKLINE(CLOSE>完胜线 AND CLOSE<OPEN AND SX,OPEN,CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(CLOSE>完胜线 AND CLOSE<OPEN AND SX,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(CLOSE>完胜线 AND CLOSE>OPEN AND SX,OPEN,CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(CLOSE>完胜线 AND CLOSE>OPEN AND SX,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(CLOSE=REF(CLOSE,1)*1.1*SX,OPEN,CLOSE,4,(-1)),COLORYELLOW;
STICKLINE(CLOSE=REF(CLOSE,1)*1.1*SX,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(CLOSE=REF(CLOSE,1)*1.1*SX,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(CLOSE>妖股线*SX AND CLOSE<OPEN,OPEN,CLOSE,4,(-1)),COLORYELLOW;
STICKLINE(CLOSE>妖股线*SX AND CLOSE<OPEN,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(CLOSE>妖股线*SX AND CLOSE>OPEN,OPEN,CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(CLOSE>妖股线*SX AND CLOSE>OPEN,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098 AND CLOSE>妖股线 AND SX,OPEN,CLOSE,4,1),COLORMAGENTA;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098 AND CLOSE>妖股线 AND SX,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(CLOSE<死亡线 AND CLOSE<OPEN AND SX,OPEN,CLOSE,3,(-1)),COLORBLUE;
STICKLINE(CLOSE<死亡线 AND CLOSE<OPEN AND SX,OPEN,CLOSE,2,0),COLORBLUE;
STICKLINE(CLOSE<死亡线 AND CLOSE>OPEN AND SX,OPEN,CLOSE,3,(-1)),COLORLIRED;
STICKLINE(CLOSE<死亡线 AND CLOSE>OPEN AND SX,OPEN,CLOSE,2,0),COLORLIRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098*SX AND CLOSE<死亡线,OPEN,CLOSE,4,(-1)),COLORLIMAGENTA;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098*SX AND CLOSE<死亡线,OPEN,CLOSE,3,0),COLORLIMAGENTA;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098*SX AND CLOSE<死亡线,OPEN,CLOSE,1,0),COLORLIMAGENTA;
QPCY:(CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND 100*WINNER(CLOSE)-REF(100*WINNER(CLOSE),1)>=30)*SX,NODRAW;
STICKLINE(QPCY*SX,OPEN,IF(COST(1)>OPEN AND COST(1)<CLOSE,COST(1),CLOSE),3,0),COLORWHITE;
XA_3:=REF(LOW,1);
XA_4:=REF(HIGH,1);
XA_5:=LOW>XA_4;
XA_6:=HIGH<XA_3;
XXT:IF(XA_5=1,(LOW-XA_4)*SX,DRAWNULL),NODRAW,COLORGREEN,LINETHICK3;
TMT:IF(XA_6=1,(HIGH-XA_3)*SX,DRAWNULL),NODRAW,COLORYELLOW,LINETHICK3;
XA_7:=CON2STR(XXT,2);
XA_8:=(LOW-REF(HIGH,1))*100/REF(HIGH,1);
XA_9:=CON2STR(XA_8,2);
XA_10:=STRCAT(17,XA_9);
XA_11:=STRCAT(XA_10,18);
XA_12:=STRCAT(XA_11,XA_7);
XA_13:=STRCAT(XA_12,19);
XA_14:=CON2STR(TMT,2);
XA_15:=(REF(LOW,1)-HIGH)*100/HIGH;
XA_16:=CON2STR(XA_15,2);
XA_17:=STRCAT(20,XA_16);
XA_18:=STRCAT(XA_17,18);
XA_19:=STRCAT(XA_18,XA_14);
XA_20:=STRCAT(XA_19,19);
STICKLINE(XA_5*SX,LOW,REF(HIGH,1),4,(-1)),COLORYELLOW;
STICKLINE(XA_6*SX,HIGH,REF(LOW,1),4,(-1)),COLORWHITE;
XA_21:=REF(CLOSE,1);
XA_22:=SMA(MAX(CLOSE-XA_21,0),5,1)/SMA(ABS(CLOSE-XA_21),5,1)*100;
XA_23:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
XA_24:=(HIGH-REF(HIGH,1))*SX;
XA_25:=REF(LOW,1)-LOW;
XA_26:=SUM(IF(XA_24>0 AND XA_24>XA_25,XA_24,0),10)*SX;
XA_27:=SUM(IF(XA_25>0 AND XA_25>XA_24,XA_25,0),10);
XA_28:=XA_26*100/XA_23*SX;
XA_29:=XA_27*100/XA_23;
XA_30:=MA(ABS(XA_29-XA_28)/(XA_29+XA_28)*100,5);
XA_31:=XA_22+XA_30;
XA_32:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
XA_33:=XA_22-XA_32;
赚钱:(XA_31+XA_33)*SX,NODRAW;
STICKLINE(赚钱<5 AND SX,HIGH,LOW,0,0),COLOR008000;
STICKLINE(赚钱<5 AND SX,OPEN,CLOSE,3,0),COLOR008000;
STICKLINE(赚钱<5 AND SX AND CLOSE<死亡线,HIGH,LOW,0,0),COLORBLUE;
STICKLINE(赚钱<5 AND SX AND CLOSE<死亡线,OPEN,CLOSE,3,0),COLORBLUE;
XA_34:=100*(LOW/MA(CLOSE,10))-100;
XA_35:=(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;
XA_36:=(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;
XA_37:=(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;
XA_38:=(XA_35+XA_36+XA_37)/3;
XA_39:=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);
XA_40:=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);
XA_41:=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);
XA_42:=(XA_39+XA_40+XA_41)/3;
XA_43:=LOW-REF(CLOSE,10)-MA(LOW-REF(CLOSE,10),5);
XA_44:=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);
XA_45:=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);
XA_46:=XA_43<0 AND XA_38<=(-2) AND XA_45<2 AND (XA_39=0 AND XA_35<=(-2) AND (XA_40<0.5 AND XA_36<=(-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);
XA_47:=XA_42<4.2 AND (XA_39<1 OR XA_40<1 OR XA_41<1) AND XA_39<2 AND XA_38<(-0.9) AND XA_35<(-1.99) AND XA_36<7.2 AND XA_34<(-1.5) AND XA_44<45;
XA_48:=XA_47 AND XA_46 AND SX;
STICKLINE(XA_48,HIGH,LOW,0,0),COLORBROWN;
STICKLINE(XA_48,OPEN,CLOSE,2,0),COLORBROWN;
XA_49:=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);
XA_50:=SMA(CROSS(赚钱,0),3,1);
XA_51:=SMA(XA_50,3,1);
XA_52:=SMA(XA_51,3,1);
DRAWICON(CROSS(赚钱,0) AND SX OR CROSS(XA_49,8),LOW,1);
DRAWICON(CROSS(XA_51,XA_52) AND SX AND XA_51<40,LOW,41);
XA_53:=(CLOSE-REF(CLOSE,1))*SX;
XA_54:=100*EMA(EMA(XA_53,6),6)/EMA(EMA(ABS(XA_53),6),6);
XA_55:=LLV(XA_54,2)=LLV(XA_54,7) AND COUNT(XA_54<0,2) AND CROSS(XA_54,MA(XA_54,2));
STICKLINE(FILTER(XA_55=1,5),HIGH*SX,LOW,0,0),COLORLIRED;
STICKLINE(FILTER(XA_55=1,5),CLOSE*SX,OPEN,3,0),COLORLIRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098 AND XA_55=1 AND SX,OPEN,CLOSE,1,0),COLORYELLOW;
XA_56:=(CLOSE+HIGH+LOW+OPEN)/4*SX;
XA_57:=MA((CLOSE*2+HIGH)/3,5);
XA_58:=MA((OPEN*2+HIGH)/3,5);
XA_59:=MA((OPEN+LOW*2)/3,5);
XA_60:=OPEN+(CLOSE-OPEN)/2;
STICKLINE(XA_57<XA_58 AND SX AND (CROSS(CLOSE,XA_59) OR CROSS(XA_56,XA_59)),XA_60,MIN(CLOSE,OPEN),1.5,0),COLORWHITE;
XA_61:=SUM(Func_0x79B0.SubValue_0x0*SX,3);
DRAWICON(COUNT(XA_61<(-6),3)=2 AND SX AND CROSS(XA_61,(-6)),LOW-0.1,11);
DRAWTEXT_FIX(ISLASTBAR,0,0.01,0,STRCAT(389,390)),COLORYELLOW;
XA_62:=INTPART(XA_1+19000000);
XA_63:=CON2STR(XA_62,0);
DRAWTEXT_FIX(1,0,0.09,0,STRCAT(1,XA_63)),COLORWHITE;
XA_64:=55;
XA_65:=(CLOSE-LLV(LOW,XA_64))/(HHV(HIGH,XA_64)-LLV(LOW,XA_64))*100;
XA_66:=100-100*(HHV(HIGH,XA_64)-CLOSE)/(HHV(HIGH,XA_64)-LLV(LOW,XA_64));
XA_67:=SMA(XA_65,2,1);
XA_68:=MA(XA_67,2);
XA_69:=(XA_67*3+XA_68*2)/5;
XA_70:=MA(XA_69,3);
XA_71:=(XA_67*8+XA_70*3)/11;
XA_72:=(XA_67+XA_71)/2;
XA_73:=XA_65-LLV(XA_65,36);
XA_74:=(XA_72-LLV(XA_72,36)+XA_73)/2;
XA_75:=MA(XA_74,13)*10;
XA_76:=XA_75>REF(XA_75,1);
XA_77:=XA_75<REF(XA_75,1);
XA_78:=CLOSE>OPEN;
XA_79:=OPEN>CLOSE;
XA_80:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1);
XA_81:=XA_78 AND REF(XA_79,1) AND CLOSE>REF(OPEN,1);
XA_82:=VOL>REF(VOL,1)*0.8 OR (VOL>REF(VOL,1)*0.98 AND VOL<REF(VOL,1)*1.02);
XA_83:=XA_79 AND REF(XA_78,1) AND CLOSE<REF(LOW,1);
XA_84:=XA_79 AND REF(XA_79,1) AND REF(XA_78,2) AND LOW<REF(LOW,2);
阳胜:XA_81 AND XA_82,NODRAW;
阴胜:XA_83 AND XA_80<(-2) OR (XA_84 AND XA_80+REF(XA_80,1)<(-2)),NODRAW;
STICKLINE(阴胜 AND XA_77,CLOSE,LOW,4,1),COLORYELLOW;
STICKLINE(阴胜 AND XA_77,CLOSE,LOW,1,0),COLORGREEN;
STICKLINE(阳胜 AND XA_76,HIGH,CLOSE,4,1),COLORYELLOW;
STICKLINE(阳胜 AND XA_76,HIGH,CLOSE,1,0),COLORMAGENTA;
STICKLINE(QPCY*SX,IF(COST(10)>OPEN AND COST(10)<CLOSE,COST(10),CLOSE),CLOSE,3,0),COLORLIRED;
STICKLINE(QPCY*SX,IF(COST(20)>OPEN AND COST(20)<CLOSE,COST(20),CLOSE),CLOSE,3,0),COLORLIRED;
STICKLINE(QPCY*SX,IF(COST(30)>OPEN AND COST(30)<CLOSE,COST(30),CLOSE),CLOSE,3,0),COLORLICYAN;
STICKLINE(QPCY*SX,IF(COST(40)>OPEN AND COST(40)<CLOSE,COST(40),CLOSE),CLOSE,3,0),COLORLIGREEN;
STICKLINE(QPCY*SX,IF(COST(50)>OPEN AND COST(50)<CLOSE,COST(50),CLOSE),CLOSE,3,0),COLORLIBLUE;
STICKLINE(QPCY*SX,IF(COST(60)>OPEN AND COST(60)<CLOSE,COST(60),CLOSE),CLOSE,3,0),COLORBROWN;
STICKLINE(QPCY*SX,IF(COST(70)>OPEN AND COST(70)<CLOSE,COST(70),CLOSE),CLOSE,3,0),COLORBROWN;
STICKLINE(QPCY*SX,IF(COST(80)>OPEN AND COST(80)<CLOSE,COST(80),CLOSE),CLOSE,3,0),COLORCYAN;
STICKLINE(QPCY*SX,IF(COST(90)>OPEN AND COST(90)<CLOSE,COST(90),CLOSE),CLOSE,3,0),COLORMAGENTA;
STICKLINE(QPCY*SX,IF(COST(98)>OPEN AND COST(98)<CLOSE,COST(98),CLOSE),CLOSE,3,0),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.098 AND QPCY,OPEN,CLOSE,1,0),COLORYELLOW;


王向辉主图指标 源码 通达信


[url=http://www.goodgupiao.com/gupiaogongshi/49911.html][B]王向辉主图指标 源码 通达信 和谐完全加密[/B][/url]