您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

横盘突破公式、源码副图指标公式[大智慧公式]

相关标签:

 

{横盘突破}INPUT: 叠加线数(4,1,4);VAR12:=叠加线数;{VAR0:=930 + 10000;VAR1:=12 * 56 * 70/3/100 * 9 + 1088529.25 - 3/4 * 2 + 11291.099609 - 1230 + VAR0;}VAR2:=1;VAR3:="LTFUNC4@FORLT2" * VAR2;VAR4:="LTFUNC4@LT_S1" * VAR2;VAR5:="LTFUNC4@LT_HS" * VAR2;VAR6:="LTFUNC4@LT_LS" * VAR2;VAR8:="LTFUNC4@LT_UPP";VAR9:="LTFUNC4@LT_UDD";VAR10:=EMA(ABS("DDX.DDX"),60);VAR11:=MAX("DDX.DDX"/VAR10 + 7.5,7.5);能量级别:MIN("DDX.DDX"/VAR10,10),LINETHICK0;VAR13:=IF(HOUR >= 10 AND HOUR < 15,1,0);VAR14:=IF(BETWEEN(CLOSE/(SUM(AMOUNT,0)/SUM(VOL * 100,0)),1.05,0.95)=0,MA(CLOSE,0),SUM(AMOUNT,0)/SUM(VOL * 100,0));均线H:VAR14 * 1.007,LINETHICK0,LAYER0,COLORFF6600;均线L:VAR14/1.005,LINETHICK0,COLORGREEN;CC:CLOSE,LINETHICK2,COLORWHITE;VAR15:=CLOSE < VAR14 * 1.007 AND CLOSE > VAR14/1.005;VAR16:=SUM(VOL,0) * 240/DYNAINFO(38)/BARSCOUNT(CLOSE);VAR17:=SUM(VAR16,5);VAR18:=SUM(VAR16,10);VAR19:=VAR18 - VAR17;VAR20:=SUM(VOL,6) > REF(MA(VOL,30),1) * 10;PARTLINE(CLOSE,CLOSE >= REF(CLOSE,1),RGB(255,151,255),CLOSE < REF(CLOSE,1),RGB(0,255,255)),LINETHICK2,LAYER0;VAR21:=(HHV(CLOSE,BARSCOUNT(CLOSE)) - LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE < 1;VAR22:=VAR21 AND VAR20 AND CLOSE > VAR14 * 1.007;VAR23:=VAR21 AND VAR20 AND CROSS(VAR14/1.005,CLOSE);VAR24:=FILTER(VAR22,100) * VAR2;VAR25:=FILTER(VAR23,50);DRAWTEXT(VAR24,VAR14 * 1.007,'突破'),COLORMAGENTA;VAR26:=EMA(CLOSE,30);强弱界定:EMA(CLOSE,900);STICKLINE(VAR26 > EMA(CLOSE,900),VAR26,EMA(CLOSE,900),1,0),COLORRED;STICKLINE(VAR26 < EMA(CLOSE,900),VAR26,EMA(CLOSE,900),1,0),COLORGREEN;DRAWICON(CROSS(VAR26,EMA(CLOSE,900)),HIGH,7);VAR27:=MAX(DYNAINFO(3),DYNAINFO(5));VAR28:=MIN(DYNAINFO(3),DYNAINFO(6));VAR29:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');VAR30:="SH000001$CLOSE"/HHV(STKINDI('SH000001','分超引用.昨收#DAY'),0);VAR31:="SZ399001$CLOSE"/HHV(STKINDI('SZ399001','分超引用.昨收#DAY'),0);VAR32:=IF(INBLOCK('A股板块'),DYNAINFO(3) * IF(VAR29=0,VAR31,VAR30),CLOSE);VAR33:="991002$CLOSE"/HHV(STKINDI('991002','分超引用.昨收#DAY'),0);VAR34:="991003$CLOSE"/HHV(STKINDI('991003','分超引用.昨收#DAY'),0);VAR35:="991004$CLOSE"/HHV(STKINDI('991004','分超引用.昨收#DAY'),0);VAR36:="991006$CLOSE"/HHV(STKINDI('991006','分超引用.昨收#DAY'),0);VAR37:="991007$CLOSE"/HHV(STKINDI('991007','分超引用.昨收#DAY'),0);VAR38:="991008$CLOSE"/HHV(STKINDI('991008','分超引用.昨收#DAY'),0);VAR39:="991009$CLOSE"/HHV(STKINDI('991009','分超引用.昨收#DAY'),0);VAR40:="991010$CLOSE"/HHV(STKINDI('991010','分超引用.昨收#DAY'),0);VAR41:="991011$CLOSE"/HHV(STKINDI('991011','分超引用.昨收#DAY'),0);VAR42:="991014$CLOSE"/HHV(STKINDI('991014','分超引用.昨收#DAY'),0);VAR43:="991016$CLOSE"/HHV(STKINDI('991016','分超引用.昨收#DAY'),0);VAR44:="991017$CLOSE"/HHV(STKINDI('991017','分超引用.昨收#DAY'),0);VAR45:="991018$CLOSE"/HHV(STKINDI('991018','分超引用.昨收#DAY'),0);VAR46:="991019$CLOSE"/HHV(STKINDI('991019','分超引用.昨收#DAY'),0);VAR47:="991020$CLOSE"/HHV(STKINDI('991020','分超引用.昨收#DAY'),0);VAR48:="991021$CLOSE"/HHV(STKINDI('991021','分超引用.昨收#DAY'),0);VAR49:="991023$CLOSE"/HHV(STKINDI('991023','分超引用.昨收#DAY'),0);VAR50:="991024$CLOSE"/HHV(STKINDI('991024','分超引用.昨收#DAY'),0);VAR51:="991025$CLOSE"/HHV(STKINDI('991025','分超引用.昨收#DAY'),0);VAR52:="991026$CLOSE"/HHV(STKINDI('991026','分超引用.昨收#DAY'),0);VAR53:="991027$CLOSE"/HHV(STKINDI('991027','分超引用.昨收#DAY'),0);VAR54:="991028$CLOSE"/HHV(STKINDI('991028','分超引用.昨收#DAY'),0);VAR55:="991031$CLOSE"/HHV(STKINDI('991031','分超引用.昨收#DAY'),0);VAR56:="991032$CLOSE"/HHV(STKINDI('991032','分超引用.昨收#DAY'),0);VAR57:="991033$CLOSE"/HHV(STKINDI('991033','分超引用.昨收#DAY'),0);VAR58:="991034$CLOSE"/HHV(STKINDI('991034','分超引用.昨收#DAY'),0);VAR59:="991035$CLOSE"/HHV(STKINDI('991035','分超引用.昨收#DAY'),0);VAR60:="991036$CLOSE"/HHV(STKINDI('991036','分超引用.昨收#DAY'),0);VAR61:="991037$CLOSE"/HHV(STKINDI('991037','分超引用.昨收#DAY'),0);VAR62:="991135$CLOSE"/HHV(STKINDI('991135','分超引用.昨收#DAY'),0);VAR63:="991136$CLOSE"/HHV(STKINDI('991136','分超引用.昨收#DAY'),0);VAR64:="991255$CLOSE"/HHV(STKINDI('991255','分超引用.昨收#DAY'),0);VAR65:=FINANCE2(37)/1000000 * 100;VAR66:=FINANCE2(3);VAR67:=DYNAINFO(39);VAR68:=FINANCE2(4);VAR69:=FINANCE2(12);VAR70:=FINANCE2(11);VAR71:=FINANCE2(10);VAR72:="993091$CLOSE"/HHV(STKINDI('993091','分超引用.昨收#DAY'),0);VAR73:="993450$CLOSE"/HHV(STKINDI('993450','分超引用.昨收#DAY'),0);VAR74:="993596$CLOSE"/HHV(STKINDI('993596','分超引用.昨收#DAY'),0);VAR75:="993598$CLOSE"/HHV(STKINDI('993598','分超引用.昨收#DAY'),0);VAR76:="993599$CLOSE"/HHV(STKINDI('993599','分超引用.昨收#DAY'),0);VAR77:="993602$CLOSE"/HHV(STKINDI('993602','分超引用.昨收#DAY'),0);VAR78:="993603$CLOSE"/HHV(STKINDI('993603','分超引用.昨收#DAY'),0);VAR79:="993604$CLOSE"/HHV(STKINDI('993604','分超引用.昨收#DAY'),0);VAR80:="993606$CLOSE"/HHV(STKINDI('993606','分超引用.昨收#DAY'),0);VAR81:="993607$CLOSE"/HHV(STKINDI('993607','分超引用.昨收#DAY'),0);VAR82:="993608$CLOSE"/HHV(STKINDI('993608','分超引用.昨收#DAY'),0);VAR83:="993609$CLOSE"/HHV(STKINDI('993609','分超引用.昨收#DAY'),0);VAR84:="993610$CLOSE"/HHV(STKINDI('993610','分超引用.昨收#DAY'),0);VAR85:="993611$CLOSE"/HHV(STKINDI('993611','分超引用.昨收#DAY'),0);VAR86:="993612$CLOSE"/HHV(STKINDI('993612','分超引用.昨收#DAY'),0);VAR87:="993613$CLOSE"/HHV(STKINDI('993613','分超引用.昨收#DAY'),0);VAR88:="993614$CLOSE"/HHV(STKINDI('993614','分超引用.昨收#DAY'),0);VAR89:="993616$CLOSE"/HHV(STKINDI('993616','分超引用.昨收#DAY'),0);VAR90:="993617$CLOSE"/HHV(STKINDI('993617','分超引用.昨收#DAY'),0);VAR91:="993618$CLOSE"/HHV(STKINDI('993618','分超引用.昨收#DAY'),0);VAR92:="993619$CLOSE"/HHV(STKINDI('993619','分超引用.昨收#DAY'),0);VAR93:="993620$CLOSE"/HHV(STKINDI('993620','分超引用.昨收#DAY'),0);VAR94:="993621$CLOSE"/HHV(STKINDI('993621','分超引用.昨收#DAY'),0);VAR95:="993622$CLOSE"/HHV(STKINDI('993622','分超引用.昨收#DAY'),0);VAR96:="993623$CLOSE"/HHV(STKINDI('993623','分超引用.昨收#DAY'),0);VAR97:=IF(INBLOCK('新上海'),DYNAINFO(3) * VAR72,IF(INBLOCK('成渝特区'),DYNAINFO(3) * VAR73,IF(INBLOCK('海峡西岸'),DYNAINFO(3) * VAR74,IF(INBLOCK('图们江'),DYNAINFO(3) * VAR75,IF(INBLOCK('滨海新区'),DYNAINFO(3) * VAR76,IF(INBLOCK('深圳本地'),DYNAINFO(3) * VAR77,IF(INBLOCK('黄河三角'),DYNAINFO(3) * VAR78,IF(INBLOCK('横琴新区'),DYNAINFO(3) * VAR79,IF(INBLOCK('珠江三角'),DYNAINFO(3) * VAR80,IF(INBLOCK('江苏沿海'),DYNAINFO(3) * VAR81,IF(INBLOCK('辽宁沿海'),DYNAINFO(3) * VAR82,IF(INBLOCK('关中天水'),DYNAINFO(3) * VAR83,IF(INBLOCK('新疆振兴'),DYNAINFO(3) * VAR84,IF(INBLOCK('西藏'),DYNAINFO(3) * VAR85,IF(INBLOCK('皖江区域'),DYNAINFO(3) * VAR86,IF(INBLOCK('鄱阳湖'),DYNAINFO(3) * VAR87,IF(INBLOCK('长株潭'),DYNAINFO(3) * VAR88,IF(INBLOCK('武汉规划'),DYNAINFO(3) * VAR89,IF(INBLOCK('海南开发'),DYNAINFO(3) * VAR90,IF(INBLOCK('青海'),DYNAINFO(3) * VAR91,IF(INBLOCK('云南'),DYNAINFO(3) * VAR92,IF(INBLOCK('陕甘宁'),DYNAINFO(3) * VAR94,IF(INBLOCK('长江三角'),DYNAINFO(3) * VAR95,IF(INBLOCK('西部开发'),DYNAINFO(3) * VAR96,CLOSE))))))))))))))))))))))));VAR98:=IF(VAR12 > 2,VAR97,CLOSE);VAR99:="993120$CLOSE"/HHV(STKINDI('993120','分超引用.昨收#DAY'),0);VAR100:="993128$CLOSE"/HHV(STKINDI('993128','分超引用.昨收#DAY'),0);VAR101:="993129$CLOSE"/HHV(STKINDI('993129','分超引用.昨收#DAY'),0);VAR102:="993305$CLOSE"/HHV(STKINDI('993305','分超引用.昨收#DAY'),0);VAR103:="993580$CLOSE"/HHV(STKINDI('993580','分超引用.昨收#DAY'),0);VAR104:="993585$CLOSE"/HHV(STKINDI('993585','分超引用.昨收#DAY'),0);VAR105:="993586$CLOSE"/HHV(STKINDI('993586','分超引用.昨收#DAY'),0);VAR106:="993597$CLOSE"/HHV(STKINDI('993597','分超引用.昨收#DAY'),0);VAR107:="993601$CLOSE"/HHV(STKINDI('993601','分超引用.昨收#DAY'),0);VAR108:="993645$CLOSE"/HHV(STKINDI('993645','分超引用.昨收#DAY'),0);VAR109:="993646$CLOSE"/HHV(STKINDI('993646','分超引用.昨收#DAY'),0);VAR110:="993647$CLOSE"/HHV(STKINDI('993647','分超引用.昨收#DAY'),0);VAR111:="993665$CLOSE"/HHV(STKINDI('993665','分超引用.昨收#DAY'),0);VAR112:="993685$CLOSE"/HHV(STKINDI('993685','分超引用.昨收#DAY'),0);VAR113:="993686$CLOSE"/HHV(STKINDI('993686','分超引用.昨收#DAY'),0);VAR114:="993695$CLOSE"/HHV(STKINDI('993695','分超引用.昨收#DAY'),0);VAR115:="993710$CLOSE"/HHV(STKINDI('993710','分超引用.昨收#DAY'),0);VAR116:="993732$CLOSE"/HHV(STKINDI('993732','分超引用.昨收#DAY'),0);VAR117:="993745$CLOSE"/HHV(STKINDI('993745','分超引用.昨收#DAY'),0);VAR118:="993798$CLOSE"/HHV(STKINDI('993798','分超引用.昨收#DAY'),0);VAR119:="993801$CLOSE"/HHV(STKINDI('993801','分超引用.昨收#DAY'),0);VAR120:="994005$CLOSE"/HHV(STKINDI('994005','分超引用.昨收#DAY'),0);VAR121:="993669$CLOSE"/HHV(STKINDI('993669','分超引用.昨收#DAY'),0);VAR122:="993731$CLOSE"/HHV(STKINDI('993731','分超引用.昨收#DAY'),0);VAR123:="993751$CLOSE"/HHV(STKINDI('993751','分超引用.昨收#DAY'),0);VAR133:=DYNAINFO(23)/DYNAINFO(22);VAR134:=DYNAINFO(17);VAR135:=EMA(EMA(CLOSE,13),13);VAR136:=(VAR135 - REF(VAR135,1))/REF(VAR135,1) * 1000;VAR137:=VAR136 < 0;VAR138:=VAR136 > REF(VAR136,1) AND VAR136 > 0;VAR139:=100 * WINNER(CLOSE * 0.95);VAR140:=VAR136 < REF(VAR136,1) AND VAR136 > 0;VAR141:=VAR139 > 50 AND COST(85) < CLOSE AND VAR136 > 0;VAR142:=CROSS(VAR136,0);VAR143:=FILTER(IF(VAR142,1,0),5);VAR144:=DYNAINFO(11);VAR145:=55;VAR146:=8;VAR147:=3;VAR148:=(EMA(CLOSE,VAR146) - EMA(CLOSE,VAR145)) * 10;VAR149:=EMA(VAR148,VAR147);VAR150:=(CLOSE - VAR144)/VAR144 < -0.005;VAR151:=(CLOSE - VAR144)/VAR144 < -0.03;VAR152:=REF(LAST(VAR144 >= REF(VAR144,1)),1) >= 4 AND (CLOSE - VAR144)/VAR144 < 0.005;VAR153:=(CLOSE - VAR144)/VAR144 > 0.005;VAR154:=VAR136 < REF(VAR136,1) AND VAR136 > 0.5;VAR155:=VAR136 > REF(VAR136,1) AND VAR136 < -0.2;VAR156:=VAR136 > REF(VAR136,1) AND VAR137;VAR157:=CROSS(VAR148,VAR149) AND VAR148 < -0.3;VAR158:=CROSS(VAR148,VAR149) AND VAR148 < -0.1;VAR159:=CROSS(VAR149,VAR148);VAR160:=VAR159 AND VAR148 > 1.618;VAR161:=FILTER(VAR150 AND VAR155 AND VAR157,13);VAR162:=FILTER(VAR151 AND VAR155 AND VAR157,13);VAR163:=FILTER(VAR152 AND VAR156 AND VAR158,13);VAR164:=VAR162 * VAR2;VAR165:=HHVBARS(CLOSE,60);VAR7:="LTFUNC4@LT_P1" * VAR2;VAR7:=VAR27 - VAR28;阻力:VAR28 + VAR7 * 7/8,DOTLINE,COLOR00DD00;支撑:VAR28 + VAR7 * 0.5/8,DOTLINE,COLOR00DD00;VERTLINE(VAR24,3),LINETHICK2,COLORMAGENTA;JX:IF(BETWEEN(CLOSE/(SUM(AMOUNT,0)/SUM(VOL * 100,0)),1.05,0.95)=0,MA(CLOSE,0),SUM(AMOUNT,0)/SUM(VOL * 100,0)),COLORYELLOW;POLYLINE(CLOSE > 0,VAR32),LAYER0,COLOR3399FF;DRAWTEXT(BARSTATUS=2,VAR32,'大盘'),COLOR3399FF;DRAWTEXTABS(10,200,'■所属板块:' + BKNAME),COLORYELLOW;DRAWTEXTABS(280,220,'流通盘大小:' + NUMTOSTRN(VAR65,2) + '亿'),COLORYELLOW;DRAWTEXTABS(170,220,'每股收益:' + NUMTOSTRN(VAR66,2) + '元'),COLORGREEN;DRAWTEXTABS(170,240,'每股市盈率:' + NUMTOSTRN(VAR67,1) + '倍'),COLORRED;DRAWTEXTABS(170,260,'每股净资产:' + NUMTOSTRN(VAR68,2) + '元'),COLORRED;DRAWTEXTABS(20,220,'销售毛利率:' + NUMTOSTRN(VAR69,2) + '%'),COLORGREEN;DRAWTEXTABS(20,240,'主营收入同比增长:' + NUMTOSTRN(VAR70,2) + '%'),COLORGREEN;DRAWTEXTABS(20,260,'净利润同比增长:' + NUMTOSTRN(VAR71,2) + '%'),COLORGREEN;板块指数:IF(INBLOCK('工程建筑'),"991002$CLOSE",IF(INBLOCK('电力'),"991003$CLOSE",IF(INBLOCK('计算机'),"991004$CLOSE",IF(INBLOCK('电子信息'),"991006$CLOSE",IF(INBLOCK('房地产'),"991007$CLOSE",IF(INBLOCK('纺织服装'),"991008$CLOSE",IF(INBLOCK('钢铁'),"991009$CLOSE",IF(INBLOCK('供水供气'),"991010$CLOSE",IF(INBLOCK('化工化纤'),"991011$CLOSE",IF(INBLOCK('电器'),"991014$CLOSE",IF(INBLOCK('交通设施'),"991016$CLOSE",IF(INBLOCK('银行类'),"991017$CLOSE",IF(INBLOCK('旅游酒店'),"991018$CLOSE",IF(INBLOCK('煤炭石油'),"991019$CLOSE",IF(INBLOCK('酿酒食品'),"991020$CLOSE",IF(INBLOCK('农林牧渔'),"991021$CLOSE",IF(INBLOCK('商业连锁'),"991023$CLOSE",IF(INBLOCK('建材'),"991024$CLOSE",IF(INBLOCK('其他行业'),"991025$CLOSE",IF(INBLOCK('交通工具'),"991026$CLOSE",IF(INBLOCK('机械'),"991027$CLOSE",IF(INBLOCK('医药'),"991028$CLOSE",IF(INBLOCK('外贸'),"991031$CLOSE",IF(INBLOCK('教育传媒'),"991032$CLOSE",IF(INBLOCK('仪电仪表'),"991033$CLOSE",IF(INBLOCK('有色金属'),"991034$CLOSE",IF(INBLOCK('造纸印刷'),"991035$CLOSE",IF(INBLOCK('券商'),"991036$CLOSE",IF(INBLOCK('电力设备'),"991037$CLOSE",IF(INBLOCK('通信'),"991135$CLOSE",IF(INBLOCK('运输物流'),"991136$CLOSE",IF(INBLOCK('海峡西岸'),"993596$CLOSE",IF(INBLOCK('保险'),"991255$CLOSE",0))))))))))))))))))))))))))))))))),LINETHICK0,PRECIS0,COLORGREEN;POLYLINE(CLOSE > 0,VAR98),LINETHICK2,COLOR77AA77;DRAWTEXT(BARSTATUS=2,VAR98,'地域'),COLOR77AA77;VAR124:="993075$CLOSE"/HHV(STKINDI('993075','分超引用.昨收#DAY'),0);VAR125:="993139$CLOSE"/HHV(STKINDI('993139','分超引用.昨收#DAY'),0);VAR126:="993140$CLOSE"/HHV(STKINDI('993140','分超引用.昨收#DAY'),0);VAR127:="993141$CLOSE"/HHV(STKINDI('993141','分超引用.昨收#DAY'),0);VAR128:="993142$CLOSE"/HHV(STKINDI('993142','分超引用.昨收#DAY'),0);VAR129:="993143$CLOSE"/HHV(STKINDI('993143','分超引用.昨收#DAY'),0);VAR130:="993144$CLOSE"/HHV(STKINDI('993144','分超引用.昨收#DAY'),0);VAR124:="993075$CLOSE"/HHV(STKINDI('993075','分超引用.昨收#DAY'),0);VAR125:="993139$CLOSE"/HHV(STKINDI('993139','分超引用.昨收#DAY'),0);VAR126:="993140$CLOSE"/HHV(STKINDI('993140','分超引用.昨收#DAY'),0);VAR127:="993141$CLOSE"/HHV(STKINDI('993141','分超引用.昨收#DAY'),0);VAR128:="993142$CLOSE"/HHV(STKINDI('993142','分超引用.昨收#DAY'),0);VAR129:="993143$CLOSE"/HHV(STKINDI('993143','分超引用.昨收#DAY'),0);VAR130:="993144$CLOSE"/HHV(STKINDI('993144','分超引用.昨收#DAY'),0);VAR131:=IF(INBLOCK('新材料'),DYNAINFO(3) * VAR99,IF(INBLOCK('农业龙头'),DYNAINFO(3) * VAR100,IF(INBLOCK('数字电视'),DYNAINFO(3) * VAR101,IF(INBLOCK('网络游戏'),DYNAINFO(3) * VAR102,IF(INBLOCK('CDM项目'),DYNAINFO(3) * VAR103,IF(INBLOCK('新能源'),DYNAINFO(3) * VAR104,IF(INBLOCK('铁路基建'),DYNAINFO(3) * VAR105,IF(INBLOCK('智能电网'),DYNAINFO(3) * VAR106,IF(INBLOCK('IGCC'),DYNAINFO(3) * VAR107,IF(INBLOCK('节能环保'),DYNAINFO(3) * VAR108,IF(INBLOCK('物联网'),DYNAINFO(3) * VAR109,IF(INBLOCK('电力设备'),DYNAINFO(3) * VAR110,IF(INBLOCK('航天军工'),DYNAINFO(3) * VAR111,IF(INBLOCK('3G'),DYNAINFO(3) * VAR112,IF(INBLOCK('期货'),DYNAINFO(3) * VAR113,IF(INBLOCK('创投'),DYNAINFO(3) * VAR114,IF(INBLOCK('低碳经济'),DYNAINFO(3) * VAR115,IF(INBLOCK('稀土永磁'),DYNAINFO(3) * VAR116,IF(INBLOCK('稀缺资源'),DYNAINFO(3) * VAR117,IF(INBLOCK('煤化工'),DYNAINFO(3) * VAR118,IF(INBLOCK('黄金股'),DYNAINFO(3) * VAR123,IF(INBLOCK('破发破净'),DYNAINFO(3) * VAR121,IF(INBLOCK('分拆上市'),DYNAINFO(3) * VAR122,IF(INBLOCK('S板'),DYNAINFO(3) * VAR120,IF(INBLOCK('次新股'),DYNAINFO(3) * VAR124,IF(INBLOCK('大盘'),DYNAINFO(3) * VAR125,IF(INBLOCK('中盘'),DYNAINFO(3) * VAR126,IF(INBLOCK('小盘'),DYNAINFO(3) * VAR127,IF(INBLOCK('高价'),DYNAINFO(3) * VAR128,IF(INBLOCK('中价'),DYNAINFO(3) * VAR129,IF(INBLOCK('低价'),DYNAINFO(3) * VAR130,CLOSE)))))))))))))))))))))))))))))));VAR132:=IF(VAR12 > 3,VAR131,CLOSE);POLYLINE(CLOSE > 0,VAR132),COLORFF6699;DRAWTEXT(BARSTATUS=2,VAR132,'概念'),COLORFF6699;DRAWTEXTREL(400,600,IFS(VAR133 >= 1,'能量:' + NUMTOSTRN(VAR133,2) + ' 量比: ' + NUMTOSTRN(VAR134,2),'')),LINETHICK4,COLORWHITE;DRAWTEXTREL(400,600,IFS(VAR133 < 1,'能量:' + NUMTOSTRN(VAR133,2) + ' 量比: ' + NUMTOSTRN(VAR134,2),'')),LINETHICK4,COLORWHITE;DRAWTEXT(VAR162,CLOSE,'有庄'),LINETHICK5,COLORMAGENTA;突破1:FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10),LINETHICK0,POINTDOT;STICKLINE(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10),CLOSE * 0.99,CLOSE,5,0),COLORF600A9;DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10) > 0,0)=1 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10),CLOSE * 0.99,'最佳买点'),COLORWHITE;DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10) > 0,0)=2 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10),CLOSE * 0.99,'次佳买点'),COLORWHITE;DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10) > 0,0)=3 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10),CLOSE * 0.99,'理想买点'),COLORWHITE;DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10) > 0,0)=4 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10),CLOSE * 0.99,'及格买点'),COLORWHITE;DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10) > 0,0) >= 5 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 >= 5,1),10),CLOSE * 0.99,'突破'),COLORWHITE;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');


 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容