通达信风哥突破主图指标 源码
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
XA_1:=STRCAT(HYBLOCK,1);
XA_2:=STRCAT(XA_1,FGBLOCK);
XA_3:=STRCAT(XA_2,DYBLOCK);
XA_4:=STRCAT(XA_3,1);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(XA_4,GNBLOCK)),COLORWHITE;
XA_5:=FINANCE(33)/FINANCE(34)*100;
XA_6:=FINANCE(23)/FINANCE(20)*100;
XA_7:=FINANCE(44);
XA_8:=CONST(FINANCE(34));
XA_9:=CONST(FINANCE(38));
XA_10:=FINANCE(43);
XA_11:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
XA_12:=FINANCE(25)/FINANCE(15);
XA_13:=CONST(FINANCE(32));
XA_14:=CONST(FINANCE(18));
XA_15:=XA_5>3;
XA_16:=XA_5>0.01 AND XA_5<=3;
XA_17:=XA_6>2;
XA_18:=XA_6>0;
XA_19:=XA_7>1;
XA_20:=XA_7>0;
XA_21:=XA_10>2;
XA_22:=XA_10>0.2;
XA_23:=XA_9>0.01;
XA_24:=XA_9>0.001;
XA_25:=XA_8>2;
XA_26:=XA_8>0.01;
XA_27:=XA_13>0.5;
XA_28:=XA_13>0.001;
XA_29:=XA_14>0.5;
XA_30:=XA_14>0.002;
XA_31:=XA_13>=2 AND XA_14>=2;
XA_32:=XA_13<2 OR XA_14<2;
XA_33:=XA_15 AND XA_17 AND XA_19 AND XA_21 AND XA_23 AND XA_25 AND XA_27 AND XA_29;
XA_34:=XA_16 AND XA_18 AND XA_20 AND XA_22 AND XA_24 AND XA_26 AND XA_28 AND XA_30;
XA_35:=NOT(XA_33) AND NOT(XA_34);
XA_36:=BARSCOUNT(CLOSE)>250;
DRAWTEXT_FIX(XA_33 AND XA_36,0.7,0.01,0,297),COLORYELLOW;
DRAWTEXT_FIX(XA_34 AND XA_36,0.7,0.01,0,298),COLORYELLOW;
DRAWTEXT_FIX(XA_35 AND XA_36,0.7,0.01,0,299),COLORYELLOW;
DRAWTEXT_FIX(1,0.75,0.01,0,22),COLORRED;
DRAWTEXT_FIX(1,0.94,0.01,0,23),COLORYELLOW;
DRAWTEXT_FIX(1,0.85,0.01,0,CON2STR(FINANCE(46)/100000000,2)),COLORWHITE;
DRAWTEXT_FIX(1,0.9,0.01,0,CON2STR(OPEN*FINANCE(46)/100000000,2)),COLORYELLOW;
MA7:EMA(CLOSE,144),COLORC08000;
MA8:EMA(CLOSE,168),COLOR808040;
DRAWBAND(MA7,RGB(43,114,185),MA8,RGB(43,114,185));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:IF(均线=1,MA(CLOSE,5),0),COLORWHITE;
MA30:IF(均线=1,MA(CLOSE,30),0),COLORYELLOW,LINETHICK2;
MA60:IF(均线=1,MA(CLOSE,60),0),COLORGREEN;
DRAWTEXT_FIX(1,0,0.05,0,STRCAT(300,EXTERNSTR(0,7004))),COLORYELLOW;
NOTEXT上趋势:IF(上轨线=1,MA(LOW,20)*1.2,0),COLOR4080FF;
NOTEXT次上趋势:IF(上轨线=1,MA(LOW,20)*1.1,0),COLOR408000;
XA_37:=CLOSE-LOW;
XA_38:=HIGH-LOW;
XA_39:=CLOSE-HIGH;
XA_40:=IF(HIGH>LOW,(XA_37/XA_38+XA_39/XA_38)*VOL,0);
WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XA_41:=SUM(XA_40,10)/10000;
XA_42:=(-1);
XA_43:=UPNDAY(XA_42,1);
XA_44:=MA(CLOSE,5);
XA_45:=MA(CLOSE,10);
XA_46:=REF(HIGH,5)=HHV(HIGH,11);
XA_47:=REF(LOW,5)=LLV(LOW,11);
XA_48:=BACKSET(XA_46,6)>BACKSET(XA_46,5);
XA_49:=BACKSET(XA_47,6)>BACKSET(XA_47,5);
XA_50:=IF(BARSLAST(XA_48)=BARSLAST(XA_49) AND XA_44>XA_45,XA_48,IF(BARSLAST(XA_49)>BARSLAST(XA_48),XA_48,0));
XA_51:=IF(BARSLAST(XA_48)=BARSLAST(XA_49) AND XA_45>XA_44,XA_49,IF(BARSLAST(XA_48)>BARSLAST(XA_49),XA_49,0));
XA_52:=XA_50 AND HIGH=HHV(HIGH,BARSLAST(XA_51));
XA_53:=XA_51 AND LOW=LLV(LOW,BARSLAST(XA_50));
XA_54:=LOW>REF(HIGH,1) AND DAY!=REF(DAY,1);
XA_55:=HIGH<REF(LOW,1) AND DAY!=REF(DAY,1);
XA_56:=REF(HIGH,BARSLAST(XA_52));
XA_57:=REF(LOW,BARSLAST(XA_52));
XA_58:=REF(HIGH,BARSLAST(XA_52)+1);
XA_59:=REF(LOW,BARSLAST(XA_52)+1);
XA_60:=REF(LOW,BARSLAST(XA_52)+2);
XA_61:=REF(HIGH,BARSLAST(XA_53)+2);
XA_62:=REF(HIGH,BARSLAST(XA_53));
XA_63:=REF(LOW,BARSLAST(XA_53));
XA_64:=REF(HIGH,BARSLAST(XA_53)+1);
XA_65:=REF(LOW,BARSLAST(XA_53)+1);
XA_66:=IF(XA_58<XA_57,XA_57,IF(XA_57<=XA_59,XA_60,XA_59));
XA_67:=IF(XA_65>XA_62,XA_62,IF(XA_62>=XA_64,XA_61,XA_64));
XA_68:=XA_56>XA_67 AND XA_52;
XA_69:=XA_63<XA_66 AND XA_53;
XA_70:=XA_68 AND XA_56>XA_62 AND XA_57>XA_63 AND XA_59>XA_63;
XA_71:=XA_69 AND XA_63<XA_57 AND XA_62<XA_56 AND XA_64<XA_56;
XA_72:=HIGH<=REF(HIGH,1) AND LOW>=REF(LOW,1) OR (HIGH>=REF(HIGH,1) AND LOW<=REF(LOW,1));
XA_73:=COUNT(XA_72,BARSLAST(XA_53));
XA_74:=COUNT(XA_72,BARSLAST(XA_52));
XA_75:=COUNT(XA_54,BARSLAST(XA_53));
XA_76:=COUNT(XA_55,BARSLAST(XA_52));
XA_77:=IF(XA_73>0,XA_73+2,IF(XA_74,XA_74+2,3));
XA_78:=IF(XA_75,XA_77-XA_75,IF(XA_76,XA_77-XA_76,XA_77));
XA_79:=XA_70 AND BARSLAST(XA_71)>XA_78;
XA_80:=XA_71 AND BARSLAST(XA_70)>XA_78;
XA_81:=XA_52 AND REF(HIGH,BARSLAST(XA_52))>=REF(HIGH,BARSLAST(XA_79)) AND BARSLAST(XA_80)>BARSLAST(XA_79) OR (XA_68 AND COUNT(XA_54,BARSLAST(XA_69))>0 AND REF(HIGH,BARSLAST(XA_68))>REF(HIGH,BARSLAST(XA_79)));
XA_82:=XA_53 AND REF(LOW,BARSLAST(XA_53))<=REF(LOW,BARSLAST(XA_80)) AND BARSLAST(XA_79)>BARSLAST(XA_80) OR (XA_69 AND COUNT(XA_55,BARSLAST(XA_68))>0 AND REF(LOW,BARSLAST(XA_69))<REF(HIGH,BARSLAST(XA_80)));
XA_83:=IF(BARSLAST(XA_82)>BARSLAST(XA_81),REF(HIGH,BARSLAST(XA_81)),REF(HIGH,BARSLAST(XA_82)));
XA_84:=IF(BARSLAST(XA_81)>BARSLAST(XA_82),REF(LOW,BARSLAST(XA_82)),REF(LOW,BARSLAST(XA_81)));
XA_85:=XA_81 AND HIGH=HHV(XA_83,BARSLAST(XA_82)+1) AND HIGH>REF(HIGH,1) AND BARSLAST(XA_82)>BARSLAST(XA_81);
XA_86:=XA_82 AND LOW=LLV(XA_84,BARSLAST(XA_81)+1) AND LOW<REF(LOW,1) AND BARSLAST(XA_81)>BARSLAST(XA_82);
XA_87:=XA_85 OR (XA_52 AND REF(HIGH,BARSLAST(XA_52))>REF(HIGH,BARSLAST(XA_85)) AND BARSLAST(XA_86)>BARSLAST(XA_85));
XA_88:=XA_86 OR (XA_53 AND REF(LOW,BARSLAST(XA_53))<REF(LOW,BARSLAST(XA_86)) AND BARSLAST(XA_85)>BARSLAST(XA_86));
顶线:DRAWLINE(XA_87,HIGH,REF(XA_87,1),REF(HIGH,1),1),DOTLINE,COLORGREEN;
底线:DRAWLINE(XA_88,LOW,REF(XA_88,1),REF(LOW,1),1),DOTLINE,COLORRED;
DRAWICON(CROSS(CLOSE,顶线),顶线*1.01,38);
XA_89:=IF(INBLOCK(122) AND DATE>1200823 OR INBLOCK(123),1.2,1.1);
XA_90:=IF(CODELIKE(58) AND DATE>1200823 OR CODELIKE(60),0.8,0.9);
XA_91:=REF(CLOSE,1)*XA_89-CLOSE<0.0049 AND CLOSE=HIGH;
XA_92:=CLOSE-REF(CLOSE,1)*XA_90<0.0051 AND CLOSE=LOW;
STICKLINE(XA_91 AND PERIOD=5,CLOSE,OPEN,1.5,0),COLORYELLOW;
STICKLINE(XA_92 AND PERIOD=5,OPEN,CLOSE,1.5,0),COLORGREEN;
STICKLINE(REF(CLOSE,1)*XA_89-HIGH<0.0049 AND HIGH>CLOSE AND PERIOD=5,HIGH,MAX(CLOSE,OPEN),0.5,0),COLORMAGENTA;
STICKLINE(LOW-REF(CLOSE,1)*XA_90<0.0051 AND CLOSE>LOW AND PERIOD=5,LOW,MIN(CLOSE,OPEN),0.5,0),COLORGREEN;
XA_93:=CLOSE/REF(CLOSE,1)>=1.1 AND CLOSE/REF(CLOSE,1)<1.2;
STICKLINE(XA_93 AND NOT(XA_91) AND PERIOD=5,CLOSE,OPEN,1.5,0),COLORC080FF;
DRAWTEXT(REF(CLOSE,1)*XA_89-CLOSE<0.0049 AND LOW-REF(CLOSE,1)*XA_90<0.0051 AND PERIOD=5,LOW-0.05,301),COLORCC00CC;
DRAWTEXT(REF(CLOSE,1)*XA_89-HIGH<0.0049 AND CLOSE-REF(CLOSE,1)*XA_90<0.0051 AND PERIOD=5,HIGH-0.02,302),COLOR00CC00;
上三一:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),NODRAW,COLORMAGENTA;
二一位:(OPEN+CLOSE)/2,NODRAW,COLORRED;
下三一:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/3+MIN(OPEN,CLOSE),NODRAW,COLORYELLOW;
XA_94:=HIGH-(HIGH-LOW)*0.333;
虚二一:HIGH-(HIGH-LOW)*0.5,NODRAW;
XA_95:=HIGH-(HIGH-LOW)*0.666;
XA_96:=10;{{www.xw04.com}}
XA_97:=REF(HIGH,XA_96)=HHV(HIGH,2*XA_96+1);
XA_98:=BACKSET(XA_97,XA_96+1);
XA_99:=FILTER(XA_98,XA_96) AND HIGH=HHV(HIGH,XA_96+1);
XA_100:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(XA_99,1)),0.5);
XA_101:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(XA_99,2)),0.5);
NOTEXT趋势:DRAWLINE(XA_101,HIGH,XA_100,HIGH,1),COLORFF8000;
XA_102:=DRAWLINE(XA_101,HIGH,XA_100,HIGH,1);
XA_103:=CROSS(CLOSE,XA_102) AND XA_102>REF(XA_102,1);
DRAWTEXT(XA_103,HIGH*1.01,303),COLORWHITE;
XA_104:=CROSS(CLOSE,XA_102) AND XA_102<REF(XA_102,1);
DRAWTEXT(XA_104,HIGH*1.02,304),COLORWHITE;
XA_105:=0.01;
XA_106:=IF(精准线=1,CLOSE*1.1,IF(精准线=2,OPEN,IF(精准线=3,CLOSE,HIGH)));
精准值:CONST(XA_106),DOTLINE,COLOR4080FF;
XA_107:=CLOSE>REF(CLOSE,4);
XA_108:=BARSLASTCOUNT(XA_107);
XA_109:=REF(XA_108,1)=8 AND XA_108>REF(XA_108,1);
XA_110:=REF(BETWEEN(XA_108,5,8),1) AND XA_108<REF(XA_108,1);
XA_111:=ISLASTBAR AND BETWEEN(XA_108,6,8);
XA_112:=(BACKSET(XA_109>0,9) OR BACKSET(XA_110>0,XA_108+1)*0 OR BACKSET(XA_111>0,XA_108))*XA_108;
DRAWTEXT(XA_112>0 AND 九转=1,HIGH+HIGH*0.02,VAR2STR(XA_112,0)),COLORGRAY;
DRAWTEXT(XA_108=9 AND 九转=1,HIGH+HIGH*0.02,19),COLORMAGENTA;
DRAWTEXT(XA_108=16 AND 九转=1,HIGH+HIGH*0.02,17),COLORMAGENTA;
DRAWTEXT(XA_108=17 AND 九转=1,HIGH+HIGH*0.02,18),COLORMAGENTA;
DRAWTEXT(XA_108=18 AND 九转=1,HIGH+HIGH*0.02,19),COLORMAGENTA;
XA_113:=CLOSE<REF(CLOSE,4);
XA_114:=BARSLASTCOUNT(XA_113);
XA_115:=REF(XA_114,1)=8 AND XA_114>REF(XA_114,1);
XA_116:=REF(BETWEEN(XA_114,5,8),1) AND XA_114<REF(XA_114,1);
XA_117:=ISLASTBAR AND BETWEEN(XA_114,6,8);
XA_118:=(BACKSET(XA_115>0,9) OR BACKSET(XA_116>0,XA_114+1)*0 OR BACKSET(XA_117>0,XA_114))*XA_114;
DRAWTEXT(XA_118>0 AND 九转=1,LOW-LOW*0.02,VAR2STR(XA_118,0)),COLORGRAY;
DRAWTEXT(XA_114=9 AND 九转=1,LOW-LOW*0.02,19),COLORMAGENTA;
DRAWTEXT(XA_114=16 AND 九转=1,LOW-LOW*0.02,17),COLORMAGENTA;
DRAWTEXT(XA_114=17 AND 九转=1,LOW-LOW*0.02,18),COLORMAGENTA;
DRAWTEXT(XA_114=18 AND 九转=1,LOW-LOW*0.02,19),COLORMAGENTA;
XA_119:=LLV(LOW,10);
XA_120:=FINDHIGHBARS(-LOW,0,5,1);
XA_121:=REF(CLOSE,XA_120+2);
XA_122:=HHV(HIGH,10);
XA_123:=FINDHIGHBARS(HIGH,0,13,1);
XA_124:=REF(CLOSE,XA_123+1);
低收:IF(CURRBARSCOUNT<8,CONST(XA_121),DRAWNULL),COLORWHITE;
XA_125:=AMOUNT/VOL/100;
XA_126:=VOL>=REF(VOL,1);
XA_127:=XA_126;
XA_128:=REF(CLOSE,1)<REF(MA(CLOSE,5),1) AND OPEN>MA(CLOSE,5) AND CLOSE>REF(CLOSE,1);
XA_129:=XA_125>=REF(XA_125,1);
XA_130:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_131:=EMA(XA_130,9);
XA_132:=(XA_130-XA_131)*2;
XA_133:=XA_130>REF(XA_130,1);
XA_134:=IF(CLOSE>=OPEN,CLOSE,OPEN);
XA_135:=XA_127 AND OPEN<MA(CLOSE,5) AND CLOSE>OPEN AND CLOSE>MA(CLOSE,5) AND XA_129;
XA_136:=XA_127 AND XA_133 AND XA_128 AND CLOSE>MA(CLOSE,5) AND CLOSE>OPEN AND XA_129;
XA_137:=XA_128 AND CLOSE>MA(CLOSE,5) AND CLOSE>OPEN AND XA_129 AND CLOSE>REF(XA_134,1);
XA_138:=OPEN<MA(CLOSE,5) AND CLOSE>OPEN AND CLOSE>MA(CLOSE,5) AND XA_129 AND CLOSE>REF(XA_134,1);
XA_139:=IF(XA_135+XA_136+XA_137+XA_138>0,1,0);
XA_140:=REF(XA_139,2) AND REF(CLOSE>MA(CLOSE,5),1);
XA_141:=REF(XA_139,1) OR XA_140;
XA_142:=COUNT(CLOSE<MA(CLOSE,5),8)>1;
DRAWICON(买点=1 AND XA_139 AND XA_141=0 AND XA_142,LOW,41);
选股票看什么指标最好 >股票指标网
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
XA_1:=STRCAT(HYBLOCK,1);
XA_2:=STRCAT(XA_1,FGBLOCK);
XA_3:=STRCAT(XA_2,DYBLOCK);
XA_4:=STRCAT(XA_3,1);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(XA_4,GNBLOCK)),COLORWHITE;
XA_5:=FINANCE(33)/FINANCE(34)*100;
XA_6:=FINANCE(23)/FINANCE(20)*100;
XA_7:=FINANCE(44);
XA_8:=CONST(FINANCE(34));
XA_9:=CONST(FINANCE(38));
XA_10:=FINANCE(43);
XA_11:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
XA_12:=FINANCE(25)/FINANCE(15);
XA_13:=CONST(FINANCE(32));
XA_14:=CONST(FINANCE(18));
XA_15:=XA_5>3;
XA_16:=XA_5>0.01 AND XA_5<=3;
XA_17:=XA_6>2;
XA_18:=XA_6>0;
XA_19:=XA_7>1;
XA_20:=XA_7>0;
XA_21:=XA_10>2;
XA_22:=XA_10>0.2;
XA_23:=XA_9>0.01;
XA_24:=XA_9>0.001;
XA_25:=XA_8>2;
XA_26:=XA_8>0.01;
XA_27:=XA_13>0.5;
XA_28:=XA_13>0.001;
XA_29:=XA_14>0.5;
XA_30:=XA_14>0.002;
XA_31:=XA_13>=2 AND XA_14>=2;
XA_32:=XA_13<2 OR XA_14<2;
XA_33:=XA_15 AND XA_17 AND XA_19 AND XA_21 AND XA_23 AND XA_25 AND XA_27 AND XA_29;
XA_34:=XA_16 AND XA_18 AND XA_20 AND XA_22 AND XA_24 AND XA_26 AND XA_28 AND XA_30;
XA_35:=NOT(XA_33) AND NOT(XA_34);
XA_36:=BARSCOUNT(CLOSE)>250;
DRAWTEXT_FIX(XA_33 AND XA_36,0.7,0.01,0,297),COLORYELLOW;
DRAWTEXT_FIX(XA_34 AND XA_36,0.7,0.01,0,298),COLORYELLOW;
DRAWTEXT_FIX(XA_35 AND XA_36,0.7,0.01,0,299),COLORYELLOW;
DRAWTEXT_FIX(1,0.75,0.01,0,22),COLORRED;
DRAWTEXT_FIX(1,0.94,0.01,0,23),COLORYELLOW;
DRAWTEXT_FIX(1,0.85,0.01,0,CON2STR(FINANCE(46)/100000000,2)),COLORWHITE;
DRAWTEXT_FIX(1,0.9,0.01,0,CON2STR(OPEN*FINANCE(46)/100000000,2)),COLORYELLOW;
MA7:EMA(CLOSE,144),COLORC08000;
MA8:EMA(CLOSE,168),COLOR808040;
DRAWBAND(MA7,RGB(43,114,185),MA8,RGB(43,114,185));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:IF(均线=1,MA(CLOSE,5),0),COLORWHITE;
MA30:IF(均线=1,MA(CLOSE,30),0),COLORYELLOW,LINETHICK2;
MA60:IF(均线=1,MA(CLOSE,60),0),COLORGREEN;
DRAWTEXT_FIX(1,0,0.05,0,STRCAT(300,EXTERNSTR(0,7004))),COLORYELLOW;
NOTEXT上趋势:IF(上轨线=1,MA(LOW,20)*1.2,0),COLOR4080FF;
NOTEXT次上趋势:IF(上轨线=1,MA(LOW,20)*1.1,0),COLOR408000;
XA_37:=CLOSE-LOW;
XA_38:=HIGH-LOW;
XA_39:=CLOSE-HIGH;
XA_40:=IF(HIGH>LOW,(XA_37/XA_38+XA_39/XA_38)*VOL,0);
WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XA_41:=SUM(XA_40,10)/10000;
XA_42:=(-1);
XA_43:=UPNDAY(XA_42,1);
XA_44:=MA(CLOSE,5);
XA_45:=MA(CLOSE,10);
XA_46:=REF(HIGH,5)=HHV(HIGH,11);
XA_47:=REF(LOW,5)=LLV(LOW,11);
XA_48:=BACKSET(XA_46,6)>BACKSET(XA_46,5);
XA_49:=BACKSET(XA_47,6)>BACKSET(XA_47,5);
XA_50:=IF(BARSLAST(XA_48)=BARSLAST(XA_49) AND XA_44>XA_45,XA_48,IF(BARSLAST(XA_49)>BARSLAST(XA_48),XA_48,0));
XA_51:=IF(BARSLAST(XA_48)=BARSLAST(XA_49) AND XA_45>XA_44,XA_49,IF(BARSLAST(XA_48)>BARSLAST(XA_49),XA_49,0));
XA_52:=XA_50 AND HIGH=HHV(HIGH,BARSLAST(XA_51));
XA_53:=XA_51 AND LOW=LLV(LOW,BARSLAST(XA_50));
XA_54:=LOW>REF(HIGH,1) AND DAY!=REF(DAY,1);
XA_55:=HIGH<REF(LOW,1) AND DAY!=REF(DAY,1);
XA_56:=REF(HIGH,BARSLAST(XA_52));
XA_57:=REF(LOW,BARSLAST(XA_52));
XA_58:=REF(HIGH,BARSLAST(XA_52)+1);
XA_59:=REF(LOW,BARSLAST(XA_52)+1);
XA_60:=REF(LOW,BARSLAST(XA_52)+2);
XA_61:=REF(HIGH,BARSLAST(XA_53)+2);
XA_62:=REF(HIGH,BARSLAST(XA_53));
XA_63:=REF(LOW,BARSLAST(XA_53));
XA_64:=REF(HIGH,BARSLAST(XA_53)+1);
XA_65:=REF(LOW,BARSLAST(XA_53)+1);
XA_66:=IF(XA_58<XA_57,XA_57,IF(XA_57<=XA_59,XA_60,XA_59));
XA_67:=IF(XA_65>XA_62,XA_62,IF(XA_62>=XA_64,XA_61,XA_64));
XA_68:=XA_56>XA_67 AND XA_52;
XA_69:=XA_63<XA_66 AND XA_53;
XA_70:=XA_68 AND XA_56>XA_62 AND XA_57>XA_63 AND XA_59>XA_63;
XA_71:=XA_69 AND XA_63<XA_57 AND XA_62<XA_56 AND XA_64<XA_56;
XA_72:=HIGH<=REF(HIGH,1) AND LOW>=REF(LOW,1) OR (HIGH>=REF(HIGH,1) AND LOW<=REF(LOW,1));
XA_73:=COUNT(XA_72,BARSLAST(XA_53));
XA_74:=COUNT(XA_72,BARSLAST(XA_52));
XA_75:=COUNT(XA_54,BARSLAST(XA_53));
XA_76:=COUNT(XA_55,BARSLAST(XA_52));
XA_77:=IF(XA_73>0,XA_73+2,IF(XA_74,XA_74+2,3));
XA_78:=IF(XA_75,XA_77-XA_75,IF(XA_76,XA_77-XA_76,XA_77));
XA_79:=XA_70 AND BARSLAST(XA_71)>XA_78;
XA_80:=XA_71 AND BARSLAST(XA_70)>XA_78;
XA_81:=XA_52 AND REF(HIGH,BARSLAST(XA_52))>=REF(HIGH,BARSLAST(XA_79)) AND BARSLAST(XA_80)>BARSLAST(XA_79) OR (XA_68 AND COUNT(XA_54,BARSLAST(XA_69))>0 AND REF(HIGH,BARSLAST(XA_68))>REF(HIGH,BARSLAST(XA_79)));
XA_82:=XA_53 AND REF(LOW,BARSLAST(XA_53))<=REF(LOW,BARSLAST(XA_80)) AND BARSLAST(XA_79)>BARSLAST(XA_80) OR (XA_69 AND COUNT(XA_55,BARSLAST(XA_68))>0 AND REF(LOW,BARSLAST(XA_69))<REF(HIGH,BARSLAST(XA_80)));
XA_83:=IF(BARSLAST(XA_82)>BARSLAST(XA_81),REF(HIGH,BARSLAST(XA_81)),REF(HIGH,BARSLAST(XA_82)));
XA_84:=IF(BARSLAST(XA_81)>BARSLAST(XA_82),REF(LOW,BARSLAST(XA_82)),REF(LOW,BARSLAST(XA_81)));
XA_85:=XA_81 AND HIGH=HHV(XA_83,BARSLAST(XA_82)+1) AND HIGH>REF(HIGH,1) AND BARSLAST(XA_82)>BARSLAST(XA_81);
XA_86:=XA_82 AND LOW=LLV(XA_84,BARSLAST(XA_81)+1) AND LOW<REF(LOW,1) AND BARSLAST(XA_81)>BARSLAST(XA_82);
XA_87:=XA_85 OR (XA_52 AND REF(HIGH,BARSLAST(XA_52))>REF(HIGH,BARSLAST(XA_85)) AND BARSLAST(XA_86)>BARSLAST(XA_85));
XA_88:=XA_86 OR (XA_53 AND REF(LOW,BARSLAST(XA_53))<REF(LOW,BARSLAST(XA_86)) AND BARSLAST(XA_85)>BARSLAST(XA_86));
顶线:DRAWLINE(XA_87,HIGH,REF(XA_87,1),REF(HIGH,1),1),DOTLINE,COLORGREEN;
底线:DRAWLINE(XA_88,LOW,REF(XA_88,1),REF(LOW,1),1),DOTLINE,COLORRED;
DRAWICON(CROSS(CLOSE,顶线),顶线*1.01,38);
XA_89:=IF(INBLOCK(122) AND DATE>1200823 OR INBLOCK(123),1.2,1.1);
XA_90:=IF(CODELIKE(58) AND DATE>1200823 OR CODELIKE(60),0.8,0.9);
XA_91:=REF(CLOSE,1)*XA_89-CLOSE<0.0049 AND CLOSE=HIGH;
XA_92:=CLOSE-REF(CLOSE,1)*XA_90<0.0051 AND CLOSE=LOW;
STICKLINE(XA_91 AND PERIOD=5,CLOSE,OPEN,1.5,0),COLORYELLOW;
STICKLINE(XA_92 AND PERIOD=5,OPEN,CLOSE,1.5,0),COLORGREEN;
STICKLINE(REF(CLOSE,1)*XA_89-HIGH<0.0049 AND HIGH>CLOSE AND PERIOD=5,HIGH,MAX(CLOSE,OPEN),0.5,0),COLORMAGENTA;
STICKLINE(LOW-REF(CLOSE,1)*XA_90<0.0051 AND CLOSE>LOW AND PERIOD=5,LOW,MIN(CLOSE,OPEN),0.5,0),COLORGREEN;
XA_93:=CLOSE/REF(CLOSE,1)>=1.1 AND CLOSE/REF(CLOSE,1)<1.2;
STICKLINE(XA_93 AND NOT(XA_91) AND PERIOD=5,CLOSE,OPEN,1.5,0),COLORC080FF;
DRAWTEXT(REF(CLOSE,1)*XA_89-CLOSE<0.0049 AND LOW-REF(CLOSE,1)*XA_90<0.0051 AND PERIOD=5,LOW-0.05,301),COLORCC00CC;
DRAWTEXT(REF(CLOSE,1)*XA_89-HIGH<0.0049 AND CLOSE-REF(CLOSE,1)*XA_90<0.0051 AND PERIOD=5,HIGH-0.02,302),COLOR00CC00;
上三一:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),NODRAW,COLORMAGENTA;
二一位:(OPEN+CLOSE)/2,NODRAW,COLORRED;
下三一:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/3+MIN(OPEN,CLOSE),NODRAW,COLORYELLOW;
XA_94:=HIGH-(HIGH-LOW)*0.333;
虚二一:HIGH-(HIGH-LOW)*0.5,NODRAW;
XA_95:=HIGH-(HIGH-LOW)*0.666;
XA_96:=10;{{www.xw04.com}}
XA_97:=REF(HIGH,XA_96)=HHV(HIGH,2*XA_96+1);
XA_98:=BACKSET(XA_97,XA_96+1);
XA_99:=FILTER(XA_98,XA_96) AND HIGH=HHV(HIGH,XA_96+1);
XA_100:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(XA_99,1)),0.5);
XA_101:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(XA_99,2)),0.5);
NOTEXT趋势:DRAWLINE(XA_101,HIGH,XA_100,HIGH,1),COLORFF8000;
XA_102:=DRAWLINE(XA_101,HIGH,XA_100,HIGH,1);
XA_103:=CROSS(CLOSE,XA_102) AND XA_102>REF(XA_102,1);
DRAWTEXT(XA_103,HIGH*1.01,303),COLORWHITE;
XA_104:=CROSS(CLOSE,XA_102) AND XA_102<REF(XA_102,1);
DRAWTEXT(XA_104,HIGH*1.02,304),COLORWHITE;
XA_105:=0.01;
XA_106:=IF(精准线=1,CLOSE*1.1,IF(精准线=2,OPEN,IF(精准线=3,CLOSE,HIGH)));
精准值:CONST(XA_106),DOTLINE,COLOR4080FF;
XA_107:=CLOSE>REF(CLOSE,4);
XA_108:=BARSLASTCOUNT(XA_107);
XA_109:=REF(XA_108,1)=8 AND XA_108>REF(XA_108,1);
XA_110:=REF(BETWEEN(XA_108,5,8),1) AND XA_108<REF(XA_108,1);
XA_111:=ISLASTBAR AND BETWEEN(XA_108,6,8);
XA_112:=(BACKSET(XA_109>0,9) OR BACKSET(XA_110>0,XA_108+1)*0 OR BACKSET(XA_111>0,XA_108))*XA_108;
DRAWTEXT(XA_112>0 AND 九转=1,HIGH+HIGH*0.02,VAR2STR(XA_112,0)),COLORGRAY;
DRAWTEXT(XA_108=9 AND 九转=1,HIGH+HIGH*0.02,19),COLORMAGENTA;
DRAWTEXT(XA_108=16 AND 九转=1,HIGH+HIGH*0.02,17),COLORMAGENTA;
DRAWTEXT(XA_108=17 AND 九转=1,HIGH+HIGH*0.02,18),COLORMAGENTA;
DRAWTEXT(XA_108=18 AND 九转=1,HIGH+HIGH*0.02,19),COLORMAGENTA;
XA_113:=CLOSE<REF(CLOSE,4);
XA_114:=BARSLASTCOUNT(XA_113);
XA_115:=REF(XA_114,1)=8 AND XA_114>REF(XA_114,1);
XA_116:=REF(BETWEEN(XA_114,5,8),1) AND XA_114<REF(XA_114,1);
XA_117:=ISLASTBAR AND BETWEEN(XA_114,6,8);
XA_118:=(BACKSET(XA_115>0,9) OR BACKSET(XA_116>0,XA_114+1)*0 OR BACKSET(XA_117>0,XA_114))*XA_114;
DRAWTEXT(XA_118>0 AND 九转=1,LOW-LOW*0.02,VAR2STR(XA_118,0)),COLORGRAY;
DRAWTEXT(XA_114=9 AND 九转=1,LOW-LOW*0.02,19),COLORMAGENTA;
DRAWTEXT(XA_114=16 AND 九转=1,LOW-LOW*0.02,17),COLORMAGENTA;
DRAWTEXT(XA_114=17 AND 九转=1,LOW-LOW*0.02,18),COLORMAGENTA;
DRAWTEXT(XA_114=18 AND 九转=1,LOW-LOW*0.02,19),COLORMAGENTA;
XA_119:=LLV(LOW,10);
XA_120:=FINDHIGHBARS(-LOW,0,5,1);
XA_121:=REF(CLOSE,XA_120+2);
XA_122:=HHV(HIGH,10);
XA_123:=FINDHIGHBARS(HIGH,0,13,1);
XA_124:=REF(CLOSE,XA_123+1);
低收:IF(CURRBARSCOUNT<8,CONST(XA_121),DRAWNULL),COLORWHITE;
XA_125:=AMOUNT/VOL/100;
XA_126:=VOL>=REF(VOL,1);
XA_127:=XA_126;
XA_128:=REF(CLOSE,1)<REF(MA(CLOSE,5),1) AND OPEN>MA(CLOSE,5) AND CLOSE>REF(CLOSE,1);
XA_129:=XA_125>=REF(XA_125,1);
XA_130:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_131:=EMA(XA_130,9);
XA_132:=(XA_130-XA_131)*2;
XA_133:=XA_130>REF(XA_130,1);
XA_134:=IF(CLOSE>=OPEN,CLOSE,OPEN);
XA_135:=XA_127 AND OPEN<MA(CLOSE,5) AND CLOSE>OPEN AND CLOSE>MA(CLOSE,5) AND XA_129;
XA_136:=XA_127 AND XA_133 AND XA_128 AND CLOSE>MA(CLOSE,5) AND CLOSE>OPEN AND XA_129;
XA_137:=XA_128 AND CLOSE>MA(CLOSE,5) AND CLOSE>OPEN AND XA_129 AND CLOSE>REF(XA_134,1);
XA_138:=OPEN<MA(CLOSE,5) AND CLOSE>OPEN AND CLOSE>MA(CLOSE,5) AND XA_129 AND CLOSE>REF(XA_134,1);
XA_139:=IF(XA_135+XA_136+XA_137+XA_138>0,1,0);
XA_140:=REF(XA_139,2) AND REF(CLOSE>MA(CLOSE,5),1);
XA_141:=REF(XA_139,1) OR XA_140;
XA_142:=COUNT(CLOSE<MA(CLOSE,5),8)>1;
DRAWICON(买点=1 AND XA_139 AND XA_141=0 AND XA_142,LOW,41);
选股票看什么指标最好 >股票指标网
精彩评论