首页 > 编程语言 >通达信许散主图指标公式源码

通达信许散主图指标公式源码

时间:2024-01-26 14:13:03浏览次数:23  
标签:FINANCE 许散 主图 HIGH 源码 LOW CLOSE BARSLAST REF

X_1:=HHV(HIGH,20);
X_2:=LLV(LOW,20);
X_3:=REF((X_1/X_2-1)*100<=30,1);
X_4:=CLOSE*vol;
X_5:=Ema((expma(X_4,23)/EXPMA(VOL,23)+EXPMA(X_4,54)/EXPMA(VOL,54)+EXPMA(X_4,108)/EXPMA(VOL,108)+EXPMA(X_4,316)/EXPMA(VOL,316))/4,34);
X_6:=1.0668*X_5;
X_7:=crOSS(CLOSE,X_6) AND REF(CLOSE,1)*1.05-CLOSE<0.005 AND CLOSE>OPEN*0.5;
X_8:=VOL;
X_9:=X_8>MA(VOL,89);
X_10:=EXPMA(CLOSE,5);
X_11:=EXPMA(CLOSE,29);
X_12:=X_10>X_11;
X_13:=REF(CLOSE,1);
X_14:=SMA(MAX(CLOSE-X_13,0),12,1)/SMA(Abs(CLOSE-X_13),12,1)*100;
X_15:=SMA(MAX(CLOSE-X_13,0),56,1)/SMA(ABS(CLOSE-X_13),56,1)*100;
X_16:=X_14>X_15 AND X_12 AND X_9 AND CLOSE>REF(HHV(HIGH,40),1);
DRAWTEXT(X_7 AND X_16 AND X_3,LOW*0.97,27),COLORYELLOW;
X_17:=MA(CLOSE,5);
X_18:=MA(CLOSE,10);
X_19:=MA(CLOSE,20);
X_20:=MA(CLOSE,30);
X_21:=MA(CLOSE,55);
X_22:=OPEN<x_17 and="" open<x_18="" open<x_19="" low<x_20="" low<x_21;<br=""> X_23:=CLOSE>X_17 AND CLOSE>X_18 AND HIGH>X_19 AND HIGH>X_20 AND HIGH>X_21;
X_24:=X_22 AND X_23;
DRAWTEXT(X_24,LOW*0.94,28),COLORYELLOW;
DRAWTEXT(HIGH=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE<ztprice(ref(close,1),0.2),high,29),colorgreen;
DRAWTEXT(HIGH=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<ztprice(ref(close,1),0.1),high,29),colorgreen;
DRAWTEXT(LOW=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE>DTPRICE(REF(CLOSE,1),0.1),LOW,30),COLORYELLOW;
DRAWTEXT(LOW=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE>DTPRICE(REF(CLOSE,1),0.2),LOW,30),COLORYELLOW;
X_25:=DYNAINFO(3);
均价:AMOUNT/(VOL*100),POINTDOT,COLORWHITE,LINETHICK2;
X_26:=IF(NAMELIKE(31) OR NAMELIKE(32),0.05,IF(CODELIKE(33) OR CODELIKE(12),0.2,0.1));
X_27:=CLOSE>=ZTPRICE(REF(CLOSE,1),X_26) AND CLOSE=HIGH;
X_28:=REF(CLOSE,1);
X_29:=(CLOSE-X_28)/X_28;
X_30:=IF((CLOSE-X_28)/X_28<=(-0.095),1,0);
涨停周期:BArslAst(X_27),NODRAW,COLORYELLOW;
X_31:=DATE<=13181231;
M5:MA(CLOSE,5),COLOR0099CC;
M10:MA(CLOSE,10)*X_31,COLORYELLOW;
M20:MA(CLOSE,20),COLOR0099CC;
M30:MA(CLOSE,30);
M6:MA(CLOSE,60);
KB:IF(M5>=REF(M5,1),M5,DRAWNULL),CIRCLEDOT,COLORRED;
KS:IF(M5<ref(m5,1),m5,drawnull),circledot,colorliblue;
十:IF(M10>=REF(M10,1),M10,DRAWNULL),COLORYELLOW,LINETHICK2;
二:IF(M20>=REF(M20,1),M20,DRAWNULL),COLORMAGENTA,LINETHICK2;
X_32:=CLOSE;
X_33:=EMA(CLOSE,2);
X_34:=IF(X_33>REF(X_33,1) AND REF(X_33,2)>REF(X_33,1),CLOSE,0);
X_35:=(CLOSE-HHV(X_34,BARSLAST(X_34>1)+1))/HHV(X_34,BARSLAST(X_34>1)+1)*100;
X_36:=(LOW-HHV(X_34,BARSLAST(X_34>1)+1))/HHV(X_34,BARSLAST(X_34>1)+1)*100;
X_37:=(HIGH-HHV(X_34,BARSLAST(X_34>1)+1))/HHV(X_34,BARSLAST(X_34>1)+1)*100;
X_38:=IF(X_33>=REF(X_33,1),X_33,DRAWNULL);
X_39:=IF(X_33<ref(x_33,1) and="" ref(x_33,2)<ref(x_33,1),x_35,0);<br=""> X_40:=IF(X_39>0,X_35,0);
X_41:=IF(X_39<0,X_35,0);
DRAWTEXT(PERIOD=3 AND TIME=1500 AND (CLOSE-REF(CLOSE,8))/REF(CLOSE,8)>0.095,HIGH*1.03,39),COLORYELLOW;
DRAWTEXT(PERIOD=2 AND TIME=1500 AND (CLOSE-REF(CLOSE,16))/REF(CLOSE,16)>0.095,HIGH*1.03,39),COLORYELLOW;
X_42:=REF(HIGH,2)=HHV(HIGH,2*2+1);
X_43:=FILTER(X_42,2);
X_44:=BacKSET(X_43,2+1);
X_45:=FILTER(X_44,2);
X_46:=REF(LOW,2)=LLV(LOW,2*2+1);
X_47:=FILTER(X_46,2);
X_48:=BACKSET(X_47,2+1);
X_49:=FILTER(X_48,2);
X_50:=(REF(LLV(LOW,2*2),1)+REF(HHV(HIGH,2*2),1))/2;
X_51:=(HIGH+LOW)/2;
X_52:=X_45 AND NOT(X_49 AND X_50>=X_51) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X_53:=X_49 AND NOT(X_45 AND X_50<x_51);
X_54:=X_45 AND NOT(X_49 AND X_50>=X_51);
X_55:=REF(BARSLAST(X_52),1)+1;
X_56:=BACKSET(X_52 AND COUNT(X_53,X_55)>0,LLVBARS(IF(X_53,LOW,10000),X_55));
X_57:=X_56>REF(X_56,1);
X_58:=BACKSET(X_57,2);
X_59:=X_58>REF(X_58,1);
X_60:=X_59 OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X_61:=REF(BARSLAST(X_60),1)+1;
X_62:=BACKSET(X_60 AND COUNT(X_54,X_61)>0,HHVBARS(IF(X_54,HIGH,0),X_61));
X_63:=X_62>REF(X_62,1);
X_64:=BACKSET(X_63,2);
X_65:=X_64>REF(X_64,1);
X_66:=IF(X_59=1,LOW,0);
升幅:(HIGH-HHV(X_66,BARSLAST(X_66>1)+1))/HHV(X_66,BARSLAST(X_66>1)+1)*100,NODRAW,COLORMAGENTA;
X_67:=ROUND(升幅);
X_68:=IF(X_65=1,HIGH,0);
跌幅:(LOW-HHV(X_68,BARSLAST(X_68>1)+1))/HHV(X_68,BARSLAST(X_68>1)+1)*100,NODRAW,COLORMAGENTA;
X_69:=ROUND(跌幅);
DRAWNUMBER(ISLASTBAR,IF(BARSLAST(X_65)>=BARSLAST(X_59),HIGH,LOW),IF(BARSLAST(X_65)>=BARSLAST(X_59),升幅,跌幅)),COLORGREEN;
X_70:=BACKSET(ISLASTBAR,MIN(BARSLAST(X_65),BARSLAST(X_59))+1);
X_71:=X_70>REF(X_70,1);
DRAWNUMBER(X_59=1,LOW*0.97,LOW),COLORWHITE,LINETHICK9;
DRAWNUMBER(X_65=1,HIGH,HIGH),COLORWHITE,LINETHICK9;
X_72:=HIGH<ref(high,ref(barslast(x_65),1)+1);
X_73:=REF(HIGH,REF(BARSLAST(X_65),1)+1)>REF(HIGH,REF(BARSLAST(X_65),1)+2+REF(BARSLAST(X_65),REF(BARSLAST(X_65),1)+2));
X_74:=X_72 AND X_73 AND X_65;
X_75:=BACKSET(X_74,REF(BARSLAST(X_65),1)+2);
X_76:=X_75>REF(X_75,1);
X_77:=LOW>REF(LOW,REF(BARSLAST(X_59),1)+1);
X_78:=REF(LOW,REF(BARSLAST(X_59),1)+1)<ref(low,ref(barslast(x_59),1)+2+ref(barslast(x_59),ref(barslast(x_59),1)+2));
X_79:=X_77 AND X_78 AND X_59;
X_80:=BACKSET(X_79,REF(BARSLAST(X_59),1)+2);
X_81:=X_80>REF(X_80,1);
X_82:=X_76 OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X_83:=REF(BARSLAST(X_82),1)+1;
X_84:=BACKSET(X_82 AND COUNT(X_81,X_83)>0,LLVBARS(IF(X_81,LOW,POW(10,20)),X_83));
X_85:=X_84>REF(X_84,1);
X_86:=BACKSET(X_85,2);
X_87:=X_86>REF(X_86,1);
X_88:=X_87 OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X_89:=REF(BARSLAST(X_88),1)+1;
X_90:=BACKSET(X_88 AND COUNT(X_76,X_89)>0,HHVBARS(IF(X_76,HIGH,-POW(10,20)),X_89));
X_91:=X_90>REF(X_90,1);
X_92:=BACKSET(X_91,2);
X_93:=X_92>REF(X_92,1);
X_94:=BACKSET(ISLASTBAR,MIN(BARSLAST(X_93),BARSLAST(X_87))+1);
X_95:=X_94>REF(X_94,1);
DRAWLINE(X_93,HIGH,X_87,LOW,0),NODRAW,COLORGREEN;
DRAWLINE(X_87,LOW,X_93,HIGH,0),NODRAW,COLORGREEN;
DRAWLINE(X_95,IF(X_93,HIGH,LOW),ISLASTBAR,CLOSE,0),NODRAW,COLORGREEN;
X_96:=BACKSET(ISLASTBAR,BARSLAST(X_59)+1);
X_97:=X_96>REF(X_96,1);
X_98:=BACKSET(X_97,REF(BARSLAST(X_59),1)+2);
X_99:=X_98>REF(X_98,1);
X_100:=BACKSET(ISLASTBAR,BARSLAST(X_65)+1);
X_101:=X_100>REF(X_100,1);
X_102:=BACKSET(X_101,REF(BARSLAST(X_65),1)+2);
X_103:=X_102>REF(X_102,1);
DRAWLINE(X_99,LOW,X_97,LOW,1),NODRAW,COLORMAGENTA;
DRAWLINE(X_103,HIGH,X_101,HIGH,1),NODRAW,COLORMAGENTA;
X_104:=REF(LOW,BARSLAST(X_99));
X_105:=REF(LOW,BARSLAST(X_97));
X_106:=REF(HIGH,BARSLAST(X_103));
X_107:=REF(HIGH,BARSLAST(X_101));
X_108:=REF(HIGH,BARSLAST(X_101));
X_109:=REF(LOW,BARSLAST(X_97));
X_110:=(CLOSE-X_109)/(X_108-X_109);
DRAWNUMBER(ISLASTBAR,X_104,REF(LOW,BARSLAST(X_99))),NODRAW,COLORFF66FF;
DRAWNUMBER(ISLASTBAR,X_105,REF(LOW,BARSLAST(X_97))),NODRAW,COLOR99FF66;
DRAWNUMBER(ISLASTBAR,X_107,REF(HIGH,BARSLAST(X_101))),NODRAW,COLOR99FF66;
DRAWNUMBER(ISLASTBAR,X_106,REF(HIGH,BARSLAST(X_103))),NODRAW,COLORFF66FF;
DRAWLINE(X_59,LOW,X_65,HIGH,0),NODRAW,COLORRED;
DRAWLINE(X_65,HIGH,X_59,LOW,0),NODRAW,COLORGREEN;
DRAWLINE(X_71,IF(X_65,HIGH,LOW),ISLASTBAR,IF(BARSLAST(X_65)>BARSLAST(X_59),HIGH,LOW),0),DOTLINE,COLORWHITE;
X_111:=DRAWTEXT(WEEkdAY=1,LOW,8);
X_112:=DRAWTEXT(DAY=1,LOW,9);
X_113:=WEEKDAY=1;
X_114:=BARSLAST(X_113);
X_115:=REF(OPEN,REF(X_114,1)+1);
X_116:=REF(CLOSE,REF(X_114,1)+1);
X_117:=REF(CLOSE,1);
X_118:=IF(X_113 AND (X_115<x_116 and="" x_115<x_117="" or="" (x_115="">X_116 AND X_115>X_117)),1,0);
X_119:=SUM(X_118,250);
X_120:=X_119/SUM(X_113,250);
X_121:=FINANCE(34);
X_122:=FINANCE(20);
X_123:=FINANCE(21);
X_124:=(FINANCE(37)>=(-20))*FINANCE(37)+(FINANCE(37)<(-20))*(-20);
X_125:=(FINANCE(18)>0.01)*FINANCE(18)+(FINANCE(18)<0.01)*0.01;
X_126:=(FINANCE(32)>=(-2.5))*FINANCE(32)+(FINANCE(32)<(-2.5))*(-2.5);
X_127:=FINANCE(1);
X_128:=(FINANCE(19)>=0)*FINANCE(19)+(FINANCE(19)<0)*0.01;
X_129:=CLOSE;
X_130:=DYNAINFO(39);
X_131:=1/(X_126/CLOSE+1);
X_132:=0.2/(X_121/X_129+2)+1;
X_133:=3/(X_124+21)+1;
X_134:=X_129/X_125*0.01+1;
X_135:=1/(X_123/X_122+1);
X_136:=X_127/X_128+1;
X_137:=1/(X_130*X_131*X_132*X_133*X_134*X_135*X_136)*1000;
X_138:=X_130;
X_139:=X_123/X_122*100;
X_140:=CLOSE/X_121;
X_141:=X_127/X_128*100;
X_142:=FINANCE(8);
X_143:=FINANCE(34);
X_144:=FINANCE(25)/FINANCE(1);
X_145:=FINANCE(15)/FINANCE(1);
X_146:=FINANCE(31)/FINANCE(1);
X_147:=FINANCE(18);
X_148:=FINANCE(21)/FINANCE(20)*100;
X_149:=STRCAT(40,CON2STR(FINANCE(38),2));
X_150:=STRCAT(41,CON2STR(FINANCE(30)/FINANCE(19)*100,1));
X_151:=STRCAT(42,CON2STR(FINANCE(30)/100000000,1));
X_152:=STRCAT(43,CON2STR(FINANCE(43),1));
X_153:=FINANCE(30)/FINANCE(19)*100;
X_154:=STRCAT(STRCAT(44,CON2STR(TOTALCAPITAL/1000000,2)),45);
X_155:=STRCAT(STRCAT(46,CON2STR(CAPITAL/1000000,2)),45);
X_156:=STRCAT(47,CON2STR(CAPITAL/1000000/(TOTALCAPITAL/1000000),2));
X_157:=STRCAT(STRCAT(48,CON2STR(CAPITAL/1000000*CLOSE,2)),45);
X_158:=STRCAT(3,CON2STR(FINANCE(42),0));
X_159:=STRCAT(49,CON2STR(HHV((BARSCOUNT(CLOSE)=0)*(DATE+19000000),0),0));
X_160:=STRCAT(21,STRCAT(X_157,X_158));
X_161:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;
X_162:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;
X_163:=FINANCE(23)/FINANCE(10)*3.3;
X_164:=FINANCE(19)/FINANCE(15)*0.6;
X_165:=FINANCE(20)/FINANCE(15)*0.999;
X_166:=X_161+X_162+X_163+X_164+X_165;
X_167:=IF(X_166<1.2,50,IF(X_166>=1.2 AND X_166<2.6,51,52));
X_168:=STRCAT(53,STRCAT(X_167,STRCAT(54,CON2STR(X_166,3))));
X_169:=STRCAT(55,STRCAT(X_167,56));
X_170:=STRCAT(57,CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));
X_171:=STRCAT(58,CON2STR(FINANCE(25)/FINANCE(15),3));
X_172:=STRCAT(59,STRCAT(STRCAT(X_169,X_170),X_171));
X_173:=STRCAT(60,X_169);
X_174:=INBLOCK(61);
X_175:=INBLOCK(62);
X_176:=INBLOCK(63);
X_177:=INBLOCK(64);
X_178:=IF(X_175=1,"399005$HIGH",IF(X_174=1,"399006$HIGH",IF(X_176=1,"999999$HIGH","399001$HIGH")));
X_179:=IF(X_175=1,"399005$OPEN",IF(X_174=1,"399006$OPEN",IF(X_176=1,"999999$OPEN","399001$OPEN")));
X_180:=IF(X_175=1,"399005$LOW",IF(X_174=1,"399006$LOW",IF(X_176=1,"999999$LOW","399001$LOW")));
X_181:=IF(X_175=1,"399005$CLOSE",IF(X_174=1,"399006$CLOSE",IF(X_176=1,"999999$CLOSE","399001$CLOSE")));
X_182:=IF(X_175=1,65,IF(X_174=1,66,IF(X_176=1,67,68)));
X_183:=REF(X_181,1);
X_184:=IF(X_183>0,(X_181-X_183)*100/X_183,0);
X_185:=STRCAT(X_182,STRCAT(69,CON2STR(X_181,2)));
X_186:=STRCAT(70,CON2STR(X_184,2));
X_187:=HY_INDEXC;
X_188:=HY_INDEXO;
X_189:=HY_INDEXL;
X_190:=HY_INDEXH;
X_191:=VARCAT(71,VAR2STR(HY_INDEXADV,0));
X_192:=VARCAT(72,VAR2STR(HY_INDEXDEC,0));
X_193:=REF(X_187,1);
X_194:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_195:=IF(X_193>0,(X_187-X_193)*100/X_193,0);
X_196:=STRCAT(73,CON2STR(X_187,2));
X_197:=STRCAT(74,CON2STR(X_195,2));
DRAWTEXT_FIX(ISLASTBAR AND X_184<=X_195,0.68,1,0,75),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND X_184>X_195,0.68,1,0,76),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND X_194>=X_195,0.72,1,0,77),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND X_194<x_195,0.72,1,0,78),colorcyan;
X_198:=STRCAT(79,HYBLOCK);
X_199:=STRCAT(80,GNBLOCK);
X_200:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(X_157,DYBLOCK),X_198),X_199),X_151),X_152),81),X_173);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,X_200),COLORYELLOW;
X_201:=IF(CODELIKE(12) OR CODELIKE(33),1,0);
STICKLINE(X_29>0.049 AND X_29<0.095 AND OPEN STICKLINE(X_29>0.049 AND X_29<0.095 AND OPEN>CLOSE AND X_201=0,OPEN,CLOSE+ABS(OPEN-CLOSE)/2,2,0),COLORYELLOW;
STICKLINE(X_27 AND X_201=0,HIGH,LOW,0,1),COLORYELLOW;
STICKLINE(X_27 AND X_201=0,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(X_29<(-0.049) AND X_201=0 AND X_29>(-0.095) AND OPEN>CLOSE,OPEN,CLOSE+ABS(OPEN-CLOSE)/2,2,0),COLORGREEN;
STICKLINE(X_29<(-0.049) AND X_201=0 AND X_29>(-0.095) AND OPEN<close,open,close-abs(open-close) 2,2,0),colorgreen;<br=""> STICKLINE(X_30 AND X_201=0,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(X_30 AND X_201=0,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_29>0.1015 AND X_29<0.195 AND OPEN STICKLINE(X_29>0.1015 AND X_29<0.195 AND OPEN>CLOSE AND X_201=1,OPEN,CLOSE+ABS(OPEN-CLOSE)/2,2,0),COLORMAGENTA;
STICKLINE(X_29>=0.195 AND X_201=1,HIGH,LOW,0,1),COLORMAGENTA;
STICKLINE(X_29>=0.195 AND X_201=1,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(X_29<(-0.1015) AND X_201=1 AND X_29>(-0.195) AND OPEN>CLOSE,OPEN,CLOSE+ABS(OPEN-CLOSE)/2,2,0),COLORBLUE;
STICKLINE(X_29<(-0.1015) AND X_201=1 AND X_29>(-0.195) AND OPEN<close,open,close-abs(open-close) 2,2,0),colorblue;<br=""> STICKLINE(X_29<=(-0.195) AND X_201=1,HIGH,LOW,0,1),COLORBLUE;
STICKLINE(X_29<=(-0.195) AND X_201=1,OPEN,CLOSE,2,0),COLORBLUE;
STICKLINE(X_29>0.049 AND X_29<=0.099 AND OPEN STICKLINE(X_29>0.049 AND X_29<=0.099 AND OPEN>CLOSE AND X_201=1,OPEN,CLOSE+ABS(OPEN-CLOSE)/2,2,0),COLORYELLOW;
STICKLINE(X_29>0.099 AND X_29<=0.1015 AND X_201=1,HIGH,LOW,0,1),COLORYELLOW;
STICKLINE(X_29>0.099 AND X_29<=0.1015 AND X_201=1,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(X_29<(-0.49) AND X_201=1 AND X_29>=(-0.99) AND OPEN>CLOSE,OPEN,CLOSE+ABS(OPEN-CLOSE)/2,2,0),COLORGREEN;
STICKLINE(X_29<(-0.49) AND X_201=1 AND X_29>=(-0.99) AND OPEN<close,open,close-abs(open-close) 2,2,0),colorgreen;<br=""> STICKLINE(X_29<(-0.99) AND X_29>=(-0.1015) AND X_201=1,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(X_29<(-0.99) AND X_29>=(-0.1015) AND X_201=1,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(均价,均价,均价,4,0),COLORWHITE;

 

标签:FINANCE,许散,主图,HIGH,源码,LOW,CLOSE,BARSLAST,REF
From: https://www.cnblogs.com/zhibiao/p/17989193

相关文章

  • 通达信出击细选副图/选股预警指标源码
    出击信号是低位安全买点信号,细选比较激进,根据需要进行参考,指标源码,可以自行做选股公式。 X_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;X_2:=(20*X_1+19*REF(X_1,1)+18*REF(X_1,2)+17*REF(X_1,3)+16*REF(X_1,4)+15*REF(X_1,5)+14*REF(X_1,6)+13*REF(X_1,7)+12*REF(X_1,8)+11*REF(X_1,9)+10......
  • 通达信强势狙击副图/选股公式 寻强股利器指标源码
    结合五日乖离率和均线角度做的选股,分享给大家,强势股的指标信号一般都有高收益高风险的特征,所以大家还需要谨慎使用。 AA05:=MA(C,5),COLOR0099CC;五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA......
  • 通达信简单上下轨道指标公式源码副图
    VAR2:=MA(ADVANCE-DECLINE,3)/100;VAR3:=MA(CLOSE,5)*1.01;VAR4:=MA(OPEN,13)*1.01;VAR5:=(MA(HIGH,3)+MA(LOW,5)+MA(CLOSE,3)+MA(OPEN,3)+CLOSE+OPEN)/6+VAR2;VAR6:=IF(VAR4>VAR5,VAR4,VAR5);VAR7:=IF(VAR4<VAR5,VAR4,VAR5);VAR8:=3/100;下轨:MA(VAR7,5)*(1-VAR8......
  • 通达信点火星空指标公式源码副图
    2.5,COLORBLACK;X_1:=CLOSE/REF(CLOSE,1)>=1.0982ANDCLOSE/REF(CLOSE,1)<=1.102ORCLOSE/REF(CLOSE,1)>=1.1998;X_2:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100);X_3:=100*(HHV(HIGH,6......
  • SAP dialog 自定义搜索帮助 案例+源码
    同之前的blog一样,新建一个9000的屏幕,元素清单配好ok_code即可前置准备准备一个屏幕,具体步骤和之前一样,这边也按步骤做一下状态栏因为这个只是用于搜索帮助的演示,所以不需要应用应用程序工具栏,只需要设置功能键方便返回测试即可标题9000程序PROCESSBEFOREOUTPUT.......
  • 如何获取微信的版本号详解【附完整源码】
    前两天群里有人问到这个问题,我想着在网上找个教程发给他,没想到这玩意还挺新鲜?网上基本上找不到实质性的回答...关于这个问题,其实挺简单的,微信的版本号其实就写在注册表中,读取它就完事了~打开注册列表找到【计算机\HKEY_CURRENT_USER\Software\Tencent\WeChat】,就看的到版本号......
  • Spring源码导入IDEA记录
    一、首先Spring源码是gradle搭建,gradle会和jdk版本、IDEA产生兼容问题参考【学不完@根本学不完】的文章:SpringBoot版本与Spring、java、maven、gradle版本对应汇总=>由于本地JDK是1.8对应Java8,按照尽可能看新版本查找=>对应表格里面gradle7.x二、gradle安装步骤gradle历......
  • 【C语言进阶篇】模拟实现通讯录 (内附源码)
    (文章目录)......
  • 通达信涨停柱副图指标,红涨停,兰跌停源码
    C2:=REF(C,1);涨停:=IF((C-C2)100/C2>=(10-0.01100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLOR0000FF;STICKLINE(涨停,H,L,0,0),COLOR0000FF;跌停:=IF((C2-C)100/C2>=(10-0.01100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;STICKLINE(跌停,H,L,0,1),COLORGR......
  • 通达信金牌MACD副图提示顶底源码
    XA:=DATE<=20240115;DIF:(EMA(C,12)XA-EMA(C,26))XA,COLORF0F0F0;DEA:EMA(DIF,9)XA,COLOR00DCDC;MACD:2(DIF-DEA)XA,COLORSTICK;STICKLINE(MACD>REF(MACD,1)ANDMACD>=0,MACD,0,10/3,0),COLORRED;STICKLINE(MACD>REF(MACD,1)ANDMACD<0,MACD,0,10/3,1),......