喜欢的下 大阴梯 通达信主图指标 源码 贴图
{公式名称: 大阴梯
公式描述: 量学看盘系统主图四
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=CONST(HHV(REF(HIGH,1),240));
X_2:=CONST(LLV(REF(LOW,1),240));
X_3:=X_1-X_2;
X_4:=LOW-X_3*0.03;
X_5:=HIGH+X_3*0.03;
X_6:=CLOSE>500;
X_7:=MAX(CLOSE,OPEN);
X_8:=MIN(CLOSE,OPEN);
X_9:=0;
X_10:=1;
X_11:=IF(X_6,HIGH,X_7);
X_12:=IF(X_6,LOW,X_8);
X_13:=IF(CLOSE>OPEN,IF(X_10=0,LOW,X_12),IF(X_10=0,HIGH,X_11));
X_14:=2/1000;
X_15:=CURRBARSCOUNT;
X_16:=120;
X_17:=X_15<=X_16;
X_18:=LOW;
X_19:=IF(X_9=0,X_18,REF(X_9,X_9));
基准价:IF(X_17,CONST(X_19),DRAWNULL),DOTLINE,COLORRED;
X_20:=基准价;
X_21:=X_20*X_14;
X_22:=ABS(LOW-X_20)<=X_21;
X_23:=ABS(OPEN-X_20)<=X_21;
X_24:=ABS(CLOSE-X_20)<=X_21;
X_25:=ABS(HIGH-X_20)<=X_21;
X_26:=X_22 OR X_23 OR X_24 OR X_25 AND X_17 AND X_15!=1;
X_27:=COUNT(X_26,X_16);
精准点个数:IF(X_27>0,X_27+1,0),NODRAW,COLORRED;
X_28:=CLOSE<0.96*OPEN OR CLOSE<=REF(CLOSE,1)*0.96 OR CLOSE>1000 AND CLOSE<=REF(CLOSE,1)*0.98;
X_29:=BARSLAST(FILTER(X_28,2));
X_30:=REF(OPEN,X_29);
DRAWLINE(X_29=0,MAX(CLOSE,OPEN),REF(X_29=0,1),REF(MAX(CLOSE,OPEN),1),1),COLORMAGENTA;
X_31:=AMOUNT/VOL/100;
X_32:=CLOSE>OPEN AND REF(CLOSE,1)>X_31 AND CLOSE>X_31 AND CLOSE<300;
STICKLINE(X_32,OPEN,CLOSE,1,0),COLORLICYAN;
X_33:=OPEN>CLOSE AND CLOSE<X_31 AND X_31>REF(CLOSE,1);
STICKLINE(X_33,OPEN,CLOSE,1,0),COLORRED;
X_34:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
X_35:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND X_34;
STICKLINE(X_35,OPEN,CLOSE,1,0),COLORBLUE;
X_36:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_37:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_36>=4.945;
X_38:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_36<=(-4.945);
涨停价:IF(X_37,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(X_38,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
X_39:=REF(CLOSE,1);
X_40:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(X_40,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(X_40,OPEN,CLOSE,1,0),COLORMAGENTA;
X_41:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(X_41,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_41,HIGH,LOW,0,1),COLORGREEN;
流通市值:FINANCE(40)/100000000,NODRAW;
MA5角度:ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.142,NODRAW,COLORRED;
循环年位置:(CLOSE-LLV(CLOSE,225))/(HHV(CLOSE,225)-LLV(CLOSE,225))*100,NODRAW,COLORGREEN;
X_42:=HHV(VOL,10);{www.gpxiazai.com}
X_43:=BARSLAST(X_42=VOL);
X_44:=CROSS(REF(MAX(CLOSE,OPEN),X_43),CLOSE);
STICKLINE(X_44,MAX(CLOSE,OPEN)*1.02,MIN(CLOSE,OPEN)*0.98,0,1),COLORRED;
STICKLINE(X_44,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,10,0),COLORRED;
DRAWICON(OPEN>REF(MAX(CLOSE,OPEN),1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,5),LOW*0.97,11);
X_45:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5);
X_46:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3) AND REFX(CLOSE,8)<REFX(CLOSE,4);
X_47:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6);
X_48:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3);
X_49:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7);
X_50:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2);
X_51:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8);
X_52:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1);
X_53:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9);
X_54:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE;
X_55:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10);
X_56:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1);
X_57:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11);
X_58:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2);
X_59:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12);
X_60:=REFX(CLOSE,1)<REF(CLOSE,3);
X_61:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12) AND REF(CLOSE,9)>REF(CLOSE,13);
X_62:=IF(PERIOD<4,LOW*(1-(PERIOD+1)/10*0.01),LOW*0.98);
X_63:=IF(PERIOD<4,HIGH*(1+(PERIOD+1)/10*0.01),HIGH*1.05);
X_64:=CURRBARSCOUNT-1;{www.gpxiazai.com}
DRAWNUMBER(X_45 AND (X_46 OR X_64=0 OR (X_64=1 AND X_60) OR (X_64=2 AND X_58) OR (X_64=3 AND X_56) OR (X_64=4 AND X_54) OR (X_64=5 AND X_52) OR (X_64=6 AND X_50) OR (X_64=7 AND X_48)),X_62,1),COLORMAGENTA;
DRAWNUMBER(X_47 AND (X_48 OR X_64=0 OR (X_64=1 AND X_60) OR (X_64=2 AND X_58) OR (X_64=3 AND X_56) OR (X_64=4 AND X_54) OR (X_64=5 AND X_52) OR (X_64=6 AND X_50)),X_62,2),COLORMAGENTA;
DRAWNUMBER(X_49 AND (X_50 OR X_64=0 OR (X_64=1 AND X_60) OR (X_64=2 AND X_58) OR (X_64=3 AND X_56) OR (X_64=4 AND X_54) OR (X_64=5 AND X_52)),X_62,3),COLORMAGENTA;
DRAWNUMBER(X_51 AND (X_52 OR X_64=0 OR (X_64=1 AND X_60) OR (X_64=2 AND X_58) OR (X_64=3 AND X_56) OR (X_64=4 AND X_54)),X_62,4),COLORMAGENTA;
DRAWNUMBER(X_53 AND (X_54 OR X_64=0 OR (X_64=1 AND X_60) OR (X_64=2 AND X_58) OR (X_64=3 AND X_56)),X_62,5),COLORMAGENTA;
DRAWNUMBER(X_55 AND (X_56 OR X_64=0 OR (X_64=1 AND X_60) OR (X_64=2 AND X_58)),X_62,6),COLORMAGENTA;
DRAWNUMBER(X_57 AND (X_58 OR X_64=0 OR (X_64=1 AND X_60)),X_62,7),COLORMAGENTA;
DRAWNUMBER(X_59 AND (X_60 OR X_64<1),X_62,8),COLORMAGENTA;
DRAWNUMBER(X_61,X_62,9),COLORGREEN;
X_65:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5);
X_66:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3) AND REFX(CLOSE,8)>REFX(CLOSE,4);
X_67:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6);
X_68:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3);
X_69:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7);
X_70:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2);
X_71:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8);
X_72:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1);
X_73:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9);
X_74:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE;
X_75:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10);
X_76:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1);
X_77:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11);
X_78:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2);
X_79:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12);
X_80:=REFX(CLOSE,1)>REF(CLOSE,3);{www.gpxiazai.com}
X_81:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12) AND REF(CLOSE,9)<REF(CLOSE,13);
DRAWNUMBER(X_65 AND (X_66 OR X_64=0 OR (X_64=1 AND X_80) OR (X_64=2 AND X_78) OR (X_64=3 AND X_76) OR (X_64=4 AND X_74) OR (X_64=5 AND X_72) OR (X_64=6 AND X_70) OR (X_64=7 AND X_68)),X_63,1),COLORMAGENTA;
DRAWNUMBER(X_67 AND (X_68 OR X_64=0 OR (X_64=1 AND X_80) OR (X_64=2 AND X_78) OR (X_64=3 AND X_76) OR (X_64=4 AND X_74) OR (X_64=5 AND X_72) OR (X_64=6 AND X_70)),X_63,2),COLORMAGENTA;
DRAWNUMBER(X_69 AND (X_70 OR X_64=0 OR (X_64=1 AND X_80) OR (X_64=2 AND X_78) OR (X_64=3 AND X_76) OR (X_64=4 AND X_74) OR (X_64=5 AND X_72)),X_63,3),COLORMAGENTA;
DRAWNUMBER(X_71 AND (X_72 OR X_64=0 OR (X_64=1 AND X_80) OR (X_64=2 AND X_78) OR (X_64=3 AND X_76) OR (X_64=4 AND X_74)),X_63,4),COLORMAGENTA;
DRAWNUMBER(X_73 AND (X_74 OR X_64=0 OR (X_64=1 AND X_80) OR (X_64=2 AND X_78) OR (X_64=3 AND X_76)),X_63,5),COLORMAGENTA;{www.gpxiazai.com}
DRAWNUMBER(X_75 AND (X_76 OR X_64=0 OR (X_64=1 AND X_80) OR (X_64=2 AND X_78)),X_63,6),COLORMAGENTA;
DRAWNUMBER(X_77 AND (X_78 OR X_64=0 OR (X_64=1 AND X_80)),X_63,7),COLORMAGENTA;
DRAWNUMBER(X_79 AND (X_80 OR X_64<1),X_63,8),COLORMAGENTA;
DRAWNUMBER(X_81,X_63,9),COLORGREEN;
X_82:=OPEN-(OPEN-CLOSE)/3;
X_83:=(OPEN+CLOSE)/2;
X_84:=OPEN-2*(OPEN-CLOSE)/3;
STICKLINE((OPEN+CLOSE)/2 AND CLOSE/REF(CLOSE,1)>=1.035 OR REF(CLOSE,1)/CLOSE>=1.035,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,3,0),COLORBLUE;