分时主图指标
通达信指标公式源码 捉强势分时主图指标
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);涨幅0:=C/DYNAINFO(3);限制0:=涨幅0>1.01 AND 涨幅0<=1.06;虎:=DYNAINFO(11)+(DYNAINFO(11)*0.02);Q:=(REF(C,1)-REF(C,2))/REF(C,2)*100;狂猎:=DYNAINFO(6)>(DYNAINFO(3)-0.1) AND Q <6 ANDDYNAINFO(11)>DYNAINFO(3) AND IF(DYNAINFO(7)>虎,1,0) AND DYNAINFO(7)/DYNAINFO(11)<1.03;狂猎过滤:=FILTER(狂猎,60) AND 限制0 ;DRAWTEXT(狂猎过滤,C*0.998,'狂猎'),COLORMAGENTA,;DRAWICON(狂猎过滤,L*0.997,4);{一分钟捉涨停}V1:=v/ma(ref(v,1),5);V2:=indexv/ma(ref(indexv,1),5);lt:=(capital/100)/10000<=10;v0:=v1/v2;ZF:=O/DYNAINFO(3);角05:=atan((EMA(C,7)/ref(EMA(C,7),1)-1)*100)*57.3;角13:=atan((EMA(C,13)/ref(EMA(C,13),1)-1)*100)*57.3;角34:=atan((EMA(C,34)/ref(EMA(C,34),1)-1)*100)*57.3;一分钟捉涨停:=lt and 角05>40 and 角13>17 and 角34>7 and v0>4 and ZF>1 and ZF<1.06;DRAWTEXT(一分钟捉涨停,C*0.996,'一分捉涨停'),COLORMAGENTA,;{捉强势}涨幅:=C/DYNAINFO(3);单笔换手:=V/CAPITAL*100;XX:=BARSSINCE(V>0)+1;均价线:=SUM(C*V,XX)/SUM(V,XX);限制:=涨幅>1.01 AND 涨幅<1.05;捉强势:=单笔换手>0.08 AND CROSS(C,均价线) AND 限制;捉强势过滤:=FILTER(捉强势,30);DRAWTEXT(捉强势过滤,C*0.998,'捉强势'),COLORMAGENTA,; {突破前高}涨幅1:=C/DYNAINFO(3);限制1:=涨幅1>1.01 AND 涨幅1<=1.06;QG:=REF(HHV(H,30),3);FL:=EXIST(V>REF(V,1)*1.8,2) AND V>=REF(V,1);XX:=BARSSINCE(V>0)+1;均价线:=SUM(C*V,XX)/SUM(V,XX);突破前高:=CROSS(C,QG) AND FL AND 限制1 AND C>均价线; DRAWTEXT(突破前高,C*0.996,'过前高'),COLORMAGENTA,;。
通达信经典分时主图 源码指标公式
DRAWGBK(O>=0,RGB(60,35,0),RGB(0,60,60),0,'背景图',0),LINETHICK2;{========================额外==========================} Z1:=STRCAT(DYBLOCK,' ');Z2:=STRCAT(Z1,HYBLOCK);Z3:=STRCAT(Z2,' ');Z4:=STRCAT(Z3,GNBLOCK);Z5:=STRCAT(Z4,' ');Z6:=STRCAT(Z5,FGBLOCK);DRAWTEXT_FIX(ISLASTBAR,0.01,0.012,0,STRCAT(Z6,ZHBLOCK)),COLORCYAN;DRAWTEXT_FIX(ISLASTBAR,0,0.14,0,STRCAT('概念: ',GNBLOCK)),COLORWHITE;A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);突破:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-突破)/突破*100;多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL); STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;最新:CLOSE,LINETHICK1,COLORWHITE;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' 涨▲',CON2STR(最新,2))),COLORMAGENTA;DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT(' 跌▼',CON2STR(最新,2))),COLOR00FF00;DRAWTEXT_FIX(1,0.880,1-0.97,0,DYBLOCK),COLORWHITE;DRAWTEXT_FIX(1,0.940,1-0.97,0,HYBLOCK),COLORYELLOW;均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;FSZX:=(EMA(DXJP,3)-50)*2,COLORGRAY;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)) )/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU))) ));DRAWICON(FSZX<=-95,C,38);DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),C,'板'),COLORCYAN; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),C,'追'),COLORYELLOW;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=L1+P1*7/8,COLORGREEN;支撑:=L1+P1*0.5/8,COLORMAGENTA;DRAWICON(LONGCROSS(支撑,C,2),C,5);AYGB1:=(DVOL/C)/2,NODRAW;AYGB2:=SUM(IF(AYGB1>100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB3:=SUM(IF(AYGB1>100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB4:=SUM(IF(AYGB1<100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB5:=SUM(IF(AYGB1<100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB6:=AYGB2+AYGB3+AYGB4+AYGB5;机买:=(AYGB2/AYGB6)*100-100,LINETHICK1,COLORRED;机卖:=(AYGB3/AYGB6)*100-100,LINETHICK1,COLORGREEN;主力差:=机买-机卖;LQH:=主力差>0 AND REF(主力差,1)<=0;DRAWICON(LQH,C,25);JJXX:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM( AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;JJXXH:=(JJXX*1.007 ),COLORFF6600;FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;HHPP:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)< 1;HHZZ:=HHPP AND FFLL AND (C>JJXXH);TTPP2:=FILTER(HHZZ,100);DRAWICON(TTPP2,C,26);ZS:=DYNAINFO(3);KP:=DYNAINFO(4);ZX:=DYNAINFO(7);ZG:=DYNAINFO(5);ZD:=DYNAINFO(6);分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW;RC:=DYNAINFO( 3);量比超2.5:=IF(DYNAINFO(17)>2.5,RC-0.15,DRAWNULL),COLORFF9933;量比超5:=IF(DYNAINFO(17)>5,RC-0.15,DRAWNULL),COLORBA75FF;DRAWBAND(量比超2.5,RGB(51,153,255),量比超2.5+0.015,RGB(51,153,255)); DRAWBAND(量比超5,RGB(255,118,188),量比超5+0.015,RGB(255,118,188));{首次起爆}TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:SUM(C*V,TT)/SUM(V,TT),LINETHICK1,COLOR00FFE1;{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*2 ;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=C/DYNAINFO(3)<=1.02;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;{计算收益、已爆分钟}VC:=BARSSINCE(每日一点)+1;首次起爆价:REF(C,VC-1),NODRAW;今天收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;起爆时间:REF(TIME/10000,VC),NODRAW;已爆分钟:VC-1,NODRAW;首次起爆量:=REF(VOL,VC-1);DRAWICON(已爆分钟>=2,RC-0.1,11);{出现金手指,至少已经确认2分钟了};R1:=MA(C,13);R2:=SMA(R1,5,2);DRAWBAND(R1,RGB(255,0,125),R2,RGB(0,111,255));C,LINETHICK2,COLORDDDDDD;{涨停}地:=DYNAINFO(11)+(DYNAINFO(11)*0.021);涨停:IF(DYNAINFO(7)>地,1,0),NODRAW,COLOR0088FF;涨:=IF(涨停=1,C+0.0075,DRAWNULL),COLOR8000FF,LINETHICK2;DRAWBAND(涨,RGB(255,211,0),C-0.0075,RGB(255,125,0));时间:=TIME=100000;N:=BARSLAST(时间);常数:=CONST(IF(N=0,C,REF(C,N))),COLORGREEN,DOTLINE;CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N)));CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N)));STICKLINE(时间=1,CS1,CS2,1.2,0),COLOR008888;{涨停2}AAZ:=BARSLAST(TIME=103000);CC:=REF(HHV(C,0),AAZ+1);VV:=REF(HHV(V,0),AAZ+1);ZF:=CC/DYNAINFO(3)<1.05;涨停2:=CROSS(C,CC) AND V>VV AND ZF,COLOR0000FF; DRAWICON(涨停2,RC-0.06,13);A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03; DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW;均价5:AMOUNT/VOL/100,NODRAW;假阴0:=O>C AND 均价5>REF(C,1);DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8; STICKLINE(假阴0,O,C,1,0),COLORRED;时间N:=TIME=100000;NN:=BARSLAST(时间N),COLOR808080;常数N:CONST(IF(NN=0,C,REF(C,N))),COLOR004848,DOTLINE;。
通达信“买卖提示”分时主图指标公式
通达信“买卖提示”分时主图指标公式炒股的人都知道,大家都存在一个缺点,就是不团结,每个人都有自己的操作思路,但又不坚持自己的思路,容易见风使舵,更可气的是将自己的命运交到别人手中,别人说什么就是什么,没有一点自己的主观意思。
不过散户也存在一个优势,资金量比较小,操作上比大资金操作起来灵活,如果主力要在底部吸筹的话,大资金的主力最少都要个把月左右,小点资金的主力也差不多要10天左右,而获利出货也得3-5天的时间,就算要出局,也得使劲办法迷惑散户,生怕被发现,给散户出货的机会,把自己给套死。
对比散户起来,那就不用顾虑那么多了,只要没有满仓,想怎么操作就怎么操作,说到底还是A股的T+1制度的原因,要不然主力也不会这么嚣张跋扈了!目前指数分时图小回落,不过没放啥大量,所以也不好跌,午后估计还会反弹,但是现在的市场量能反弹估计也不会走出什么效果出来,所以指数还是继续走弱势窄幅震荡走势。
指数在临近午盘收盘的时候来了一小波小急速下跌,午后要看下分时图的量能运行情况,如果指数分时图每一波杀跌放大量的话可能还会继续杀跌,如果指数分时图杀跌没什么放量也跌不大动,总体还是继续走弱势窄幅震荡的走势。
创业板的部分指标股出现护盘迹象,中青宝、掌趣科技、暴风集团、出现不同程度的拉升,不过要扭转这盘面单靠指标股是不行的,其他的个股也要起来。
指数分时图反弹也没啥量能,要上也上不去,所以还是继续我们说的弱势震荡的走势,刚创业板指标股有小引领一波,可惜其他的小盘个股都没怎么跟风。
指数下跌没量,上涨也没量,还是走的很胶着,不过我们还是认清好盘面氛围就行,大家仓位规划管控好就行,今天小使者就给大家分享一个分时做T的买卖参考指标,非常适合做高抛低吸!使用方法:1、绿色线是压力线;2、紫色线是支撑线;3、黄色箭头是买入信号;4、黄色线柱是加强买入信号;5、绿色箭头是高抛信号。
中字头出现护盘,刚在直播说过,指数这波分时图杀跌是否放量,如果不放量的话日内估计也跌不下去了,继续走胶着的走势,这状态今天指数k线估计收个振幅比较大的十字星。
通达信分时主图通达信指标公式源码
通达信分时主图一、先建引用指标FSYY,如果已有的话再里面加上下列几句,我是不断加的。
指数1:"999999$C";指数2:"399001$C";指数3:"399005$C";指数4:"399006$C";二、再建个引用指标FSYY1指数1:"FSYY.指数1#DAY";指数2:"FSYY.指数2#DAY";指数3:"FSYY.指数3#DAY";指数4:"FSYY.指数4#DAY";三、再建分时主图指标均价:SUM(C*V,BARSCOUNT(C))/SUM(V,BARSCOUNT(C)),COLORYELLOW; DRAWICON(FILTER(CROSS(C,DYNAINFO(3)*1.1-0.01),60),C,1);DRAWNUMBER(FILTER(CROSS(C,DYNAINFO(3)*1.1-0.01),60),C*0.98,TIME),COLORYELL OW;DRAWNUMBER(FILTER(CROSS(C,DYNAINFO(3)*1.1-0.01),60),C*0.96,C),COLORMAGENT A;DRAWNUMBER(ISLASTBAR,DYNAINFO(11),DYNAINFO(11)),COLORYELLOW; DRAWNUMBER(ISLASTBAR,DYNAINFO(7),DYNAINFO(7)),COLORWHITE; DRAWTEXT_FIX(1,0.0,0.75,0,'红绿箭头带未来,仅供参考'),COLORGREEN; DRAWTEXT_FIX(1,0.0,0.85,0,STRCAT('上证指数:',CON2STR(FSYY1.指数1,2))),COLORYELLOW;DRAWTEXT_FIX(1,0.3,0.85,0,STRCAT('深圳指数:',CON2STR(FSYY1.指数2,2))),COLORYELLOW;DRAWTEXT_FIX(1,0.0,0.95,0,STRCAT('中小指数:',CON2STR(FSYY1.指数3,2))),COLORYELLOW;DRAWTEXT_FIX(1,0.3,0.95,0,STRCAT('创业指数:',CON2STR(FSYY1.指数4,2))),COLORYELLOW;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=L1+P1*7/8;支撑:=L1+P1*0.5/8;DRAWICON(LONGCROSS(支撑,C,2),C,1);DRAWICON(LONGCROSS(C,阻力,2),C,2);四、注意事项分时主图中的红绿箭头是即时动态的,会根据行情变化的,只能参考。
通达信分时主图显示要素流通市值、自由流通盘、昨日自由换手、昨日成交额、当日自由换手、当日振幅
1、引用指标“FSYYZB”换手率Z:VOL*100/FINANCE(46)*100,NODRAW;昨天自由换手:REF(V,1)/FINANCE(46)*10000;昨日成交额:REF(AMOUNT/10000,1);昨量:REF(VOL,1);今量:VOL;2、建立分时主图,显示要素:流通市值、自由流通盘、昨日自由换手、昨日成交额、当日自由换手、当日振幅。
3、做了人性化处理,为了不影响文字遮掩分时图,盘中如果分时是下跌的,这些问题提示在最上面显示,否则在最下面显示。
有图流通市值:=(CAPITAL*100/100000000)*C,NODRAW;{适用前复权输出值亿元}自由流通盘:=(FINANCE(46)/100000000)*C;{适用前复权输出值亿元}昨日自由换手:="FSYYZB.昨天自由换手#DAY";昨日成交额:="FSYYZB.昨日成交额#DAY";当日成交额:=DYNAINFO(10)/10000;当日自由换手:="FSYYZB.换手率Z#DAY";当日振幅:=(DYNAINFO(5)-DYNAINFO(6))/DYNAINFO(6)*100;JZX:=IF(DYNAINFO(7)>=DYNAINFO(3),1,0);DRAWTEXT_FIX(1,0.0,JZX,0,STRCAT('【流通值】:',STRCAT(CON2STR(流通市值,2),'亿'))),COLORMAGENTA;DRAWTEXT_FIX(1,0.13,JZX,0,STRCAT('【自流值】:',STRCAT(CON2STR(自由流通盘,2),'亿'))),COLORGREEN;DRAWTEXT_FIX(1,0.26,JZX,0,STRCAT('【昨自换手】:',STRCAT(CON2STR(昨日自由换手,2),'%')))COLORYELLOW;DRAWTEXT_FIX(1,0.4,JZX,0,STRCAT('【昨成交额】:',STRCAT(CON2STR(昨日成交额,0),'万')))COLORYELLOW;DRAWTEXT_FIX(1,0.55,JZX,0,STRCAT('【今成交额】:',STRCAT(CON2STR(当日成交额,0),'万'))),COLORGREEN;DRAWTEXT_FIX(1,0.7,JZX,0,STRCAT('【今自由换手】:',STRCAT(CON2STR(当日自由换手,2),'%')))COLORYELLOW;DRAWTEXT_FIX(1,0.85,JZX,0,STRCAT('【今振幅】:',STRCAT(CON2STR(当日振幅,2),'%')))COLORYELLOW;{盘中如果分时是下跌的,这些问题提示在最上面显示,否则在最下面显示}。
分时主图指标
分时主图指标DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'019',0);资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金流量:=资金出入,COLORFFFFFF,LINETHICK1;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));增强流量比:=IF(资金流量比>50,资金流量比,50);攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;攻击流量:=攻击量A+攻击量B,COLORSTICK;NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));攻击度限制:=IF(资金攻击度>100,100,IF(资金攻击度<0,0,资金攻击度));增强攻击度:=IF(资金攻击度>50,资金攻击度,50);开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (资金流量>0 AND 资金流量>攻击流量));开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;Q:=250;高点:=HHV(C,Q);低点:=LLV(C,Q);最高:=CONST(高点),NODRAW;最低:=CONST(低点),NODRAW;轴差:=最高-最低;中价轴:=(最高+最低)/2;HL3:=(100-0)/2*1.3;HL4:=(100-0)/1*1.3;中间价轴:=(50-HL3)*轴差/HL4+中价轴;平安轴:=(中价轴+中间价轴)/2;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VO L*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BAR SCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));起动线:=EXPMA((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT;主力线:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2;散户线:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2;限制起动线:=起动线*中间价轴;限制主力线:=主力线*中间价轴;限制散户线:=散户线*中间价轴;主散MIN:=MIN(限制主力线,限制散户线);{分时转强:=主散MIN>金龙线AND ((LONGCROSS(限制主力线,金龙线,2) OR CROSS(限制主力线,限制散户线)) OR (限制主力线>限制散户线AND LONGCROSS(牵引线,金龙线,2)));}DRAWBAND(限制主力线,RGB(250,125,0),限制散户线,RGB(0,100,250));STICKLINE(起动线<主力线,限制起动线,限制主力线,1.0,0),COLOR00FF00;STICKLINE(起动线>主力线,限制起动线,限制主力线,1.0,0),COLORFFFFFF;STICKLINE(VOL>EMA(VOL,60) AND 起动线>主力线,限制起动线,限制主力线,1,0),COLORFF00FF; STICKLINE(VOL>EMA(VOL,30) AND 起动线>主力线AND 起动线>1.01 AND 起动线>REF(起动线,1),限制起动线,限制主力线,1,0),COLOR00FFFF;主力:限制主力线,COLORFFFFFF,LINETHICK1;分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;追击涨停:=限制散户线>分时均价线AND CROSS(C,限制散户线);拉升量:=IF(C>REF(C,1),VOL,0);昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*1 ;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;{计算收益、已爆分钟}VV:=BARSSINCE(每日一点)+1;首次起爆价:=REF(C,VV-1),NODRAW;今天收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;流通盘:=CAPITAL*100/100000000,NODRAW;起爆时间:=REF(TIME/10000,VV),NODRAW;已爆分钟:=VV-1,NODRAW;{画出底线和红球}首次起爆量:=REF(VOL,VV-1);STICKLINE(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,最低,1,0),COLORCYAN; DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,27);DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,'∠量突破'),COLORCYAN; STICKLINE(FILTER(每日一点,30),最低+轴差*0.75,最低,1,0),COLORGREEN;DRAWICON(FILTER(每日一点,30),最低+轴差*0.75,13);DRAWTEXT(FILTER(每日一点,30),最低+轴差*0.75,'∠起爆'),COLORGREEN;DRAWNUMBER(FILTER(每日一点,30),最低+(C-最低)/2,首次起爆价),COLORWHITE;{DRAWTEXT_FIX(每日一点=1,0.00,0.10,0,'当起爆突破时:20线上行+日价K线突破+日K线量起爆更好+估换手小于10%更有效'),COLORMAGENTA;}TA:=BARSLAST(TIME=100000);TC:=REF(HHV(C,0),TA+1);TV:=REF(HHV(V,0),TA+1);ZF:=C/DYNAINFO(3)<1.05;XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;TA1:=BARSLAST(TIME=110000);CC1:=REF(HHV(C,0),TA1+1);VV1:=REF(HHV(V,0),TA1+1);ZF1:=CC1/DYNAINFO(3)<1.05;XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW;突破:=XG1 OR XG2,COLORRED;STICKLINE(FILTER(突破=1,15),最低+轴差*0.60,最低,1,0),COLORWHITE;DRAWICON(FILTER(突破=1,15),最低+轴差*0.60,17);DRAWTEXT(FILTER(突破=1,15),最低+轴差*0.60,'∠分时突破'),COLORWHITE;STICKLINE(FILTER(开始攻击量=1,15),最低+轴差*0.45,最低,1,0),COLORMAGENTA;STICKLINE(FILTER(开始攻击=1,30),最低+轴差*0.30,最低,1,0),COLORYELLOW;STICKLINE(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),最低+轴差*0.15,最低,1,0),COLORCYAN;DRAWICON(FILTER(开始攻击量=1,15),最低+轴差*0.45,24);DRAWICON(FILTER(开始攻击,30),最低+轴差*0.30,23);DRAWTEXT(FILTER(开始攻击量=1,15),最低+轴差*0.45,'∠攻击量'),COLORMAGENTA;DRAWTEXT(FILTER(开始攻击,30),最低+轴差*0.30,'开始攻'),COLORYELLOW;DRAWTEXT(FILTER(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),30),最低+轴差*0.15,'★迹'),COLORCYAN;DRAWICON(FILTER(CROSS(起动线,1.01),30),限制散户线,17);DRAWTEXT(FILTER(CROSS(起动线,1.01),30),最低,'可能涨停'),COLORMAGENTA;DRAWTEXT(FILTER(追击涨停,30),分时均价线+(限制散户线-分时均价线)/2,'追击'),COLORRED;预警公式:资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN); 资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN); 资金出入:=资金流入+资金流出;资金流量:=资金出入,COLORFFFFFF,LINETHICK1;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));增强流量比:=IF(资金流量比>50,资金流量比,50);攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HS L,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHI CK0;攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHI CK0;攻击流量:=攻击量A+攻击量B;NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINE THICK1;资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));攻击度限制:=IF(资金攻击度>100,100,IF(资金攻击度<0,0,资金攻击度));增强攻击度:=IF(资金攻击度>50,资金攻击度,50);开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (资金流量>0 AND 资金流量>攻击流量));开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;Q:=250;高点:=HHV(C,Q);低点:=LLV(C,Q);最高:=CONST(高点);最低:=CONST(低点);轴差:=最高-最低;中价轴:=(最高+最低)/2;HL3:=(100-0)/2*1.3;HL4:=(100-0)/1*1.3;中间价轴:=(50-HL3)*轴差/HL4+中价轴;平安轴:=(中价轴+中间价轴)/2;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SU M(AMOUNT,BARSCOUNT((CLOSE*BGTYU) ))/SUM(VOL*100,BARSCOUNT((CLOSE*BG TYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU ),BARSCOUNT((CLOSE*BGTYU))),(SUM(A MOUNT,BARSCOUNT((CLOSE*BGTYU)))/S UM(VOL*100,BARSCOUNT((CLOSE*BGTY U)))));起动线:=EXPMA((CLOSE/VBNH),20)*1;主力线:=EXPMA((CLOSE/VBNH),60)*1;散户线:=EXPMA((CLOSE/VBNH),120)*1;限制起动线:=起动线*中间价轴;限制主力线:=主力线*中间价轴;限制散户线:=散户线*中间价轴;主散MIN:=MIN(限制主力线,限制散户线); {分时转强:=主散MIN>金龙线AND ((LONGCROSS(限制主力线,金龙线,2) OR CROSS(限制主力线,限制散户线)) OR (限制主力线>限制散户线AND LONGCROSS(牵引线,金龙线,2)));}DRAWBAND(限制主力线,RGB(250,125,0),限制散户线,RGB(0,100,250));STICKLINE(起动线<主力线,限制起动线,限制主力线,1.0,0),COLOR00FF00;STICKLINE(起动线>主力线,限制起动线,限制主力线,1.0,0),COLORFFFFFF;STICKLINE(VOL>EMA(VOL,60) AND 起动线>主力线,限制起动线,限制主力线,1,0),COLORFF00FF;STICKLINE(VOL>EMA(VOL,30) AND 起动线>主力线AND 起动线>1.01 AND 起动线>REF(起动线,1),限制起动线,限制主力线,1,0),COLOR00FFFF;主力:限制主力线,COLORFFFFFF,LINETHICK1;分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLO W,LINETHICK2;追击涨停:=限制散户线>分时均价线AND CROSS(C,限制散户线);拉升量:=IF(C>REF(C,1),VOL,0);昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0));攻击力度:=今拉升最高值/昨拉升最高值;TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*1 ;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破 5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;VV:=BARSSINCE(每日一点)+1;首次起爆价:=REF(C,VV-1);今天收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100;流通盘:=CAPITAL*100/100000000;起爆时间:=REF(TIME/10000,VV);已爆分钟:=VV-1;TA:=BARSLAST(TIME=100000);TC:=REF(HHV(C,0),TA+1);TV:=REF(HHV(V,0),TA+1);ZF:=C/DYNAINFO(3)<1.05;XG1:=CROSS(C,TC) AND V>TV AND ZF;TA1:=BARSLAST(TIME=110000);CC1:=REF(HHV(C,0),TA1+1);VV1:=REF(HHV(V,0),TA1+1);ZF1:=CC1/DYNAINFO(3)<1.05;XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1; 突破: XG1 OR XG2;。
综合分时主图指标通达信指标公式源码
MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1*0.5/8,COLOR00DD00;现价:CLOSE,COLORWHITE,LINETHICK1;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED;{抛};XG:HHV(H,480),DOTLINE,COLORRED;STICKLINE(FILTER(CROSS(C,REF(XG,1)),10) ANDC>REF(XG,1),C*0.99,C,8,0),COLORGREEN;DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.99,'突破'),COLORYELLOW;RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT ))+1;JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) ORTOTALBARSCOUNT-CURRBARSCOUNT=0)+1;{年月日}DA:=YEAR AND MONTH AND DAY;AA1:=STRCAT(CON2STR(YEAR,0),'年');AA2:=STRCAT(CON2STR(MONTH,0),'月');AA3:=STRCAT(CON2STR(DAY,0),'日');AA4:=STRCAT('【',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'】');DRAWTEXT_FIX(DA AND FROMOPEN<=120,0.88,0,0,AA),COLORBLUE; DRAWTEXT_FIX(DA AND FROMOPEN>120,0,0,0,AA),COLORBLUE;{分时MACD}DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);X:=CONST(HHV(ABS(C-DYNAINFO(3)),FROMOPEN))/CONST(HHV(ABS(DIF),FROMOPEN) )*0.6;DI:DIF*X+DYNAINFO(3),COLORCC00CC;DE:DEA*X+DYNAINFO(3),COLOR00DD00;MAC:=MACD*X;STICKLINE(MAC>0,DYNAINFO( 3),MAC+DYNAINFO( 3),0,1),COLORRED; STICKLINE(MAC<0,DYNAINFO( 3),MAC+DYNAINFO( 3),0,1),COLORCYAN;{高点直线}V1:=TIME;T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000) ),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;KP30:=T<240;KPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);HHHH:REF(H,GDSJ),COLORYELLOW,POINTDOT,LINETHICK1;{低点直线}VQ1:=TIME;TQ:=IF(VQ1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(VQ1/100)-100*FLOOR(VQ1/ 10000)),(FLOOR(VQ1/10000)-11)*60+(FLOOR(VQ1/100)-100*FLOOR(VQ1/10000))),NODRAW; KPQ30:=TQ<240;KPGDQ:=L=LLV(L,0) AND KPQ30;GDSJQ:=BARSLAST(KPGDQ);HHHHQ:REF(L,GDSJQ),COLORCC00CC,POINTDOT,LINETHICK1;{分时均价线和分时线}最新:CLOSE,COLORWHITE;AQA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C)); DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' 涨▲',CON2STR(最新,2))),COLORMAGENTA;DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT(' 跌▼',CON2STR(最新,2))),COLOR00FF00;均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK1;IF(均价<=REF(均价,1),均价,DRAWNULL),COLORGREEN,LINETHICK3;IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3; DRAWTEXT(CURRBARSCOUNT=8,均价,'均'),COLORYELLOW,LINETHICK3; DRAWNUMBER(CURRBARSCOUNT=1,均价,均价),COLORYELLOW,LINETHICK3; {板块概念}DRAWTEXT_FIX(1 AND FROMOPEN<=120,0.5,0,0,DYBLOCK),COLORWHITE; DRAWTEXT_FIX(1 AND FROMOPEN<=120,0.55,0,0,HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(1 AND FROMOPEN<=120,0.6,0,0,GNBLOCK),COLORYELLOW; DRAWTEXT_FIX(1 AND FROMOPEN>120,0.12,0,0,DYBLOCK),COLORWHITE; DRAWTEXT_FIX(1 AND FROMOPEN>120,0.17,0,0,HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(1 AND FROMOPEN>120,0.21,0,0,GNBLOCK),COLORYELLOW;。
通达信极品分时主图指标公式
通达信极品分时主图指标公式A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;A7:=IF((BARSTATUS=2),((100*A2)/A6),0);A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));机构买盘:=(A2),LINETHICK2;机构卖盘:=(A3),LINETHICK2;散户买盘:=(A4);散户卖盘:=(A5);DRAWTEXT_FIX(1,0.000,1-0.05,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),'万')),COLORRED;DRAWTEXT_FIX(1,0.250,1-0.05,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),'万')),COLOR00FF00;DRAWTEXT_FIX(1,0.500,1-0.05,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),'万')),COLORRED;DRAWTEXT_FIX(1,0.745,1-0.05,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),'万')),COLOR00FF00;突破:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-突破)/突破*100;多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL); 空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;最新:CLOSE,LINETHICK1,COLORWHITE;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT('涨▲',CON2STR(最新,2))),COLORMAGENTA;DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT('跌▼',CON2STR(最新,2))),COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,DYBLOCK),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.08,0,GNBLOCK),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.14,0,FGBLOCK),COLORYELLOW; 均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;FSZX:=(EMA(DXJP,3)-50)*2,COLORGRAY;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOS E*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))), (SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));DRAWICON(FSZX<=-95,C,38);DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),C,'板'),COLORCYAN;DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),C,'追'),COLORYELLOW; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),C,17);H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=L1+P1*7/8,COLORGREEN;支撑:=L1+P1*0.5/8,COLORMAGENTA;DRAWICON(LONGCROSS(支撑,C,2),C,5);DRAWICON(LONGCROSS(C,阻力,2),C,6);VARJ1:=EMA(EMA(CLOSE,13),13);控盘2:=(VARJ1-REF(VARJ1,1))/REF(VARJ1,1)*1000;STJ01:=控盘2<REF(控盘2,1) AND 控盘2>0.5;STJ02:=控盘2>0;BTJ2:=控盘2>REF(控盘2,1) AND 控盘2<-0.2;BTJ22:=控盘2>REF(控盘2,1) AND 控盘2<0 ;JJ:=DYNAINFO(11);P:=55;S:=8;M1:=3;能量:=(EMA(CLOSE,S)-EMA(C,P))*10;空头:=EMA(能量,M1),COLOR00FF00;BTJ1:=(CLOSE-JJ)/JJ<-0.005;BTJ11:=(CLOSE-JJ)/JJ<-0.03;BTJ12:=COUNT(JJ>=REF(JJ,1),5)>=4 AND (CLOSE-JJ)/JJ<0.005;STJ1:=(C-JJ)/JJ>0.005;BTJ3:=CROSS(能量,空头) AND 能量<-0.3;BTJ32:=CROSS(能量,空头) AND 能量<-0.1;STJ31:=CROSS(空头,能量);STJ32:=CROSS(空头,能量) AND 能量>1.618;A:=8;BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,A);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,A);BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,A);时长:=IF(HOUR>=9 AND HOUR<14 ,1,0);{9点至 14点}捡钱:=BTJ811 AND TIME>15 AND 时长;DRAWICON(捡钱,C,27);AYGB1:=(DVOL/C)/2,NODRAW;AYGB2:=SUM(IF(AYGB1>100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB3:=SUM(IF(AYGB1>100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB4:=SUM(IF(AYGB1<100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB5:=SUM(IF(AYGB1<100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB6:=AYGB2+AYGB3+AYGB4+AYGB5;机买:=(AYGB2/AYGB6)*100-100,LINETHICK1,COLORRED;机卖:=(AYGB3/AYGB6)*100-100,LINETHICK1,COLORGREEN;主力差:=机买-机卖;LQH:=主力差>0 AND REF(主力差,1)<=0;DRAWICON(LQH,C,25);JJXX:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0 ),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;JJXXH:=(JJXX*1.007 ),COLORFF6600;FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;HHPP:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE )))/CLOSE)<1;HHZZ:=HHPP AND FFLL AND (C>JJXXH);TTPP2:=FILTER(HHZZ,100);DRAWICON(TTPP2,C,26);ZS:=DYNAINFO(3);KP:=DYNAINFO(4);ZX:=DYNAINFO(7);ZG:=DYNAINFO(5);ZD:=DYNAINFO(6);分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW;昨高:='FSKY.ZH#DAY';昨低:='FSKY.ZL#DAY';。
分时主图指标
分时主图指标1、超级顶底MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);STICKLINE((MA30>强弱),MA30,强弱,0.8,0),COLORRED;STICKLINE((MA30<强弱),MA30,强弱,0.8,0),COLORGREEN;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLORLIGREEN;支撑:L1+P1*0.5/8,COLORLIMAGENTA;中:(支撑+阻力)/2,COLORWHITE,POINTDOT;均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW,DOTLINE;现价:CLOSE,COLORWHITE,LINETHICK2;DRAWTEXT( ISLASTBAR AND 现价,现价,STRCAT('←',CON2STR(现价,2))),COLORYELLOW;{DRAWNUMBER(CURRBARSCOUNT=1,现价,现价),COLORYELLOW;}STICKLINE(CROSS(支撑,现价),支撑,中,1,0),COLORCC00FF;STICKLINE(CROSS(现价,阻力),阻力,中,1,0),COLOR33FF33;DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★买'),COLORFF66FF ;{吸}DRAWTEXT(LONGCROSS(现价,阻力,2),阻力*0.999,'☆卖'),COLOR66FF33;{抛};底买:STICKLINE(C<支撑,支撑,C,2,0),COLORRED;STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORYELLOW;DRAWTEXT(CROSS(支撑,现价),(支撑-中)/5+支撑,'底'),COLORYELLOW;STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORLIRED;DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/5,'顶'),COLORLIRED;DRAWTEXT(CURRBARSCOUNT=8,阻力+0.003,'顶'),COLORGREEN,LINETHICK1;DRAWTEXT(CURRBARSCOUNT=8,支撑-0.003,'底'),COLORLIRED,LINETHICK1;DRAWTEXT(CURRBARSCOUNT=8,(支撑+阻力)/2,'中'),COLORWHITE,LINETHICK1;{成交数据}成交额:=V*C/100,NODRAW;{万元}A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);A3:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);A6:=(A2+A3);A7:=IF((ISLASTBAR),((100*A2)/A6),0);A8:=IF((ISLASTBAR),((100*A3)/A6),0);DD1:=1;AAA1:=STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%');AAA2:=STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%');AAA3:=STRCAT(STRCAT('机构总买入',CON2STR((100*(A2-A3))/A6,0)),'%');A000:=DRAWTEXT_FIX(DD1=1,0,0.02,0,AAA1),COLORRED;A001:=DRAWTEXT_FIX(DD1=1,0,0.13,0,AAA2),COLOR00FF0 0;{DRAWTEXT_FIX(DD1=1,0,0.15,0,AAA1),COLOR00FFFF;DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA2),COLOR00FFFF;}DRAWTEXT_FIX(DD1=1,0.88,1,0,AAA3),COLOR00FFFF;现手买:BUYVOL*DYNAINFO(7)*100/10000 COLOR0000FF,NODRAW;现手卖:SELLVOL*DYNAINFO(7)*100/10000 COLOR00FF00,NODRAW;合:=ABS(现手买)+ABS(现手卖)COLOR80FFFF,NODRAW;差:=ABS(现手买)-ABS(现手卖)COLOR80FFFF,NODRAW;MPB1:=ABS(现手买)/合*100;MPB2:=ABS(现手卖)/合*100;TESTSKIP(NOT(现手买 OR 现手卖 OR 合 OR 差 OR MPB1 OR MPB2)!=0);{绿框卖}DRAWRECTREL(595,1000,795,940,RGB(0,128,0));DRAWRECTREL(595,995,795,945,RGB(0,148,0));DRAWRECTREL(595,990,795,950,RGB(0,168,0));DRAWRECTREL(595,985,795,955,RGB(0,188,0));DRAWRECTREL(595,980,795,960,RGB(0,208,0));DRAWRECTREL(595,975,795,965,RGB(0,228,0));DRAWRECTREL(595,970,795,970,RGB(0,248,0));{红框买}DRAWRECTREL(595,1000,595+现手买*210/合,940,RGB(128,0,0));DRAWRECTREL(595,995,595+现手买*210/合,945,RGB(148,0,0));DRAWRECTREL(595,990,595+现手买*210/合,950,RGB(168,0,0));DRAWRECTREL(595,985,595+现手买*210/合,955,RGB(188,0,0));DRAWRECTREL(595,980,595+现手买*210/合,960,RGB(208,0,0));DRAWRECTREL(595,975,595+现手买*210/合,965,RGB(228,0,0));DRAWRECTREL(595,970,595+现手买*210/合,970,RGB(248,0,0));DRAWRECTREL(595+现手买*210/合,940,595+现手买*210/合,1000,RGB(128,0,0));DRAWRECTREL(795,940,795,1000,RGB(0,0.0,10));DRAWRECTREL(594.8,939.8,594.8,1000,RGB(0,0,10));DRAWRECTREL(594.8,939.8,594.8,939.8,RGB(0,0,10));DRAWRECTREL(594.8,1000,594.8,1000,RGB(0,0,10));DRAWTEXT_FIX(1,0.54,0.89,0,STRCAT(STRCAT('',CON2STR(现手买,1)),'万')),COLOR0000FF;DRAWTEXT_FIX(1,0.785,0.89,0,STRCAT(STRCAT('',CON2STR(现手卖,1)),'万')),COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)>0,0.65,0.89,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR0000FF;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)<0,0.65,0.89,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)=0,0.65,0.89,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR80FFFF;DRAWTEXT_FIX(1,0.8,0.98,0,STRCAT(STRCAT('',CON2STR(MPB2,1)),'%')),COLOR00FF00;DRAWTEXT_FIX(1,0.54,0.98,0,STRCAT(STRCAT('',CON2STR(M PB1,1)),'%')),COLOR0000FF;市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2));市销率:=STRCAT(' 市销率:',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2));净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));净利润率:=STRCAT(' 净利润率',CON2STR(FINANCE(30)/FINANCE(20)*100,2));主营利润率:=STRCAT(' 主营利润率',CON2STR(FINANCE(23)/FINANCE(20)*100,2));利润同比:=STRCAT(' 利润同比: ',CON2STR(FINANCE(43),2));收入同比:=STRCAT(' 收入同比: ',CON2STR(FINANCE(44),2));X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};X3:=FINANCE(23)/FINANCE(10)*3.3;X4:=FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}X5:=FINANCE(20)/FINANCE(15)*0.999;Z值:=X1+X2+X3+X4+X5;预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'轻警','无警'));财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))));优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));{理论上越大越好但不同行业有不同标准};现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(财务预警,优质资产率),现金负债比));DRAWTEXT_FIX(ISLASTBAR,0.025,0.96,0,财务系数),COLORCYAN;{显示日期}D1:=YEAR AND MONTH AND DAY;AA1:=STRCAT(CON2STR(YEAR,0),'年');AA2:=STRCAT(CON2STR(MONTH,0),'月');AA3:=STRCAT(CON2STR(DAY,0),'日');AA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),' ');DRAWTEXT_FIX(D1,0.83,0,0,AA),COLORGREEN;MZ0:=(BARSLAST(((HOUR=9) AND (MINUTE=31)))+1);上穿分时:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM ((IF((TIME=1000),1,0)*HHV(CLOSE,0)),0))),DRAWNULL),LINETHIC K3,COLORMAGENTA;底支:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM ((IF((TIME=1000),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),LINETHICK 2,COLORLIRED;STICKLINE(TIME=931 OR TIME=1000,上穿分时,底支,1,0),COLORYELLOW;分时上突:=CROSS(C,上穿分时);上突:=C<上穿分时 AND 上穿分时>底支;DRAWICON(分时上突,C*0.99,25);股价支撑线:=MA(CLOSE,20),COLORRED;底价线:股价支撑线-2*STD(CLOSE,20),COLORMAGENTA,LINETHICK3;DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【今日强势有效突破股】',CON2STR(上穿分时,2)),'元买入稳赚')),COLORYELLOW;DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【底部得到有效支撑】',CON2STR(底支,2)),'可以参考')),COLORYELLOW;2、改超级顶底MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);STICKLINE((MA30>强弱),MA30,强弱,0.8,0),COLORRED;STICKLINE((MA30<强弱),MA30,强弱,0.8,0),COLORGREEN;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLORLIGREEN,LINETHICK5;支撑:L1+P1*0.5/8,COLORLIMAGENTA,LINETHICK5;中:(支撑+阻力)/2,COLORWHITE,POINTDOT,LINETHICK3;均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW,LINETHICK2;现价:CLOSE,COLORBLUE,LINETHICK2;DRAWTEXT( ISLASTBAR AND 现价,现价,STRCAT('←',CON2STR(现价,2))),COLORYELLOW;{DRAWNUMBER(CURRBARSCOUNT=1,现价,现价),COLORYELLOW;}{STICKLINE(CROSS(支撑,现价),支撑,中,1,0),COLORCC00FF;STICKLINE(CROSS(现价,阻力),阻力,中,1,0),COLOR33FF33;}底买:STICKLINE(C<支撑,支撑,C,3,0),COLORRED;STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/15+支撑,3,0),COLORYELLOW;DRAWTEXT(CROSS(支撑,现价),(支撑-中)/8+支撑,'底'),COLORYELLOW;STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/15,3,0),COLORLIRED;DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/8,'顶'),COLORLIRED;DRAWTEXT(CURRBARSCOUNT=8,阻力+0.003,'阻力线'),COLORGREEN,LINETHICK5;DRAWTEXT(CURRBARSCOUNT=8,支撑-0.003,'支撑线'),COLORLIRED,LINETHICK5;DRAWTEXT(CURRBARSCOUNT=8,(支撑+阻力)/2,'中线'),COLORWHITE,LINETHICK1;DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*0.988,'★买'),COLORFF66FF ;{吸}DRAWTEXT(LONGCROSS(现价,阻力,2),阻力*1.015,'☆卖'),COLOR66FF33;{抛};{成交数据}成交额:=V*C/100,NODRAW;{万元}A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);A3:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);A6:=(A2+A3);A7:=IF((ISLASTBAR),((100*A2)/A6),0);A8:=IF((ISLASTBAR),((100*A3)/A6),0);DD1:=1;AAA1:=STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%');AAA2:=STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%');AAA3:=STRCAT(STRCAT('机构总买入',CON2STR((100*(A2-A3))/A6,0)),'%');A000:=DRAWTEXT_FIX(DD1=1,0,0.02,0,AAA1),COLORRED;A001:=DRAWTEXT_FIX(DD1=1,0,0.13,0,AAA2),COLOR00FF0 0;DRAWTEXT_FIX(DD1=1,0,0.15,0,AAA1),COLOR00FFFF;DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA2),COLOR00FFFF;DRAWTEXT_FIX(DD1=1,0.88,1,0,AAA3),COLOR00FFFF;现手买:BUYVOL*DYNAINFO(7)*100/10000 COLOR0000FF,NODRAW;现手卖:SELLVOL*DYNAINFO(7)*100/10000 COLOR00FF00,NODRAW;合:=ABS(现手买)+ABS(现手卖)COLOR80FFFF,NODRAW;差:=ABS(现手买)-ABS(现手卖)COLOR80FFFF,NODRAW;MPB1:=ABS(现手买)/合*100;MPB2:=ABS(现手卖)/合*100;TESTSKIP(NOT(现手买 OR 现手卖 OR 合 OR 差 OR MPB1 OR MPB2)!=0);{绿框卖}DRAWRECTREL(595,1000,795,940,RGB(0,128,0));DRAWRECTREL(595,995,795,945,RGB(0,148,0));DRAWRECTREL(595,990,795,950,RGB(0,168,0));DRAWRECTREL(595,985,795,955,RGB(0,188,0));DRAWRECTREL(595,980,795,960,RGB(0,208,0));DRAWRECTREL(595,975,795,965,RGB(0,228,0));DRAWRECTREL(595,970,795,970,RGB(0,248,0));{红框买}DRAWRECTREL(595,1000,595+现手买*210/合,940,RGB(128,0,0));DRAWRECTREL(595,995,595+现手买*210/合,945,RGB(148,0,0));DRAWRECTREL(595,990,595+现手买*210/合,950,RGB(168,0,0));DRAWRECTREL(595,985,595+现手买*210/合,955,RGB(188,0,0));DRAWRECTREL(595,980,595+现手买*210/合,960,RGB(208,0,0));DRAWRECTREL(595,975,595+现手买*210/合,965,RGB(228,0,0));DRAWRECTREL(595,970,595+现手买*210/合,970,RGB(248,0,0));DRAWRECTREL(595+现手买*210/合,940,595+现手买*210/合,1000,RGB(128,0,0));DRAWRECTREL(795,940,795,1000,RGB(0,0.0,10));DRAWRECTREL(594.8,939.8,594.8,1000,RGB(0,0,10));DRAWRECTREL(594.8,939.8,594.8,939.8,RGB(0,0,10));DRAWRECTREL(594.8,1000,594.8,1000,RGB(0,0,10));DRAWTEXT_FIX(1,0.54,0.89,0,STRCAT(STRCAT('',CON2STR(现手买,1)),'万')),COLOR0000FF;DRAWTEXT_FIX(1,0.785,0.89,0,STRCAT(STRCAT('',CON2STR(现手卖,1)),'万')),COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)>0,0.65,0.89,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR0000FF;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)<0,0.65,0.89,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)=0,0.65,0.89,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR80FFFF;DRAWTEXT_FIX(1,0.8,0.98,0,STRCAT(STRCAT('',CON2STR(MPB2,1)),'%')),COLOR00FF00;DRAWTEXT_FIX(1,0.54,0.98,0,STRCAT(STRCAT('',CON2STR(M PB1,1)),'%')),COLOR0000FF;市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2));市销率:=STRCAT(' 市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2));净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));净利润率:=STRCAT(' 净利润率',CON2STR(FINANCE(30)/FINANCE(20)*100,2));主营利润率:=STRCAT(' 主营利润率',CON2STR(FINANCE(23)/FINANCE(20)*100,2));利润同比:=STRCAT(' 利润同比: ',CON2STR(FINANCE(43),2));收入同比:=STRCAT(' 收入同比: ',CON2STR(FINANCE(44),2));X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};X3:=FINANCE(23)/FINANCE(10)*3.3;X4:=FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}X5:=FINANCE(20)/FINANCE(15)*0.999;Z值:=X1+X2+X3+X4+X5;预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'轻警','无警'));财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))));优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));{理论上越大越好但不同行业有不同标准};现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(财务预警,优质资产率),现金负债比));DRAWTEXT_FIX(ISLASTBAR,0.025,0.96,0,财务系数),COLORCYAN;{显示日期}D1:=YEAR AND MONTH AND DAY;AA1:=STRCAT(CON2STR(YEAR,0),'年');AA2:=STRCAT(CON2STR(MONTH,0),'月');AA3:=STRCAT(CON2STR(DAY,0),'日');AA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),' ');DRAWTEXT_FIX(D1,0.83,0,0,AA),COLORGREEN;MZ0:=(BARSLAST((HOUR=9) AND (MINUTE=31))+1);上穿分时:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*HHV(CLOSE,0)),0))),DRAWNULL),LINETHIC K2,COLORGRAY;底支:IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM ((IF((TIME=1000),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),LINETHICK 2,COLORLICYAN;STICKLINE(TIME=931 OR TIME=1000,上穿分时,底支,5,0),COLORYELLOW;分时上突:=CROSS(C,上穿分时);上突:=C<上穿分时 AND 上穿分时>底支;DRAWICON(分时上突,C,25);股价支撑线:=MA(CLOSE,20);底价线:股价支撑线-2*STD(CLOSE,20),COLORMAGENTA,LINETHICK3;DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【今日强势有效突破股】',CON2STR(上穿分时,2)),'元买入稳赚')),COLORYELLOW;DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【底部得到有效支撑】',CON2STR(底支,2)),'可以参考')),COLORYELLOW;。
通达信神奇分时主图可以精确指标公式
通达信,神奇分时,主图,指标公式E5:=EMA(C,5);E13:=EMA(C,13);DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA; DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0));A1:EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLOR1010FF;A2:EMA((EMA(C,3)+EMA(C,5)+EMA( C,7))/3,3),COLOR1020FF;A3:EMA((EMA(C,5)+EMA(C,7)+EMA( C,9))/3,3),COLOR1030FF;A4:EMA((EMA(C,7)+EMA(C,9)+EMA( C,11))/3,3),COLOR1040FF;A5:EMA((EMA(C,9)+EMA(C,11)+EMA( C,13))/3,3),COLOR1050FF; A6:EMA((EMA(C,11)+EMA(C,13)+EMA( C,15))/3,3),COLOR1060FF; A7:EMA((EMA(C,13)+EMA(C,15)+EMA( C,17))/3,3),COLOR1070FF; A8:EMA((EMA(C,15)+EMA(C,17)+EMA( C,19))/3,3),COLOR1080FF; A9:EMA((EMA(C,17)+EMA(C,19)+EMA( C,21))/3,3),COLOR1080EF; A10:EMA((EMA(C,19)+EMA(C,21)+EMA( C,23))/3,3),COLOR10C0FF; A11:EMA((EMA(C,21)+EMA(C,23)+EMA( C,25))/3,3),COLOR10E0FF; A15:=A-(A1-A*0.997),COLORFF1010;A16:A-(A2-A),COLORFF2010;A17:A-(A3-A),COLORFF3010;A18:A-(A4-A),COLORFF4010;A19:A-(A5-A),COLORFF5010;A20:A-(A6-A),COLORFF6010;A21:A-(A7-A),COLORFF7010;A22:A-(A8-A),COLORFF8010;A23:A-(A9-A),COLORFF9010;A24:A-(A10-A),COLORFFC010;A25:A-(A11-A*0.997),COLORFFE010;FD:=(H-L)/3;OPEN1:=O>FD*2+L;OPEN3:=O<FD+L;OPEN2:=NOT(OPEN1 OR OPEN3);CLOSE1:=C>FD*2+L;CLOSE3:=C<FD+L;CLOSE2:=NOT(CLOSE1 OR CLOSE3);DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);WQS1:=OPEN2 AND CLOSE2;KFZD:=NOT(DFZD OR WQS1);ZD:=(H+L)/2;QSXS:=ZD>REF(H,1);QSXX:=ZD<REF(L,1);WQS2:=NOT(QSXS OR QSXX);ZTDL:=V>REF(V,1)*1.1;FTDL:=V<REF(V,1)*0.7;ZTDL2:=ZTDL AND FTDL<1;FTDL2:=FTDL AND ZTDL<1;MFI1:=(H-L)/(V/10000);MFI2:=(H-L)/(V/1000000);ZMFI1:=MFI1>REF(MFI1,1);ZMFI2:=MFI2>REF(MFI2,1);ZMFI:=ZMFI1 OR ZMFI2;FMFI:=NOT(ZMFI);LD:=ZTDL2 AND ZMFI;ST:=FTDL2 AND FMFI;WZ:=FTDL2 AND ZMFI;QF:=ZTDL2 AND FMFI;S11:=DFZD AND QSXS ;S22:=KFZD AND QSXX ;S33:=DFZD AND QSXX;S44:=KFZD AND QSXS;S55:=DFZD AND WQS2;S66:=KFZD AND WQS2;S77:=WQS1 AND (QSXS OR QSXX OR WQS2);DRAWKLINE(H,O,L,C);CC:=HHV(IF(TIME<103000,C,0),0);VV:=HHV(IF(TIME<103000,V,0),0);ZF:=CC/DYNAINFO(3)<1.05;XH:=C>=CC AND V>=VV AND TIME>=103000 AND DYNAINFO(7)=C;GL:=FILTER(XH,100);STICKLINE(GL,DYNAINFO(7)*0.98,DYNAINFO(7)*0.999,10,0) COLOR0000FF; DRAWTEXT(GL,DYNAINFO(7)*0.99,'突破'),COLORYELLOW,LINETHICK1;TBX:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-TBX)/TBX*100;DFX:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL); KFX:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);最新:C,LINETHICK1,COLORFFFF00;MA30:=EMA(CLOSE,30);H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLORFFFF00,DOTLINE;支撑:L1+P1*0.5/8,COLOR0000FF,DOTLINE;现价:=CLOSE,COLORWHITE,LINETHICK1;日时转换:=IF(PERIOD=5,120,240);QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;VAR11:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;VAR22:=(EMA(VOL,10)+EMA(VOL,32))/2;VAR33:=(VAR11+VAR22)/2;VAR44:=EMA(VAR33,30);VAR55:=EMA(VAR33,60);VAR66:=EVERY(VAR11>REF(VAR11,1),5) AND EVERY(VAR44>REF(VAR44,1),5); DRAWBAND(VAR11,RGB(150,30,30),EMA(VAR11,60),RGB(0,110,30));NXX:EMA(C,120),COLOR0080FF,LINETHICK3;DRAWTEXT(BARSTATUS=2,NXX,'牛熊线'),COLORFFFFFF;牵引线:VAR11,COLOR4B4B4B,DOTLINE;强弱线:EMA(VAR11,日时转换),POINTDOT,COLOR0080FF;趋势关注:IF(CROSS(VAR11,EMA(VAR11,60)) AND VAR66,1,0),NODRAW,COLORRED; 量价关注:IF(CROSS(VAR33,VAR55) AND VAR66,1,0),NODRAW,COLORWHITE;冲击量:IF(VAR33>VAR55 AND VAR66,1,0),NODRAW,COLORYELLOW;强势区:IF(VAR11>强弱线,1,DRAWNULL),NODRAW,COLORRED;止损区:IF(VAR11<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;STICKLINE(QZS>VAR11,QZS,VAR11,0,0),COLORMAGENTA;STICKLINE(冲击量=1,QZS,VAR11,0,0),COLORYELLOW;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;DRAWKLINE(H,O,L,C);DRAWICON(LONGCROSS(支撑,现价,2),L,1),COLORYELLOW;{吸}DRAWICON(LONGCROSS(现价,阻力,2),H,2),COLORGREEN;{抛};DRAWICON(趋势关注=1,EMA(VAR11,60),13);DRAWTEXT(量价关注=1,EMA(VAR11,60),'★'),COLORWHITE;均价:SUM(V*C,0)/SUM(V,0),COLORFF00FF;DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORFFFFFF,LINETHICK1;IF(C>=REF(C,1),C,DRAWNULL),LINETHICK1,COLORRED;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;FSZX:=(EMA(DXJP,3)-50)*2,COLORGRAY;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGT YU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM (AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*B GTYU)))));DRAWICON(FSZX<=-95,C,38);DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),C,'板'),COLORCYAN; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),C,'追'),COLORYELLOW; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),C,17);VARJ1:=EMA(EMA(CLOSE,13),13);控盘2:=(VARJ1-REF(VARJ1,1))/REF(VARJ1,1)*1000;STJ01:=控盘2<REF(控盘2,1) AND 控盘2>0.5;STJ02:=控盘2>0;BTJ2:=控盘2>REF(控盘2,1) AND 控盘2<-0.2;BTJ22:=控盘2>REF(控盘2,1) AND 控盘2<0 ;JJ:=DYNAINFO(11);P:=55;S:=8;M1:=3;能量:=(EMA(CLOSE,S)-EMA(C,P))*10;空头:=EMA(能量,M1),COLOR00FF00;BTJ1:=(CLOSE-JJ)/JJ<-0.005;BTJ11:=(CLOSE-JJ)/JJ<-0.03;BTJ12:=COUNT(JJ>=REF(JJ,1),5)>=4 AND (CLOSE-JJ)/JJ<0.005;STJ1:=(C-JJ)/JJ>0.005;BTJ3:=CROSS(能量,空头) AND 能量<-0.3;BTJ32:=CROSS(能量,空头) AND 能量<-0.1;STJ31:=CROSS(空头,能量);STJ32:=CROSS(空头,能量) AND 能量>1.618;A:=8;BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,A);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,A);BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,A);AYGB1:=(DVOL/C)/2,NODRAW;AYGB2:=SUM(IF(AYGB1>100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB3:=SUM(IF(AYGB1>100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB4:=SUM(IF(AYGB1<100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB5:=SUM(IF(AYGB1<100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB6:=AYGB2+AYGB3+AYGB4+AYGB5;机买:=(AYGB2/AYGB6)*100-100,LINETHICK1,COLORRED;机卖:=(AYGB3/AYGB6)*100-100,LINETHICK1,COLORGREEN;主力差:=机买-机卖;LQH:=主力差>0 AND REF(主力差,1)<=0;DRAWICON(LQH,C,25);JJXX:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(S UM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;JJXXH:=(JJXX*1.007 ),COLORFF6600;FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;HHPP:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1;HHZZ:=HHPP AND FFLL AND (C>JJXXH);TTPP2:=FILTER(HHZZ,100);DRAWICON(TTPP2,C,26);时间:=TIME=100000;N:=BARSLAST(时间);常数:CONST(IF(N=0,C,REF(C,N))),COLORFFFFFF,DOTLINE; CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N)));CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))); STICKLINE(时间=1,CS1,CS2,-1,0),COLORFFFFFF; CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLOR888888; CONST(IF(N,HHV(L,0),REF(HHV(L,0),N))),COLOR888888; 期货培训,股票培训:/。
通达信涨停分时主图指标公式
通达信涨停分时主图指标公式LONG:=24;SHORT:=13;M:=6;N:=6;RCC:=DYNAINFO( 3);S2:=SMA(C,3,1);S6:=Sma(C,5,1);KK:=1;TT:=FROMOPEN;RC:=DYNAINFO( 3);SS2:=SMA(C,2,1);SS6:=SMA(C,6,1);DK:=2*(S2-S6);DK1:=CONst(HHV(RC+DK,TT+1));DK2:=CONST(LLV(RC+DK,TT+1));DC1:=CONST(HHV(C,TT+1));DC2:=CONST(LLV(C,TT+1));MMA:=CONST(MAX(DC1,DK1));MMB:=CONST(MIN(DC2,DK2));{时间设置}V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)));TTT:=INTPART(2*T/5);P:=IF(TT<120,4,10);P2:=IF(TT<120,20,30);STICKLINE(C>0,H,L,6,1),COLOR000000;STICKLINE(CURRBARSCOUNT<TT+1,MMB,MMA,4,1),COLORFF0000;{cyc}VAR1:=AMOUNT/vol/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(50,120,120),CYC13,DRAWNULL);DRAWBAND(CYC13,RGB(0,150,150),CYC34,DRAWNULL);{分时macd}昨收:=DYNAINFO( 3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-2*FK*3.22;Q3:=昨收-3*FK*3.2;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,SHORT) - EMA(CLOSE,LONG));DEA:=(EMA(DIF,M));MacD:=5*(DIF-DEA);A4:=BArslAST(REF(crOSS(DIF,DEA),1));B1:=REF(C,A4+1)>C AND REF(DIF,A4+1)<DIF ANDCROSS(DIF,DEA);{DRAWTEXT(FILTER(B1>0,5),RCC*KK-0.03*RCC*KK,'背离'),COLORYELLOW;}STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF 00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACD< REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORBLUE,LINET HICK3;STICKLINE(MACD<0 AND MACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLOR4A BEFF,LINETHICK3;STICKLINE(MACD<0 AND MACD< REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORBLUE,LINET HICK3;STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;分时线:C,COLORFFFFFF,LINETHICK2;AA1:=REF(分时线,P)=HHV(分时线,2*P+1);BB1:=FILTER(AA1,P);CC1:=BACKSET(BB1,P+1);DD1:=FILTER(CC1,P);{高点}AA2:=REF(分时线,P)=LLV(分时线,2*P+1);BB2:=FILTER(AA2,P);CC2:=BACKSET(BB2,P+1);DD2:=FILTER(CC2,P);{低点}QA1:=REF(分时线,P2)=HHV(分时线,P2+1);QB1:=FILTER(QA1,P2);QC1:=BACKSET(QB1,P2+1);QD1:=FILTER(QC1,P2);{高点2}QA2:=REF(分时线,P2)=LLV(分时线,2*P2+1);QB2:=FILTER(QA2,P2);QC2:=BACKSET(QB2,P+1);QD2:=FILTER(QC2,P2);{低点};R11:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);S11:=R11>REF(R11,1);QR11:=BACKSET(ISLASTBAR,BARSLAST(QD1)+1);QS11:=QR11>REF(QR11,1);压力线:=DRAWLINE(DD1,分时线,S11,分时线,1),COLORYELLOW;压力线2:=DRAWLINE(QD1,分时线,QS11,分时线,1),COLORGREEN;压力线3:=DRAWLINE(QS11,分时线,DD1,分时线,1),COLORWHITE;IF(BETWEEN(压力线,MMA,MMB),压力线,DRAWNULL),COLORRED,LINETHICK1;IF(BETWEEN(压力线2,MMA,MMB),压力线2,DRAWNULL),COLORGREEN,LINETHICK1;IF(BETWEEN(压力线3,MMA,MMB),压力线3,DRAWNULL),COLORWHITE,LINETHICK1;T11:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);U11:=T11>REF(T11,1);QT11:=BACKSET(ISLASTBAR,BARSLAST(QD2)+1);QU11:=QT11>REF(QT11,1);支撑线:=DRAWLINE(DD2,分时线,U11,分时线,1),COLORYELLOW;支撑线2:=DRAWLINE(QD2,分时线,QU11,分时线,1),COLORGREEN;支撑线3:=DRAWLINE(QU11,分时线,DD2,分时线,1),COLORWHITE;IF(BETWEEN(支撑线,MMA,MMB),支撑线,DRAWNULL),COLORRED,LINETHICK1;IF(BETWEEN(支撑线2,MMA,MMB),支撑线2,DRAWNULL),COLORGREEN,LINETHICK1;IF(BETWEEN(支撑线3,MMA,MMB),支撑线3,DRAWNULL),COLORWHITE,LINETHICK1;DRAWICON(DD1,分时线,2);DRAWICON(DD2,分时线,1);HHH:=CONST(HHV(H,160));LLL:=CONST(LLV(L,160));MM0:=CONST((HHH+LLL)/2);HL:=CONST(IF(MM0<CONST(REF(C,160)),LLL+(HHH-LLL)*0.20,HHH-(HHH-LLL)*0.20));HH1:=IF(MM0>CONST(REF(C,160)),HHH-(HHH-LLL)*0.1,HL);LL1:=IF(MM0<CONST(REF(C,160)),LLL+(HHH-LLL)*0.1,HL);HLMAX:=MAX(HH1,LL1);HLMIN:=MIN(HH1,LL1);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=1;HLMN4:=2;DRAWTEXT(CURRBARSCOUNT=55,(MMB+(MMA-MMB)/10),'换手:')COLOR00FFFF;DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10),CONST(DYNAINFO(37))*100)COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=55,(MMB+(MMA-MMB)/10*2),'涨幅:');DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10*2),CONST(DYNAINFO(14))*100)COLORFF00FF;变色用:DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10*2),IF(CONST(DYNAINFO(14)*100)<=0,CONST(DYNAI NFO(14)*100),DRAWNULL))COLOR00DD00;DRAWTEXT(CURRBARSCOUNT=55,(MMB+(MMA-MMB)/10*3),'量比:')COLORFF00FF;DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10*3),CONST(DYNAINFO(17)))COLORFF00FF;通达信涨停分时主图指标公式实例图解:。
通达信极品分时主图指标公式
通达信极品分时主图指标公式LTA:=FINANCE(7)+300000000;GB:=2*IF(FINANCE(7)《100000000000,FLOOR(ABS ((FINANCE(7)/1000000000-1))),FLOOR(ABS ((FINANCE(7)/1000000000-1)))/10),NODRAW ;C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIME《102000 ,0 );T:=IF(V1《130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)》=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)《DYNAINFO(3),VV2,0);初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;初正:=CONST(SUM(IF(初正1》大额线 AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1》大额线 AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1》REF(C1,1),0.9,-0.9);T01:=IF(C1《REF(C1,1),-0.9,0.9);T02:=T00+T01;TT1:=BARSLAST(CROSS(T02,0));TT2:=BARSLAST(CROSS(0,T02));TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1》TT2),成交额,0);负V1:=IF(TT=-1 OR (TT=0 AND TT1《TT2),成交额,0);正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF;负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00;总:=(正总1+负总1)+初正2+初负2,NODRAW;正V:=IF(正V1》大额线,正V1,0);负V:=IF(负V1》大额线,负V1,0);正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:初负+SUM(负V,T),NODRAW,COLOR00FF00;差%:(正总-负总)/总*100,COLOR00FF00,NODRAW;TTA:=INTPART(2*T/5);KP30:=T《240;KPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);{强弱界}MMA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0));DRAWICON(CROSS(MMA30,强弱界定),H,1);CC:=CLOSE,COLORWHITE,LINETHICK2;VAR7:=SMA(CC,6.18,1);VAR8:=SMA(VAR7,3.14,1);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;{暗轨}{AA1:=PLOYLINE(CLOSE《COST(50)AND T》5,COST (20));BB1:=PLOYLINE(CLOSE《COST(50)AND T》5,COST (80));DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL);{CYC}VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL);DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL);{分时MACD}昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-2*FK*3.22;Q3:=昨收-3*FK*3.2;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(MACD》=0 AND MACD》=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF00FF,LINETHICK3;STICKLINE(MACD》=0 AND MACD《REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORBLUE,LINETHICK3;STICKLINE(MACD《0 AND MACD》=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLOR4ABEFF,LINETHICK3;STICKLINE(MACD《0 AND MACD《REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORBLUE,LINETHICK3;STICKLINE(DK》0,RCC*KK,RCC*KK+DK,0,1),COLORRED;STICKLINE(DK《0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;{多头MACD}DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEAA:=EMA(DIFF,18);多头MACD:=(-3*(DIFF-DEAA))*20,NODRAW;ZD:=HHV(多头MACD,0);ZX:=LLV(多头MACD,0);CZ:=(Q2-Q3)/6;FDM:=MAX(ABS(ZD),ABS(ZX))*1.5;RB:=(Q2+Q3)/2+2*(Q2-Q3)/3/FDM*多头MACD;STICKLINE(多头MACD》0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000FF;STICKLINE(多头MACD《0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR00FF00;{火焰山及底部信号}FAA:=WINNER(CLOSE+CLOSE*15/100)*100;FBB:=WINNER(CLOSE+CLOSE*0/100)*100;FCC:=FAA-FBB;FDD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER (CLOSE-CLOSE*15/100))*100;FEE:=FCC《3 AND FDD《0.5 AND OPEN!=LOW;FA1:=DYNAINFO(6);FA2:=IF(LOW》FA1,0,IF(HIGH《FA1,1,(FA1-LOW+0.01)/(HIGH-LOW+0.01)));FA3:=VOL/WINNER(LOW);FA4:=REF(HHV(CLOSE,120),1);FA5:=REF(LLV(CLOSE,120),1);FA6:=100*(CLOSE-FA5)/(FA4-FA5);FA7:=FA2》0 OR FA2=1;FA8:=FA7 AND FA3/REF(FA3,3)》=3 AND FA6《80;FA9:=REF(FA8,1) OR REF(FA8,2) OR REF(FA8,3)OR REF(FA8,4);FA10:=FA8 AND FA9;FA11:=IF(FILTER(FA8,3),5,0);FA12:=IF(FILTER(FA10,3) OR FEE,10,0);EEEE:=(RCC-ZS)/5;FVAR1:=REF(LOW,1);FVAR2:=SMA(ABS(LOW-FVAR1),13,1)/SMA(MAX (LOW-FVAR1,0),13,1);FVAR3:=EMA(FVAR2,13);FVAR4:=LLV(LOW,34);FVAR51:=EMA(IF(LOW《=FVAR4,FVAR3,0),3);FVAR5:=IF(FVAR51》20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*1.02,'↑进’),COLOR00FFFF;DRAWTEXT(FA12,(Q2+Q3)/2*1.03,',↑加’);主力进场:STICKLINE(FVAR5》REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVAR5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5《REF(FVAR5,1),FVAR5,0),COLORGREEN,NODRAW;STICKLINE(FVAR5《REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVAR5*EEEE,5,1),COLORGREEN;FVAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV (HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);FVAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV (HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);FVAR8:=FVAR6《REF(FVAR7,1)AND VOL》REF(VOL,1) AND CLOSE》REF(CLOSE,1);DRAWTEXT(FVAR8 AND COUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹’);JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST (DEA》=0));二次金叉:=CROSS(DIF,DEA) AND DEA《0 AND COUNT (JCCOUNT=2,21)=1;STICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*1.01,4,0),COLORFF00FF;DRAWTEXT(二次金叉,(Q2+Q3)/2*1.01,' 二金’),COLORYELLOW;HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);上:=EMA((MA(HIGH,3) * 1.05),30);下:=EMA((MA(LOW,3) * 0.96),30);决战:STICKLINE((((CROSS(DIF,DEA) AND ((下 - REF(下,1))》 0)) AND (MACD 》= REF(MACD,1)))AND(DIF 《 0)),(Q2+Q3)/2,(Q2+Q3)/2*1.01,1,0),COLOR0000FF;DRAWTEXT((((CROSS(DIF,DEA)AND ((下- REF (下,1))》0))AND (MACD 》= REF(MACD,1)))AND (DIF《= 0)),(Q2+Q3)/2*1.01,'DIF金叉’),COLOR0000FF;{两个主要买进信号}RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100);K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);短买:=CROSS(K,D) AND K》0 AND CLOSE《DYNAINFO (3)*1.07;DRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买’),COLORFF00FF;YY:=SMA(VOL,30,1);量1:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30));量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))》0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)《0.04;横后上涨:=(CLOSE/DYNAINFO(3))》=1.02=0 AND 短横 AND 量 AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA)+ AVEDEV(C,TTA)*2));上涨:=FILTER((CROSS(横后上涨,0)AND 量 AND T》60 OR (T》60 AND CLOSE《DYNAINFO(3)*1.04 AND (量1《0.5 OR 量1=1)AND BARSLAST(CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2)))《3 AND CROSS(C,MA(HHV(C,TTA),1)))),30);DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨’),COLORRED,LINETHICK3;HHHH:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;过顶:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODRAW;冲高:IF(FILTER(CROSS(C,HHHH*1.01),15),1,0),COLOR00FFFF,POINTDOT,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,255));DRAWTEXT(过顶,HHHH*1.005,'↑’),COLOR00FF00;DRAWTEXT(冲高,HHHH*1.005,'☆’),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;。
通达信分时主图显示昨日成交量、今日成交量,竞价量、开盘涨幅、今昨成交量比、星期,板块行业、概念提示。
1、先建立分时引用指标-指标名称必须是这个“FSYYYQ”JRCJL:VOL;ZRCJL:REF(VOL,1);2、建立分时主图指标。
分时主图里面显示要素:昨日成交量、今日成交量,竞价量、开盘涨幅、今日成交量和昨日成交量比。
还又日期、星期,板块行业、概念提示。
3、所有的文字提示都是早晨在左边,下午在右边。
盘中根本就不因为文字遮掩而影响看分时。
{年月日}DA:=YEAR AND MONTH AND DAY;AA1:=STRCAT(CON2STR(YEAR,0),'年');AA2:=STRCAT(CON2STR(MONTH,0),'月');AA3:=STRCAT(CON2STR(DAY,0),'日');AA4:=STRCAT('【',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF (WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'】');DRAWTEXT_FIX(DA AND FROMOPEN<120,0.87,0,0,AA),COLORYELLOW;DRAWTEXT_FIX(DA AND FROMOPEN>=120,0,0,0,AA),COLORYELLOW;{板块概念}DRAWTEXT_FIX(1 AND FROMOPEN<120,0.5,0,0,DYBLOCK),COLORWHITE;DRAWTEXT_FIX(1 AND FROMOPEN<120,0.55,0,0,HYBLOCK),COLORYELLOW;DRAWTEXT_FIX(1 AND FROMOPEN<120,0.6,0,0,GNBLOCK),COLORYELLOW;DRAWTEXT_FIX(1 AND FROMOPEN>=120,0.12,0,0,DYBLOCK),COLORWHITE;DRAWTEXT_FIX(1 AND FROMOPEN>=120,0.17,0,0,HYBLOCK),COLORYELLOW;DRAWTEXT_FIX(1 AND FROMOPEN>=120,0.21,0,0,GNBLOCK),COLORYELLOW;昨成交量:="FSYYYQ.ZRCJL#DAY"/10000;{万手}今成交量:="FSYYYQ.JRCJL#DAY"/10000;{万手}竞价量:=DYNAINFO(15)/DYNAINFO(4)/1000000;{万手}开盘涨幅:=(DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*100;今昨量比:=今成交量/昨成交量*100;DRAWTEXT_FIX(1,IF(FROMOPEN>=120,0.001,0.5),0.99,0,STRCAT('【昨成交量】',STRCAT(CON2STR(昨成交量,2),'万手')))COLORYELLOW;DRAWTEXT_FIX(1,IF(FROMOPEN>=120,0.14,0.64),0.99,0,STRCAT('【今成交量】',STRCAT(CON2STR(今成交量,2),'万手')))COLORYELLOW;DRAWTEXT_FIX(1,IF(FROMOPEN>=120,0.28,0.78),0.99,0,STRCAT('【今昨量比】',STRCAT(CON2STR(今昨量比,2),'%')))COLORYELLOW;DRAWTEXT_FIX(1,IF(FROMOPEN>=120,0.001,0.5),0.90,0,STRCAT('【竞价量】',STRCAT(CON2STR(竞价量,2),'万手')))COLORYELLOW;DRAWTEXT_FIX(1,IF(FROMOPEN>=120,0.14,0.64),0.90,0,STRCAT('【开盘涨幅】',STRCAT(CON2STR(开盘涨幅,2),'%')))COLORYELLOW;。
分时主图通达信指标公式源码
叶子分时主图:均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;T:=0;RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100)/2; K:=SMA(SMA( RSV,18,1),3,1);D:=MA(EMA(K,18),3);J:=3*K-2*D;DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEA:=EMA(DIFF,18);多头:=(-3*(DIFF-DEA))*2;LC:=REF(CLOSE,1);RSI:=((SMA(MAX(CLOSE - LC,0),4.1,1))/(SMA(ABS(CLOSE - LC),4.1,1)))*(100);买:=(CROSS(RSI,11))*(80) AND J<-20,COLORRED;VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100,COLOR RED;卖:= CROSS(82,VARR1) AND C/(SUM(AMOUNT,0)/SUM(VOL*100,0))>1.01 AND 多头>6,COLORGREEN ;DRAWTEXT(买,L * 0.998,'B'),LINETHICK5 ,COLORRED;DRAWTEXT(卖,H*1.002,'卖'),LINETHICK5 ,COLORGREEN;DRAWICON(买,L,25);DRAWICON(卖,H,27);叶子分时:VAR0:=(EMA(CLOSE,5) * 7 + EMA(CLOSE,10) * 3)/10;VAR1:=SUM((CLOSE - VAR0)/VAR0 * 100 + 20,1);VAR2:=SUM((HIGH - VAR0)/VAR0 * 100 + 20,1);VAR3:=SUM((LOW - VAR0)/VAR0 * 100 + 20,1);VAR4:=SUM(VAR1 - VAR2,1);VAR5:=SUM(VAR1 - VAR3,1);VAR6:=SUM(CLOSE - VAR0,1);VAR7:=MA(VAR6,8);VAR8:=(CLOSE - LLV(LOW,60))/(HHV(HIGH,60) - LLV(LOW,60)) * 80;VAR9:=SMA(VAR8,7,1);VAR10:=SMA(VAR9,5,1);VAR11:=REF(CLOSE,1);VAR12:=SMA(MAX(CLOSE - VAR11,0),12,1)/SMA(ABS(CLOSE - VAR11),12,1) * 100; VAR13:=SMA(MAX(CLOSE - VAR11,0),18,1)/SMA(ABS(CLOSE - VAR11),18,1) * 100; VAR14:=MA(3 * VAR12 - 2 * SMA(MAX(CLOSE - VAR11,0),16,1)/SMA(ABS(CLOSE - VAR11),16,1) * 100,3);VAR15:=EMA(VAR14,8);VAR16:=IF(CROSS(VAR6,VAR7) AND VAR15 < 40 AND VAR10 < 40 AND VAR7 <0,-15,-30);VAR17:=IF((CLOSE - VAR0)/VAR0 * 100 < -10,-11,-20);VAR18:=REF(VAR17,1);VAR19:=IF(CROSS(VAR7,VAR6) AND VAR10 > 60 AND VAR15 > 70 AND VAR7 >0,15,20);T:=0;RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100)/2;K1:=SMA(SMA( RSV,18,1),3,1);D1:=MA(EMA(K1,18),3);J1:=3*K1-2*D1;买:FILTER(IF(CROSS(VAR6,VAR7) AND VAR15 < 40 AND VAR10 < 40 AND VAR7 < 0,-15,-30)=-15,10) AND J1<-10,COLORRED;DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEA:=EMA(DIFF,18);多头:=(-3*(DIFF-DEA))*2;卖:FILTER(VAR19=15,5) AND 多头>2.5,COLORGREEN;。
分时横盘突破指标(分时主图源码思路贴图)
分时横盘突破指标(分时主图源码思路贴图)思路:1、确定开盘-13m 、13m-34m 、34m-68m段的高低点;2、开盘13m-34m段的高低点分别大于开盘13m段的高低点;3、开盘34m-68m段的高低点分别大于开盘13m-34m段的高低点或者……。
说明:1、源码加入分时主图,注意我贴图中的红虚线即为信号处。
2、13、34、68等参数可自己调整。
3、注意结合量比、买卖盘等其他指标。
4、开盘68m内可能发生信号漂移。
5、仅是一个思路的公式化,未经实战验证,估计成功率不会太高,追求100%成功率者请略过。
分钟数:=BARSCOUNT(close);KP13:=TIME0<34980;KP13G:=c=HHV(c,分钟数) AND KP13;g13SJ:=BARSLAST(KP13G);G13线:REF(c,g13SJ),dotline,COLORffff00;KP13D:=c=llV(c,分钟数) AND KP13;d13SJ:=BARSLAST(KP13d);D13线:REF(c,d13SJ),dotline,COLORffff00;KP21:=TIME0<36240;KP21G:=c=HHV(c,分钟数-13) AND KP21;g21SJ:=BARSLAST(KP21G);G21线:REF(c,g21SJ),dotline,COLORRED;KP21D:=c=llV(c,分钟数-13) AND KP21;d21SJ:=BARSLAST(KP21d);D21线:REF(c,d21SJ),dotline,COLORRED; KP34:=TIME0<38280;KP34G:=c=HHV(c,分钟数-34) AND KP34;g34SJ:=BARSLAST(KP34G);G34线:REF(c,g34SJ),dotline,COLORDDFFFF; KP34D:=c=llV(c,分钟数-34) AND KP34;d34SJ:=BARSLAST(KP34d);D34线:REF(c,d34SJ),dotline,COLORDDFFFF; tj01:=G21线>G13线 and D21线>D13线; tj02:=G34线>G21线 and D34线>D21线; tj03:=G34线>D21线 and D34线>G13线; xg:tj01 and (tj02 or tj03),linethick0; VERTLINE(zf<5 and xg,2);。
通达信经典分时主图源码指标公式.docx
DRAWGBK(0>=0Z RGB(60,35,0)Z RGB(0,60,60),0;背景图:0)丄INETHICK2;—额外―——Z1:=STRCAT(DYBLOCK,'');Z2:=STRCAT(Z1,HYBLOCK);Z3:=STRCAT(Z2;');Z4:=STRCAT(Z3, G N B LOCK);Z5:=STRCAT(Z4; *);Z6 :=STRCAT(Z5, FGBLOCK);DRAWTEXT_FIX(ISLASTBAR,0.01,0.012,0,STRCAT(Z6,ZHBLOCK)),COLORCYAN;DRAWTEXT_FIX(ISLASTBAR z0,0.14z0z STRCATCM 念:;GNBLOCK)),COLORWHITE;Al:=(VOL/CLOSE)/3;A2:=SUM((IF(((Al>40) AND (CLOSE>(REF(CLOSE,l)))),Al z O))z O);A3:=SUM((IF(((Al>40) AND (CLOSE<(REF(CLOSE,1)))),Al,0)),0);A4:=SUM((IF(((Al<40) AND (CLOSE>(REF(CLOSE,l)))),Al z O))z O);突破:=REF(EMA(C,14),1);AlX:=(EMA(C z10)-突破)/ 突破*100;多方:=IF(A1X>=0,REF(EMA(C Z10),BARSU\ST(CROSS(A1X,0))+1)Z DRAWNULL);空方:=IF(A1X<0Z REF(EMA(C,10)Z BARSLAST(CROSS(0Z A1X))+1),DRAWNULL); STICKLINE(AlX>=0,多方,突破Z0,0),COLOR000099;STICKLINE(A1X<O Z空方,突破,O z O),COLOROOCC66;最新:CLOSE,LINETHICK1,COLORWHITE;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB: = BETWEEN(C/AA,C+H Z C-H);DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(‘ 涨厶\CON2STR(最新,2))),COLORMAGENTA;DRAWTEXT( ISLASTBAR AND 最新vREF(最新,1),最新,STRCAT(‘ 跌^:CON2STR(最新,2))),COLOROOFFOO;DRAWTEXT_FIX(l,0.880,1-0.97,0,DYBLOCK),COLORWHITE;DRAWTEXT_FIX(l,0.940,1-0.97,0,HYBLOCK),COLORYELLOW;均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW 丄INETHICK1;DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW Z34))*100;FSZX:=(EMA(DXJP z3)-50)*2z COLORGRAY;BGTYU:=IF(DATE< = 1150530,l,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT Z BARSCOUNT((DCLOSE*BGTYU)) )/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU)Z BARSCOUNT((DCLOSE*BGTYU))),(SUM(AM OUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU))) ));DRAWICON(FSZX<=-95,C,38);DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),C;板COLORCYAN; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02)Z C;追COLORYELLOW;H1: = MAX(DYNAINFO(3)Z DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=Ll+Pl*7/8,COLORGREEN;支撑:=Ll+Pl*0・5/8,COLORMAGENTA;DRAWICON(LONGCROSS(支撑Z C Z2)Z C Z5);AYGB1:=(DVOL/C)/2,NODRAW;AYGB2:=SUM(IF(AYGBl>100 AND CLOSE〉REF(CLOSE」),AYGB1,0),0);AYGB3:=SUM(IF(AYGBl>100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB4:=SUM(IF(AYGBl<100 AND CLOSE〉REF(CLOSE,1),AYGB1,0),0);AYGB5:=SUM(IF(AYGBl<100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB6:=AYGB2+AYGB3+AYGB4+AYGB5;机买:=(AYGB2/AYGB6)*100-100,LINETHICK1,COLORRED;机卖:=(AYGB3/AYGB6)*100-100,LINETHICKl,COLORGREEN;主力差:=机买•机卖;LQH:=主力差>0 AND REF(主力差,1)<=0;DRAWICON(LQH,C,25);JJ XX:=IF(BETWEEN(C/(SUM(AMOUNT Z0)/SUM(VOL*100,0)),1.05Z0.95)=0Z MA(C,0),(SUM( AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;刀XXH:=(JJXX* 1.007 ),COLORFF6600;FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;HHPP:=((HHV(CLOSE Z BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)< 1;HHZZ: = HHPP AND FFLL AND (C>JJXXH);TTPP2:=FILTER(HHZZ,100);DRAWICON(TTPP2,C,26);ZS:=DYNAINFO(3);KP:=DYNAINFO(4);ZX:=DYNAINFO(7);ZG: = DYNAINFO(5);ZD: = DYNAINFO(6);分时均价线:SUM(C*V,240)/SU 叫V,240),COLORYELLOW;RC: = DYNAINFO( 3);量比超2.5:=IF(DYNAINFO(17)>2.5,RCO15,DRAWNULL),COLORFF9933;量比超5:=IF(DYNAINFO(1 刀>5,RC・0・15,DRAWNULL),COLORBA75FF; DRAWBAND(量比超2.5Z RGB(51,153,255),量比超2.5+0.015,RGB(51,153,255));DRAWBAND(量比超5Z RGB(255Z118,188)Z量比超5+0.015z RGB(255z118,188));{首次起爆}TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:SUM(C*V,TT)/SUM(V,TT),LINETHICK1,COLOROOFFE1;{分时均线的取值}量两步:=MA(V Z5)>REF(MA(V Z5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:=C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黃AND V>MA(V,5);量起爆:=V>=REF(V, 1)*2 ;价创新高:=C>=HHV(C z0);量创新高:=V>=HHV(V z0);对昨Fl涨幅:=C/DYNAINFO(3)< = 1.02;{涨幅控制2个点以内}每日一点:=量两步AND价两步AND价上岗量破5 AND量起爆AND价创新高AND量创新高AND对昨日涨幅;{计算收益、己爆分钟}VC:=BARSSINCE(每日一点)+1;首次起爆价:REF(C,VC-1),NODRAW;今天收益:(DYNAINFO(7)・首次起爆价)/首次起爆价*100,NODRAW;起爆时间:REF(TIME/10000Z VC)Z NODRAW;己爆分钟:VC・1,NODRAW;首次起爆量二REF(VOL Z VC-1);DRAWICON(已爆分钟>=2,RC・0・l,ll);{出现金手指,至少已经确认2分钟了};R1:=MA(C,13);R2:=SMA(R1Z5,2);DRAWBAND(R1Z RGB(255A125),R2Z RGB(0Z1H,255));C,LINETHICK2,COLORDDDDDD;{涨停}地:=DYNAINFO(11)+(DYNAINFO(11)*0.021);涨停:IF(DYNAINFO( 7)> 地,1,0),NODRAW,COLOR0088FF;涨:=IF(涨停=1,C+0.0075,DRAWNULL),COLOR8000FF 丄INETHICK2; DRAWBAND(涨,RGB(255,211,0),C・0・0075,RGB(255,125,0));时间:=TIME=100000;N:=BARS3ST(时间);常数:=CONST(IF(N=O z C,REF(C,N)))z COLORGREEN,DOTLINE;CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N)));CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N)));STICKLINE(时间=1,CS1Z CS2,1.2,0),COLOR008888;{涨停2}AAZ:=BARSLAST(TIME=103000);CC:=REF(HHV(C,O),AAZ+1);W:=REF(HHV(V,O),AAZ+1);ZF:=CC/DYNAINFO(3)<1.05;涨停2:=CR0SS(C,CC) AND V>W AND ZF.COLOROOOOFF; DRAWICON(涨停2Z RC-0.06Z13);A:=O>C AND C>REF(C,1) AND O/REF(C,l)>1.03; DRAWTEXT(ABS(A)>O Z L,'假阴COLORYELLOW; 均价5:AMOUNT/VOL/100Z NODRAW;假阴0:=O>C AND 均价5>REF(C,1);DRAWTEXT(假阴0z L-0.2;假阴真阳)COLORE8E8E8;STICKLINE(假阴0,O z C z l,0),COLORRED; 时间N:=TIME=100000;NN:=BARSU\ST(时间N),COLOR808080;常数N:CONST(IF(NN=0,C,REF(C Z N)))Z COLOR004848,DOTLINE;。
通达信精准分时分时主图指标贴图无未来
通达信精准分时分时主图指标贴图⽆未来⾃⽤珍藏指标,让你做到⾼抛低吸,锁住利润,指标⽆未来,放⼼使⽤。
⽤法:分时线在粉⾊线上⾯,以做多为主,出红块就做多!分时线在绿⾊线下⾯,做空为主,出绿块就做空单。
粉⾊线和绿⾊线是决定多、空⼤⽅向的两条线,⼀定要顺势⽽为。
刚开盘前⼏分钟红块、绿块可能看不见,你可以把分时调成两⽇分时,就可以看到了,过⼀会等出现红、绿块之后再调回⼀⽈分时就⾏了。
你也可以⽤在K线幅图上,⼀开盘就可以⽤,红、绿块对应每根K线,1分钟到1⽈,各周期都能⽤。
A1:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;A2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,10)+EMA((OPEN+HIGH+LOW+CLOSE)/4,20))/3; A3:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,14)+EMA((OPEN+HIGH+LOW+CLOSE)/4,28))/3; A4:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,18)+EMA((OPEN+HIGH+LOW+CLOSE)/4,36))/3; A5:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22)+EMA((OPEN+HIGH+LOW+CLOSE)/4,44))/3; A6:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,52))/3; A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3; VAR1:=FORCAST(A1,6);VAR2:=FORCAST(A2,6);VAR3:=FORCAST(A3,6);VAR4:=FORCAST(A4,6);VAR5:=FORCAST(A5,6);VAR6:=FORCAST(A6,6);VAR7:=FORCAST(A7,6);IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),POINTDOT,COLORFF00FF;IF(VAR1<REF(VAR1,1),VAR1,DRAWNULL),POINTDOT,COLOR00FF00;IF(VAR2>REF(VAR2,1),VAR2,DRAWNULL),POINTDOT,COLORFF00FF;IF(VAR2<REF(VAR2,1),VAR2,DRAWNULL),POINTDOT,COLOR00FF00;IF(VAR3>REF(VAR3,1),VAR3,DRAWNULL),POINTDOT,COLORFF00FF;IF(VAR3<REF(VAR3,1),VAR3,DRAWNULL),POINTDOT,COLOR00FF00;IF(VAR4>REF(VAR4,1),VAR4,DRAWNULL),POINTDOT,COLORFF00FF;IF(VAR4<REF(VAR4,1),VAR4,DRAWNULL),POINTDOT,COLOR00FF00;IF(VAR5>REF(VAR5,1),VAR5,DRAWNULL),POINTDOT,COLORFF00FF;IF(VAR5<REF(VAR5,1),VAR5,DRAWNULL),POINTDOT,COLOR00FF00;IF(VAR6>REF(VAR6,1),VAR6,DRAWNULL),POINTDOT,COLORFF00FF;IF(VAR6<REF(VAR6,1),VAR6,DRAWNULL),POINTDOT,COLOR00FF00;IF(VAR7>REF(VAR7,1),VAR7,DRAWNULL),LINETHICK2,COLORFF00FF;IF(VAR7<REF(VAR7,1),VAR7,DRAWNULL),LINETHICK2,COLOR00FF00;TOWERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6);DIRECTIONMAX:=MAX(REF(TOWERC,1),REF(TOWERC,1));DIRECTIONMIN:=MIN(REF(TOWERC,1),REF(TOWERC,1));STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,4,0),COLOR0000FF;STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,DIRECTIONMIN,4,0),COLOR00FF00;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'019',0);资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金流量:=资金出入,COLORFFFFFF,LINETHICK1;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));增强流量比:=IF(资金流量比>50,资金流量比,50);攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;攻击流量:=攻击量A+攻击量B,COLORSTICK;NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));攻击度限制:=IF(资金攻击度>100,100,IF(资金攻击度<0,0,资金攻击度));增强攻击度:=IF(资金攻击度>50,资金攻击度,50);开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (资金流量>0 AND 资金流量>攻击流量));开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;Q:=250;高点:=HHV(C,Q);低点:=LLV(C,Q);最高:=CONST(高点),NODRAW;最低:=CONST(低点),NODRAW;轴差:=最高-最低;中价轴:=(最高+最低)/2;HL3:=(100-0)/2*1.3;HL4:=(100-0)/1*1.3;中间价轴:=(50-HL3)*轴差/HL4+中价轴;平安轴:=(中价轴+中间价轴)/2;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL* 100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARS COUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));起动线:=EXPMA((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT;主力线:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2;散户线:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2;限制起动线:=起动线*中间价轴;限制主力线:=主力线*中间价轴;限制散户线:=散户线*中间价轴;主散MIN:=MIN(限制主力线,限制散户线);{分时转强:=主散MIN>金龙线AND ((LONGCROSS(限制主力线,金龙线,2) OR CROSS(限制主力线,限制散户线)) OR (限制主力线>限制散户线AND LONGCROSS(牵引线,金龙线,2)));}DRAWBAND(限制主力线,RGB(250,125,0),限制散户线,RGB(0,100,250));STICKLINE(起动线<主力线,限制起动线,限制主力线,1.0,0),COLOR00FF00;STICKLINE(起动线>主力线,限制起动线,限制主力线,1.0,0),COLORFFFFFF;STICKLINE(VOL>EMA(VOL,60) AND 起动线>主力线,限制起动线,限制主力线,1,0),COLORFF00FF; STICKLINE(VOL>EMA(VOL,30) AND 起动线>主力线AND 起动线>1.01 AND 起动线>REF(起动线,1),限制起动线,限制主力线,1,0),COLOR00FFFF;主力:限制主力线,COLORFFFFFF,LINETHICK1;分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;追击涨停:=限制散户线>分时均价线AND CROSS(C,限制散户线);拉升量:=IF(C>REF(C,1),VOL,0);昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*1 ;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破 5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;{计算收益、已爆分钟}VV:=BARSSINCE(每日一点)+1;首次起爆价:=REF(C,VV-1),NODRAW;今天收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;流通盘:=CAPITAL*100/100000000,NODRAW;起爆时间:=REF(TIME/10000,VV),NODRAW;已爆分钟:=VV-1,NODRAW;{画出底线和红球}首次起爆量:=REF(VOL,VV-1);STICKLINE(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,最低,1,0),COLORCYAN; DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,27);DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,'∠量突破'),COLORCYAN; STICKLINE(FILTER(每日一点,30),最低+轴差*0.75,最低,1,0),COLORGREEN;DRAWICON(FILTER(每日一点,30),最低+轴差*0.75,13);DRAWTEXT(FILTER(每日一点,30),最低+轴差*0.75,'∠起爆'),COLORGREEN;DRAWNUMBER(FILTER(每日一点,30),最低+(C-最低)/2,首次起爆价),COLORWHITE;{DRAWTEXT_FIX(每日一点=1,0.00,0.10,0,'当起爆突破时:20线上行+日价K线突破+日K线量起爆更好+估换手小于10%更有效'),COLORMAGENTA;}TA:=BARSLAST(TIME=100000);TC:=REF(HHV(C,0),TA+1);TV:=REF(HHV(V,0),TA+1);ZF:=C/DYNAINFO(3)<1.05;XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;TA1:=BARSLAST(TIME=110000);CC1:=REF(HHV(C,0),TA1+1);VV1:=REF(HHV(V,0),TA1+1);ZF1:=CC1/DYNAINFO(3)<1.05;XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW;突破:=XG1 OR XG2,COLORRED;STICKLINE(FILTER(突破=1,15),最低+轴差*0.60,最低,1,0),COLORWHITE;DRAWICON(FILTER(突破=1,15),最低+轴差*0.60,17);DRAWTEXT(FILTER(突破=1,15),最低+轴差*0.60,'∠分时突破'),COLORWHITE;STICKLINE(FILTER(开始攻击量=1,15),最低+轴差*0.45,最低,1,0),COLORMAGENTA;STICKLINE(FILTER(开始攻击=1,30),最低+轴差*0.30,最低,1,0),COLORYELLOW;STICKLINE(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),最低+轴差*0.15,最低,1,0),COLORCYAN;DRAWICON(FILTER(开始攻击量=1,15),最低+轴差*0.45,24);DRAWICON(FILTER(开始攻击,30),最低+轴差*0.30,23);DRAWTEXT(FILTER(开始攻击量=1,15),最低+轴差*0.45,'∠攻击量'),COLORMAGENTA;DRAWTEXT(FILTER(开始攻击,30),最低+轴差*0.30,'开始攻'),COLORYELLOW;DRAWTEXT(FILTER(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),30),最低+轴差*0.15,'★迹'),COLORCYAN;DRAWICON(FILTER(CROSS(起动线,1.01),30),限制散户线,17);DRAWTEXT(FILTER(CROSS(起动线,1.01),30),最低,'可能涨停'),COLORMAGENTA;DRAWTEXT(FILTER(追击涨停,30),分时均价线+(限制散户线-分时均价线)/2,'追击'),COLORRED;预警公式:资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN);资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN);资金出入:=资金流入+资金流出;资金流量:=资金出入,COLORFFFFFF,LINETHICK1;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));增强流量比:=IF(资金流量比>50,资金流量比,50);攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0; 攻击流量:=攻击量A+攻击量B;NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));攻击度限制:=IF(资金攻击度>100,100,IF(资金攻击度<0,0,资金攻击度));增强攻击度:=IF(资金攻击度>50,资金攻击度,50);开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (资金流量>0 AND 资金流量>攻击流量));开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;Q:=250;高点:=HHV(C,Q);低点:=LLV(C,Q);最高:=CONST(高点);最低:=CONST(低点);轴差:=最高-最低;中价轴:=(最高+最低)/2;HL3:=(100-0)/2*1.3;HL4:=(100-0)/1*1.3;中间价轴:=(50-HL3)*轴差/HL4+中价轴;平安轴:=(中价轴+中间价轴)/2;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU )))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(A MOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTY U)))));起动线:=EXPMA((CLOSE/VBNH),20)*1;主力线:=EXPMA((CLOSE/VBNH),60)*1;散户线:=EXPMA((CLOSE/VBNH),120)*1;限制起动线:=起动线*中间价轴;限制主力线:=主力线*中间价轴;限制散户线:=散户线*中间价轴;主散MIN:=MIN(限制主力线,限制散户线);{分时转强:=主散MIN>金龙线AND ((LONGCROSS(限制主力线,金龙线,2) OR CROSS(限制主力线,限制散户线)) OR (限制主力线>限制散户线AND LONGCROSS(牵引线,金龙线,2)));}DRAWBAND(限制主力线,RGB(250,125,0),限制散户线,RGB(0,100,250));STICKLINE(起动线<主力线,限制起动线,限制主力线,1.0,0),COLOR00FF00;STICKLINE(起动线>主力线,限制起动线,限制主力线,1.0,0),COLORFFFFFF;STICKLINE(VOL>EMA(VOL,60) AND 起动线>主力线,限制起动线,限制主力线,1,0),COLORFF00FF;STICKLINE(VOL>EMA(VOL,30) AND 起动线>主力线AND 起动线>1.01 AND 起动线>REF(起动线,1),限制起动线,限制主力线,1,0),COLOR00FFFF;主力:限制主力线,COLORFFFFFF,LINETHICK1;分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;追击涨停:=限制散户线>分时均价线AND CROSS(C,限制散户线);拉升量:=IF(C>REF(C,1),VOL,0);昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0));攻击力度:=今拉升最高值/昨拉升最高值;TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*1 ;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破 5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;VV:=BARSSINCE(每日一点)+1;首次起爆价:=REF(C,VV-1);今天收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100;流通盘:=CAPITAL*100/100000000;起爆时间:=REF(TIME/10000,VV);已爆分钟:=VV-1;TA:=BARSLAST(TIME=100000);TC:=REF(HHV(C,0),TA+1);TV:=REF(HHV(V,0),TA+1);ZF:=C/DYNAINFO(3)<1.05;XG1:=CROSS(C,TC) AND V>TV AND ZF;TA1:=BARSLAST(TIME=110000);CC1:=REF(HHV(C,0),TA1+1);VV1:=REF(HHV(V,0),TA1+1);ZF1:=CC1/DYNAINFO(3)<1.05;XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1;突破: XG1 OR XG2;。