直观描述买卖趋势——牛气看盘 通达信主图指标 源码 贴图
2021-10-17 09:26:00来源:本站整理浏览:1225
直观描述买卖趋势——牛气看盘 通达信主图指标 源码 贴图
X_1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;
X_2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;
X_3:=FINANCE(23)/FINANCE(10)*3.3;
X_4:=FINANCE(19)/FINANCE(15)*0.6;
X_5:=FINANCE(20)/FINANCE(15)*0.999;
X_6:=X_1+X_2+X_3+X_4+X_5;
DRAWTEXT_FIX(X_6<1.2,0.5,0,1,1),COLORLIRED;
DRAWTEXT_FIX(BETWEEN(X_6,1.2,2.6),0.5,0,1,2),COLOR0099FF;
DRAWTEXT_FIX(X_6>2.6,0.5,0,1,3),COLORLIGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.1,1,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.15,1,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.2,1,FGBLOCK),COLORYELLOW;
X_7:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);
X_8:=EMA(REF(X_7,1),2);
DRAWBAND(X_7,RGB(500,280,180),X_8,RGB(256,200,0));
M5:MA(CLOSE,5),COLORWHITE,LINETHICK2;
M10:MA(CLOSE,10),NODRAW;
M20:MA(CLOSE,20),NODRAW;
M60:MA(CLOSE,60),NODRAW;
X_9:=NAMEINCLUDE(4);
涨停价:ZTPRICE(REF(CLOSE,1),IF(X_9,0.05,0.1)),NODRAW,COLORYELLOW;
跌停价:DTPRICE(REF(CLOSE,1),IF(X_9,0.05,0.1)),NODRAW,COLORGREEN;
明涨停:IF(X_9=1,ZTPRICE(CLOSE,0.05),ZTPRICE(CLOSE,0.1)),NODRAW,COLORYELLOW;
明跌停:IF(X_9=1,DTPRICE(CLOSE,0.05),DTPRICE(CLOSE,0.1)),NODRAW,COLORGREEN;
X_10:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
X_11:=CROSS(X_10,0.9) AND CURRBARSCOUNT<=20;
X_12:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
X_13:=CROSS(X_12,0.9) AND CURRBARSCOUNT<=20;
X_14:=HHVBARS(HIGH,4);
X_15:=IF(X_14=0,REF(X_14,X_14+1)+X_14+1,X_14);
X_16:=LLVBARS(LOW,3);
X_17:=IF(X_16=0,REF(X_16,X_16+1)+X_16+1,X_16);
X_18:=HHVBARS(HIGH,10);
X_19:=IF(X_18=0,REF(X_18,X_18+1)+X_18+1,X_18);
X_20:=LLVBARS(LOW,10);
X_21:=IF(X_20=0,REF(X_20,X_20+1)+X_20+1,X_20);
关注价:DRAWLINE(CURRBARSCOUNT=CONST(X_17+1),LOW,ISLASTBAR,CONST(REF(LOW,X_17)),0),DOTLINE,COLORYELLOW;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(X_11)),REF(HIGH,BARSLAST(X_11)),2,1),COLORGREEN;
DRAWLINE(CURRBARSCOUNT=CONST(X_15+1),HIGH,ISLASTBAR,CONST(REF(HIGH,X_15)),0),DOTLINE,COLORGREEN;
DRAWTEXT_FIX(1,0.980,20,1,'★公式网WWWGPXIAZAICOM'),COLOR666666;
REF(HIGH,BARSLAST(X_11)),NODRAW,COLORRED;
REF(LOW,BARSLAST(X_13)),NODRAW,COLORRED;
STICKLINE(CLOSE,REF(LOW,BARSLAST(X_13)),REF(LOW,BARSLAST(X_13)),2,1),COLORRED,LINETHICK4;
DRAWLINE(CURRBARSCOUNT=CONST(X_19+1),HIGH,ISLASTBAR,CONST(REF(HIGH,X_19)),0),DOTLINE,COLORGREEN;
DRAWLINE(CURRBARSCOUNT=CONST(X_21+1),LOW,ISLASTBAR,CONST(REF(LOW,X_21)),0),DOTLINE,COLORYELLOW;
X_22:=REF(HIGH,10)=HHV(HIGH,2*10+1);
X_23:=BACKSET(X_22,10+1);
X_24:=FILTER(X_23,10) AND HIGH=HHV(HIGH,10+1);
X_25:=BARSLAST(X_24);
X_26:=IF(X_24,CURRBARSCOUNT,0);
X_27:=IF(X_25,REF(X_26,X_25),X_26);
X_28:=CONST(X_27);
X_29:=REF(X_27,X_25+1);
X_30:=CONST(X_29);{WWW.GPXIAZAI.COM}
DRAWLINE(CURRBARSCOUNT=X_28,HIGH,ISLASTBAR,REF(HIGH,X_28-1),1),DOTLINE,COLORGREEN;
X_31:=REF(LOW,8)=LLV(LOW,2*8+1);
X_32:=BACKSET(X_31,8+1);
X_33:=FILTER(X_32,8) AND LOW=LLV(LOW,8+1);
X_34:=BARSLAST(X_33);
X_35:=IF(X_33,CURRBARSCOUNT,0);
X_36:=IF(X_34,REF(LOW,X_34),LOW);
X_37:=IF(X_34,REF(X_35,X_34),X_35);
X_38:=CONST(X_37);
X_39:=REF(X_36,X_34+1);
X_40:=REF(X_37,X_34+1);
X_41:=CONST(X_40);
DRAWLINE(CURRBARSCOUNT=X_38,LOW,ISLASTBAR,REF(LOW,X_38-1),1),DOTLINE,COLORRED;
DRAWLINE(CURRBARSCOUNT=X_41,LOW,ISLASTBAR,REF(LOW,X_41-1),1),DOTLINE,COLORRED;
EMA(EMA(CLOSE,5),5),COLORGREEN;
EMA(EMA(EMA(CLOSE,5),5),5),COLORGREEN;
EMA(EMA(EMA(EMA(CLOSE,5),5),5),5),COLORGREEN;
EMA(EMA(EMA(EMA(EMA(CLOSE,5),5),5),5),5),COLORGREEN;
IF(EMA(EMA(CLOSE,5),5)>REF(EMA(EMA(CLOSE,5),5),1),EMA(EMA(CLOSE,5),5),DRAWNULL),COLORYELLOW;
IF(EMA(EMA(EMA(CLOSE,5),5),5)>REF(EMA(EMA(EMA(CLOSE,5),5),5),1),EMA(EMA(EMA(CLOSE,5),5),5),DRAWNULL),COLORYELLOW;
IF(EMA(EMA(EMA(EMA(CLOSE,5),5),5),5)>REF(EMA(EMA(EMA(EMA(CLOSE,5),5),5),5),1),EMA(EMA(EMA(EMA(CLOSE,5),5),5),5),DRAWNULL),COLORYELLOW;
IF(EMA(EMA(EMA(EMA(EMA(CLOSE,5),5),5),5),5)>REF(EMA(EMA(EMA(EMA(EMA(CLOSE,5),5),5),5),5),1),EMA(EMA(EMA(EMA(EMA(CLOSE,5),5),5),5),5),DRAWNULL),COLORYELLOW;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3,0),COLORWHITE;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,2.2,0),COLORWHITE;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1.5,0),COLORWHITE;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,0.5,0),COLORWHITE;
X_42:=CLOSE/REF(CLOSE,1)>=1.05 AND NOT(CLOSE>=INTPART(REF(CLOSE,1)*1.1*100)/100);
STICKLINE(X_42,CLOSE,OPEN,4,(-1)),COLORLIRED;
STICKLINE(X_42,CLOSE,OPEN,3,(-1)),COLORYELLOW;
STICKLINE(X_42,OPEN,CLOSE,2.5,0),COLORRED;
STICKLINE(X_42,OPEN,CLOSE,1,0),COLORMAGENTA;
X_43:=REF(CLOSE,1)/CLOSE<=1.099 AND REF(CLOSE,1)/CLOSE>=1.05;
STICKLINE(X_43,CLOSE,OPEN,4,(-1)),COLORGREEN;
STICKLINE(X_43,CLOSE,OPEN,3,(-1)),COLORFF9900;
STICKLINE(X_43,OPEN,CLOSE,2.5,0),COLORFFBB00;
STICKLINE(X_43,OPEN,CLOSE,1,0),COLORCYAN;
X_44:=NAMELIKE(4) OR NAMELIKE(5);
X_45:=CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH OR (CLOSE/REF(CLOSE,1)>=1.09 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW) OR (CLOSE/REF(CLOSE,1)>=1.048 AND X_44=1 AND CLOSE=HIGH) OR (CLOSE/REF(CLOSE,1)>=1.045 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW AND X_44=1);
STICKLINE(X_45,CLOSE,OPEN,4,(-1)),COLORYELLOW;
STICKLINE(X_45,OPEN,CLOSE,3.5,0),COLORRED;
STICKLINE(X_45,OPEN,CLOSE,2.5,1),COLOR007FFF;
STICKLINE(X_45,OPEN,CLOSE,1,0),COLORYELLOW;
X_46:=REF(CLOSE,1)/CLOSE>=1.095 AND CLOSE=LOW OR (REF(CLOSE,1)/CLOSE>=1.09 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW) OR (REF(CLOSE,1)/CLOSE>=1.048 AND X_44=1 AND CLOSE=LOW) OR (REF(CLOSE,1)/CLOSE>=1.045 AND CLOSE=OPEN AND OPEN=LOW AND HIGH=LOW AND X_44=1);
STICKLINE(X_46,CLOSE,OPEN,4,(-1)),COLORGREEN;
STICKLINE(X_46,OPEN,CLOSE,3.5,0),COLORBLUE;
STICKLINE(X_46,OPEN,CLOSE,2.5,1),COLORLICYAN;
STICKLINE(X_46,OPEN,CLOSE,1,0),COLORGREEN;
STICKLINE(CLOSE>OPEN AND HIGH/CLOSE>=1.03,HIGH,CLOSE,0,0),COLORGREEN,LINETHICK2;
STICKLINE(CLOSE>OPEN AND OPEN/LOW>=1.03,OPEN,LOW,0,0),COLORYELLOW,LINETHICK2;
STICKLINE(CLOSE<OPEN AND HIGH/OPEN>=1.03,HIGH,OPEN,0,0),COLORGREEN,LINETHICK2;
STICKLINE(CLOSE<OPEN AND CLOSE/LOW>=1.03,CLOSE,LOW,0,0),COLORYELLOW,LINETHICK2;
X_47:=LLV(LOW,9);
X_48:=HHV(HIGH,9);
X_49:=EMA((CLOSE-X_47)/(X_48-X_47)*100,3);
X_50:=EMA(X_49,3);
X_51:=MA(X_50,3);
DRAWICON(CROSS(X_50,X_51),LOW*0.98,7);
DRAWICON(CROSS(X_51,X_50),HIGH*1.1,8);
- 上一篇公式:通达信恒生财神斩妖路主图指标 源码 贴图
- 下一篇公式:尾盘低吸指标——龙回头 通达信主图/副图/选股指标 源码 贴图