【股票指标公式】-【通达信】分时阻击涨停(分时图)
通达信指标公式源码 捉强势分时主图指标
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,;。
通达信指标公式源码分时趋势(分时副图)
分时趋势(分时副图)源码如下: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,COLORBROWN;支撑绿色:L1+P1*0.5/8,COLOR00DD00;现价:CLOSE,COLORWHITE,LINETHICK2;STICKLINE(CROSS(支撑绿色,现价),支撑绿色,阻力棕色,1,0),COLORYELLOW; BG:=IF(DATE<=1150530,1,0);GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/ SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUN T,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG))))); 快趋势线:EXPMA((DCLOSE/VB),21),COLORYELLOW,NODRAW;慢趋势线:EXPMA((DCLOSE/VB),54),COLORGREEN,NODRAW;A1:=C/快趋势线;A2:=C/慢趋势线;A:=IF(C/快趋势线=A1,快趋势线*A1,快趋势线);B:=IF(C/慢趋势线=A2,慢趋势线*A2,慢趋势线);顶点:=IF(CURRBARSCOUNT<=330,CONST(IF(ISLASTBAR=1,HHV(A,BARSLAST(CURRBARSCOUNT=100)),1)),DRAWNULL),COLORCC3299, DOTLINE;低点:=IF(CURRBARSCOUNT<=330,CONST(IF(ISLASTBAR=1,LLV(A,BARSLAST(CURRBARSCOUNT=100)),1)),DRAWNULL),COLORLIGREEN, COLORBROWN,DOTLINE;中线:(顶点+低点)/2,COLORBLUE;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:=EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;BB:=(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10); CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);见顶清仓:=STICKLINE(趋势线>=90 AND V12,中线,A,2,0),COLORCYAN; STICKLINE(快趋势线>1 AND 快趋势线>REF(快趋势线,1) AND 快趋势线>慢趋势线,A,MA30,1,0),COLORMAGENTA;B1:A,LINETHICK1;B2:B,LINETHICK1;B3:MA30,LINETHICK1;DRAWICON(CCC,A,12);DRAWICON(BB,A,23);DRAWICON(CROSS(快趋势线,中线),A,1);DRAWICON(CROSS(慢趋势线,中线) AND (快趋势线>中线),中线-0.002,15); DRAWICON(CROSS(快趋势线,慢趋势线),B,13);DRAWICON(CROSS(慢趋势线,快趋势线),B,2);DRAWTEXT(CROSS(中线,快趋势线),中线,'注意'),COLORWHITE; DRAWTEXT(CROSS(EXPMA((DCLOSE/VB),20),1),A-0.025,'涨'),COLORRED; DRAWTEXT(BB,A-0.015,'↑补仓'),COLORLIRED;DRAWTEXT(CROSS(快趋势线,中线),A-0.055,'↑买进'),COLORYELLOW; DRAWTEXT(LONGCROSS(支撑绿色,现价,2),支撑绿色*1.001,'↑B'),COLORYELLOW;DRAWTEXT(LONGCROSS(现价,阻力棕色,2),现价,'↓抛'),COLORGREEN;。
分时买点追击涨停通达信指标公式源码
分时起爆点(副图)分时买点,追击涨停!昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-1*FK*3.22;Q3:=昨收-5*FK*3.2;TJ:=FILTER(C,239)>0,NODRAW;TJJ:=SUM(TJ,0),NODRAW;TJA:=CONST(TJJ),NODRAW;流通盘:CAPITAL*100/100000000,NODRAW;资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;NN:=2400;HD:=HHV(资金出入,NN);LD:=LLV(资金出入,NN);最高:=CONST(HD),NODRAW;最低:=CONST(LD),NODRAW;HLMAX:=最高;HLMIN:=最低;HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=(100-0)/2*1.3;HLMN4:=(100-0)/1*1.3;中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;轴差:=最高-最低;DRAWBAND(资金出入,RGB(150,0,150),0,RGB(0,100,0));资金流量:资金出入,COLORFFFFFF,LINETHICK1;资金比:资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));攻击量:=((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,COLORSTICK;NOTEXT攻击线:攻击流量,COLORYELLOW,LINETHICK1;攻击比:攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));{STICKLINE(资金流量A>0,资金流量A,0,1,0),COLOR0000FF;STICKLINE(资金流量B<0,资金流量B,0,1,0),COLORFF0000;}DRAWRECTREL(110,10,400,90,RGB(0,75,200));DRAWRECTREL(110,10,250,90,RGB(0,250,50));DRAWRECTREL(110,10,100+CONST(资金流量比*300/100),90,RGB(200,50,0)); DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORYELLOW;DRAWRECTREL(610,10,900,90,RGB(0,75,200));DRAWRECTREL(610,10,750,90,RGB(0,250,50));DRAWRECTREL(610,10,600+CONST(资金攻击度*300/100),90,RGB(175,50,0)); DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORYELLOW;量:=VOL,VOLSTICK;五日量:=MA(量,5),COLORWHITE;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<=1.50;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;{计算收益、已爆分钟}VV:=BARSSINCE(每日一点)+1;首次起爆价:=REF(C,VV-1),NODRAW;起爆收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;起爆时间:=REF(TIME/10000,VV),NODRAW;已爆分钟:=VV-1,NODRAW;{画出底线和红球}首次起爆量:=REF(VOL,VV-1);DRAWICON(已爆分钟>=2,最低,8);{出现8,至少已经确认2分钟了};MMA30:=EMA(CLOSE,30);强弱界定:=IF(PERIOD=0 ,EMA(CLOSE,900),DRAWNULL);分时均价线:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;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(AM OUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU))) ));二十☆:=EXPMA((DCLOSE/VBNH),20),COLORRED,LINETHICK1;六十★:=EXPMA((DCLOSE/VBNH),60),COLORLIGREEN,LINETHICK1;FAA:=BARSLAST(TIME=100000);FCC:=REF(HHV(C,0),FAA+1);FVV:=REF(HHV(V,0),FAA+1);ZF:=FCC/DYNAINFO(3)<1.05;XG1:=CROSS(C,FCC) AND V>FVV AND ZF,COLORWHITE;FAA1:=BARSLAST(TIME=110000);FCC1:=REF(HHV(C,0),FAA1+1);FVV1:=REF(HHV(V,0),FAA1+1);ZF1:=FCC1/DYNAINFO(3)<1.05;XG2:=CROSS(C,FCC1) AND V>FVV1 AND ZF1,COLORYELLOW;突破:=XG1 OR XG2,COLORRED;VT:=BARSSINCE(突破)+1;首次突破价:=REF(C,VT-1),NODRAW;突破收益:(DYNAINFO(7)-首次突破价)/首次突破价*100,NODRAW;拉升量:=IF(C>REF(C,1),VOL,0);昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;STICKLINE(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.80,最低,1,0),COLORCYAN;STICKLINE(每日一点,最低+轴差*0.65,最低,1,0),COLORMAGENTA;STICKLINE(突破,最低+轴差*0.50,最低,1,0),COLORWHITE;STICKLINE(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),最低+轴差*0.35,最低,1,0),COLORYELLOW;STICKLINE(FILTER(BARSLAST(C<MIN(MMA30,强弱界定))<=20 ANDCROSS(C,MAX(MMA30,强弱界定)),30),最低,最低+轴差*0.2,1,0),COLORGREEN; DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.80,1); DRAWICON(每日一点,最低+轴差*0.65,1);DRAWICON(突破,最低+轴差*0.50,17);DRAWICON(FILTER(BARSLAST(C<MIN(MMA30,强弱界定))<=20 ANDCROSS(C,MAX(MMA30,强弱界定)),30),最低+轴差*0.2,9);DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.80,'☆攻击'),COLORCYAN;DRAWTEXT(每日一点,最低+轴差*0.65,'∠起爆'),COLORGREEN;DRAWNUMBER(每日一点,最低+轴差*0.55,首次起爆价),COLORGREEN; {DRAWTEXT(CURRBARSCOUNT=160,HHV(V,60)*0.9,'20线上行+日价K线突破+日K线量起爆更好+估换手小于10%时更稳定'),COLORGREEN;};DRAWTEXT(突破,最低+轴差*0.50,'分时突破'),COLORWHITE;DRAWNUMBER(突破,最低+轴差*0.40,首次突破价),COLORWHITE;DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),最低+轴差*0.35,'★迹'),COLORYELLOW;{DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.01),MAX(资金流量,攻击流量),18);}DRAWTEXT(FILTER(BARSLAST(C<MIN(MMA30,强弱界定))<=20 AND CROSS(C,MAX(MMA30,强弱界定)),30),最低+轴差*0.2,'关注'),COLORRED;。
分时狙击涨停通达信指标计算公式源码
分时狙击涨停通达信指标计算公式源码本文档提供涨停通达信指标的计算公式源码,该指标用于分时狙击股票涨停板的交易策略。
指标计算公式源码以下为涨停通达信指标的计算公式源码:导入所需的库import numpy as npimport pandas as pd定义涨停通达信指标计算函数def calculate_zhangting(data):计算涨停通达信指标zhangting = (data['close'] - data['close'].shift(1)) /data['close'].shift(1)zhangting = zhangting.fillna(0)return zhangting使用示例data = pd.read_csv('data.csv') # 读取数据zhangting = calculate_zhangting(data) # 计算涨停通达信指标print(zhangting)指标说明涨停通达信指标是根据股票收盘价的变动情况来判断是否可能出现涨停板的指标。
公式将当天收盘价与前一天收盘价的比值进行计算,如果比值大于0,表示股票价格上涨,可能有出现涨停板的趋势。
如果比值小于等于0,则表示股票价格下跌或持平。
该指标通常用于分时狙击涨停板交易策略中,帮助判断是否存在短期上涨趋势,辅助决策买入或卖出股票。
请注意,本文档提供的源码仅为示例,实际使用时需要根据自己的需求进行适当调整和优化。
以上就是分时狙击涨停通达信指标计算公式的源码和说明。
请根据实际需求使用该指标,并进行相应的风险控制和量化策略。
通达信分时主图通达信指标公式源码
通达信分时主图一、先建引用指标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);四、注意事项分时主图中的红绿箭头是即时动态的,会根据行情变化的,只能参考。
分时涨停通达信指标公式源码
分时涨停通达信指标公式源码通达信指标公式源码是一种编写股票技术指标的代码,通常用于量化交易分析。
分时涨停是指当股价在一定时间内涨幅达到涨停板的情况。
下面是一个使用通达信公式语言编写的分时涨停指标示例源码:```c/*分时涨停指标公式*//*分时涨停=(当前价格-昨收价格)/昨收价格*100*//*若涨幅超过10%,则显示为1000*//*以一个交易日为周期计算涨停*/input n = 1; // 交易周期input limit_up = 10; // 涨停幅度//获取昨收价格prev_close = Ref(C, 1);//计算当前涨停幅度percent = (close - prev_close) / prev_close * 100;//若当前涨停幅度超过限制,则显示为1000if (percent >= limit_up)percent = 1000;//输出涨停幅度Plot(percent, "分时涨停", colorRed, styleLine, Null, Null, n);```上述代码中,`input`语句用于设置输入参数,包括交易周期和涨停幅度。
`prev_close`变量用于获取昨收价格,`percent`变量用于计算当前涨停幅度。
如果涨幅超过涨停幅度限制,将其显示为1000。
最后,使用`Plot`函数输出涨停幅度曲线,参数包括指标数值、指标名称、曲线颜色和样式等。
注意:以上代码仅为示例,具体的指标公式可能根据交易软件和数据源的不同而有所差异,需要根据实际需求进行相应的调整和修改。
用户可以根据自己的需求进行各种参数的设置和指标计算逻辑的编写。
通达信主力资金买卖点分时主图指标公式
通达信主力资金买卖点分时主图指标公式攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FRO MOPEN)/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;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));DRAWTEXT_FIX(1,0.250,0.88,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORCYAN;DRAWTEXT_FIX(1,0.000,0.88,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORCYAN;XG:HHV(H,480),DOTLINE,COLORRED;STICKLINE(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.99,C,8,0),COLORGREEN;DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) ANDC>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) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1;MA1:=REF(C,JY);MA2:=REF(MA1,JY);MA3:=REF(MA2,JY);MA4:=REF(MA3,JY);MA5:=REF(MA4,JY);MA6:=REF(MA5,JY);MA7:=REF(MA6,JY);MA8:=REF(MA7,JY);MA9:=REF(MA8,JY);CK:REFDATE((C+MA1+MA2+MA3+MA4+MA5+MA6+MA7 +MA8+MA9)/10,DATE),COLORAC59FF,CIRCLEDOT;DRAWTEXT(ISLASTBAR,CK,' 参考线'),COLOR0000FF;DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))+DYNAINFO(3);DEA:=EMA(DIF,9);MACD1:=10*(DIF-DEA);MACD2:=EMA(MACD1,2);STICKLINE(MACD1>=MACD2 AND MACD1>=0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR00 00B4;STICKLINE(MACD1<MACD2 AND MACD1>0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR00B 400;STICKLINE(MACD1>=MACD2 AND MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR5151A2;STICKLINE(MACD1<MACD2 AND MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR887 43A;XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARS COUNT(CLOSE));主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);底:=1;1.02,NODRAW;高:=1.03;DRAWTEXT(CROSS(主力,1.02),C*0.999,'-拉升'),COLORCYAN;DRAWICON(CROSS(主力,1.04),C,24);DRAWTEXT(CROSS(主力,1.04),C*0.999,'-冲涨停'),COLORLIMAGENTA;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;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;DRAWTEXT(LONGCROSS(支撑,C,2),C,'买'),COLORYELLOW;DRAWTEXT(LONGCROSS(C,阻力,2),C,'卖'),COLORGREEN;量价:=(VOL/CLOSE)/3;B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);B6:=B2+B3;DD1:=1;比:=B2/B3;BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');BBB3:=STRCAT(STRCAT('差= ',CON2STR((100*(B2-B3))/B6,0)),'%');DRAWTEXT_FIX(DD1=1,0,0.70,0,BBB1),COLORRED;DRAWTEXT_FIX(DD1=1,0,0.75,0,BBB2),COLORGREEN;DRAWTEXT_FIX(DD1=1,0,0.80,0,BBB3),COLOR00FFFF;。
通达信公式给大家分享两个利用分时图当天抓涨停板地公式【很准】
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】LTA:=FINANCE(7)+300000000;GB:=2*IF(FINANCE(7)C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIMET:=IF(V1(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLO OR(V1/10000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 ANDDYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)初正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(C1T02:=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正总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:=TKPGD:=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(CLOSE5,COST(20));BB1:=PLOYLINE(CLOSE5,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,DRAWNU LL);{分时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 ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0), COLORFF00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACDSTICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RC C*KK,3,0),COLOR4ABEFF,LINETHICK3;STICKLINE(MACDSTICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED; STICKLINE(DK{多头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,COLOR0000F F;STICKLINE(多头MACD{火焰山及底部信号}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(CLO SE-CLOSE*15/100))*100;FEE:=FCCFA1:=DYNAINFO(6);FA2:=IF(LOW>FA1,0,IF(HIGHFA3:=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 FA6FA9:=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(LOWFVAR5:=IF(FVAR51>20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*1.02,'↑进'),COLOR00FFFF; DRAWTEX T(FA12,(Q2+Q3)/2*1.03,',↑加');主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q 3)/2+FVAR5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5STICKLINE(FVAR5FVAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIG H,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:=FVAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(FVAR8 ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹'); JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA> =0));二次金叉:=CROSS(DIF,DEA) AND DEASTICKLINE(二次金叉,(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 (DIFDRAWTEXT((((CROSS(DIF,DEA) AND ((下- REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF{两个主要买进信号}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 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(LL V(YY,1),30))>0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)横后上涨:=(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 CLOSEAND 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,N ODRAW;冲高:IF(FILTER(CROSS(C,HHHH*1.01),15),1,0),COLOR00FF FF,POINTDOT,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,25 5));DRAWTEXT(过顶,HHHH*1.005,'↑'),COLOR00FF00; DRAWTEXT(冲高,HHHH*1.005,'☆'),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!个人自用极品跟庄分时指标(分时源码附图)注意二点:1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。
通达信神奇分时主图可以精确指标公式
通达信,神奇分时,主图,指标公式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; 期货培训,股票培训:/。
通达信指标公式源码 涨停王 分时副图源码
{买卖}VAR0:=VOL/CLOSE/2;VAR1:=SUM(IF(VAR0 > 100 AND CLOSE > REF(CLOSE,1),VAR0,0),0); VAR2:=SUM(IF(VAR0 > 100 AND CLOSE < REF(CLOSE,1),VAR0,0),0); VAR3:=SUM(IF(VAR0 < 100 AND CLOSE > REF(CLOSE,1),VAR0,0),0); VAR4:=SUM(IF(VAR0 < 100 AND CLOSE < REF(CLOSE,1),VAR0,0),0); VAR5:=VAR1 + VAR2 + VAR3 + VAR4;VAR6:=IF(ISLASTBAR,100 * VAR1/VAR5,0);VAR7:=IF(ISLASTBAR,100 * VAR2/VAR5,0);VAR8:=IF(ISLASTBAR,100 * VAR3/VAR5,0);VAR9:=IF(ISLASTBAR,100 * VAR4/VAR5,0);{机构买:=VAR1;机构卖:=VAR2;散户买:=VAR3;散户卖:=VAR4;}机构买:VAR1,LINETHICK9,COLOR031BFA;机构卖:VAR2,LINETHICK9,COLORFFFF55;散户买:VAR3,COLOR5FFFFF,DOTLINE;散户卖:VAR4,COLOR55FF55,DOTLINE;{DRAWTEXT(CROSS(机构买,1500),2500,'机会'),COLORYELLOW,LAYER0,LINETHICK4;}{DRAWTEXTREL(1003,870,'机构买'),LINETHICK2,COLORRED;DRAWTEXTREL(1003,570,'机构卖'),LINETHICK2,COLORFFFF55; DRAWTEXTREL(1003,320,'散户买'),LINETHICK2,COLORWHITE; DRAWTEXTREL(1003,50,'散户卖'),LINETHICK2,COLORYELLOW;}A787:=BARSSINCE(V>0)+1;均价787:=SUM(C*V,A787)/SUM(V,A787);机:=FILTER(((CROSS(机构买,机构卖) OR (机构卖=0 AND CROSS(机构买,10))) AND C/DYNAINFO(3)>1.001 AND 机构买>机构卖),2400);DRAWTEXT(机AND C/DYNAINFO(3)>0.0113 AND C>=均价787 AND C> DYNAINFO(3),(机构买+1000)*1.35,'机会'),COLORF000FF,LINETHICK5;风:=FILTER(((CROSS(机构卖,机构买) OR (机构买=0 AND CROSS(机构卖,100))) AND DYNAINFO(3)/C>1.0001 AND 机构买<机构卖),2400);风2:=FILTER((CROSS(散户卖,机构买) OR (机构买=0 AND CROSS(机构卖,100))) AND DYNAINFO(3)/C>1.001,2400);DRAWTEXT((风OR 风2) AND DYNAINFO(3)/C>0.0113 AND C<=均价787 AND C< DYNAINFO(3),(机构买+1000)*1.35,'风险'),COLORFFFF00,LINETHICK5;。
通达信涨停分时主图指标公式
通达信涨停分时主图指标公式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;通达信涨停分时主图指标公式实例图解:。
【股票指标公式】-【通达信】分时阻击涨停(分时图)
【通达信】分时阻击涨停(分时图)-指标公式源码涨停预警分时指标选股方法:1.九点三十开盘后打开涨幅榜从高向下选看那只股第一次出现买入信号买入。
2.开盘后看量比排名,量比越大越好,第一次出现买入信号的股买入。
第一,必须是涨幅靠前的个股,特别是涨幅在第一榜的个股。
涨幅靠前,这就给了我们一个强烈的信号:该股有庄,且正往上拉高股价。
其意图无非是,进入上升阶段后不断拉高股价以完成做庄目标;或是在拉高过程中不断收集筹码,以达到建仓目的。
第二,必须是开盘就大幅上阳的个股。
因为,各种主力在开盘前都会制定好当天的操作计划,所以开盘时的行情往往表现了庄家对当天走势的看法。
造成开盘大幅拉升的原因,主要是庄家十分看好后市,准备发动新一轮的个股行情,而开盘就大幅拉升,可以不让散户在低位有接到筹码的机会。
第三,必须是量比靠前的个股。
量比是当日成交量与前五日成交量的比值。
量比越大,说明当天放量越明显,该股的上升得到了成交量的支持,而不是主力靠尾市急拉等投机取巧的手法,来拉高完成的。
第四,必须是股价处于低价圈。
股价处于低价圈时,涨幅靠前、量比靠前的个股,就能说明主力的真实意图在于拉高股价,而不是意在诱多。
若在高价圈出现涨幅靠前、量比靠前的个股,其中可能存在陷阱,参与的风险较大。
虎:(EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*10 0, COLORSTICK;主力:EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE, 500),1)*100,120)-0.0004,LINETHICK5,COLORMAGENTA;散户:EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE, 500),1)*100,200),LINETHICK5,COLORGREEN;DRAWICON(CROSS(EXPMA(虎,120)-0.0004,EXPMA(虎,200)),EXPMA(虎,200)*1,13 );DRAWICON(CROSS(EXPMA(虎,200),EXPMA(虎,120)-0.0004),EXPMA(虎,200)*1,6) ;{}Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.0 5,0.95);Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,B ARSCOUNT(C))));DRAWICON(CROSS((C/Q2),1.03),0.02,6);STICKLINE(CROSS((C/Q2),1.03),0.02,0,4,0),COLORYELLOW;【通达信】分时阻击涨停(分时图)-指标公式效果图(文档来源:好股票网)。
通达信新版综合分时主图指标公式
通达信新版综合分时主图指标公式DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,'11',0); O5:='分时引用.O5#DAY';C5:='分时引用.C5#DAY';H5:='分时引用.H5#DAY';L5:='分时引用.L5#DAY';O4:='分时引用.O4#DAY';C4:='分时引用.C4#DAY';H4:='分时引用.H4#DAY';L4:='分时引用.L4#DAY';O3:='分时引用.O3#DAY';C3:='分时引用.C3#DAY';H3:='分时引用.H3#DAY';L3:='分时引用.L3#DAY';O2:='分时引用.O2#DAY';C2:='分时引用.C2#DAY';H2:='分时引用.H2#DAY';L2:='分时引用.L2#DAY';O1:='分时引用.O1#DAY';C1:='分时引用.C1#DAY';H1:='分时引用.H1#DAY';L1:='分时引用.L1#DAY';O0:=DYNAINFO(4);C0:=DYNAINFO(7);H0:=DYNAINFO(5);L0:=DYNAINFO(6);HH1:=MAX(H1,H2);HH2:=MAX(H3,H4);HH3:=MAX(MAX(H0,H5),MAX(HH1,HH2));LL1:=MIN(L1,L2);LL2:=MIN(L3,L4);LL3:=MIN(MIN(L0,L5),MIN(LL1,LL2));HL:=999/(HH3-LL3);C52:=999-((C5-LL3)*HL);H52:=999-((H5-LL3)*HL);L52:=999-((L5-LL3)*HL);O52:=999-((O5-LL3)*HL);C42:=999-((C4-LL3)*HL);H42:=999-((H4-LL3)*HL);L42:=999-((L4-LL3)*HL);O42:=999-((O4-LL3)*HL);C32:=999-((C3-LL3)*HL);H32:=999-((H3-LL3)*HL);L32:=999-((L3-LL3)*HL);O32:=999-((O3-LL3)*HL);C22:=999-((C2-LL3)*HL);H22:=999-((H2-LL3)*HL);L22:=999-((L2-LL3)*HL);O22:=999-((O2-LL3)*HL);C12:=999-((C1-LL3)*HL);H12:=999-((H1-LL3)*HL);L12:=999-((L1-LL3)*HL);O12:=999-((O1-LL3)*HL);C02:=999-((C0-LL3)*HL);H02:=999-((H0-LL3)*HL);L02:=999-((L0-LL3)*HL);O02:=999-((O0-LL3)*HL);DRAWRECTREL( 8,H52, 8,L52,RGB(IF(C5>=O5,200,0),IF(C5>=O5,0,200),0));DRAWRECTREL( 0,C52,16,O52,RGB(IF(C5>=O5,128,0),IF(C5> =O5,0,128),0));DRAWRECTREL(28,H42,28,L42,RGB(IF(C4>=O4,200,0),IF(C4> =O4,0,200),0));DRAWRECTREL(20,C42,36,O42,RGB(IF(C4>=O4,128,0),IF(C4 >=O4,0,128),0));DRAWRECTREL(48,H32,48,L32,RGB(IF(C3>=O3,200,0),IF(C3> =O3,0,200),0));DRAWRECTREL(40,C32,56,O32,RGB(IF(C3>=O3,128,0),IF(C3 >=O3,0,128),0));DRAWRECTREL(68,H22,68,L22,RGB(IF(C2>=O2,200,0),IF(C2> =O2,0,200),0));DRAWRECTREL(60,C22,76,O22,RGB(IF(C2>=O2,128,0),IF(C2 >=O2,0,128),0));DRAWRECTREL(88,H12,88,L12,RGB(IF(C1>=O1,200,0),IF(C1> =O1,0,200),0));DRAWRECTREL(80,C12,96,O12,RGB(IF(C1>=O1,128,0),IF(C1 >=O1,0,128),0));DRAWRECTREL(108,H02,108,L02,RGB(IF(C0>=O0,200,0),IF(C 0>=O0,0,200),0));DRAWRECTREL(100,C02,116,O02,RGB(IF(C0>=O0,128,0),IF( C0>=O0,0,128),0));{会心大盘分时主图:}成交额:=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.24,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(640,1000,940,940,RGB(190,190,190));DRAWRECTREL(640,995,940,945,RGB(200,200,200));DRAWRECTREL(640,990,940,950,RGB(210,210,210));DRAWRECTREL(640,985,940,955,RGB(220,220,220));DRAWRECTREL(640,980,940,960,RGB(230,230,230));DRAWRECTREL(640,975,940,965,RGB(240,240,240));DRAWRECTREL(640,970,940,970,RGB(250,250,250));DRAWRECTREL(790-现手卖*210/合,1000,790,940,RGB(0,128,0));DRAWRECTREL(790-现手卖*210/合,995,790,945,RGB(0,148,0));DRAWRECTREL(790-现手卖*210/合,990,790,950,RGB(0,168,0));DRAWRECTREL(790-现手卖*210/合,985,790,955,RGB(0,188,0));DRAWRECTREL(790-现手卖*210/合,980,790,960,RGB(0,208,0));DRAWRECTREL(790-现手卖*210/合,975,790,965,RGB(0,228,0));DRAWRECTREL(790-现手卖*210/合,970,790,970,RGB(0,248,0));DRAWRECTREL(790-现手卖*210/合,940,790-现手卖*210/合,1000,RGB(0,128,0));DRAWRECTREL(790,1000,790+现手买*210/合,940,RGB(128,0,0));DRAWRECTREL(790,995,790+现手买*210/合,945,RGB(148,0,0));DRAWRECTREL(790,990,790+现手买*210/合,950,RGB(168,0,0));DRAWRECTREL(790,985,790+现手买*210/合,955,RGB(188,0,0));DRAWRECTREL(790,980,790+现手买*210/合,960,RGB(208,0,0));DRAWRECTREL(790,975,790+现手买*210/合,965,RGB(228,0,0));DRAWRECTREL(790,970,790+现手买*210/合,970,RGB(248,0,0));DRAWRECTREL(790+现手买*210/合,940,790+现手买*210/合,1000,RGB(128,0,0));DRAWRECTREL(789.8,940,790.2,1000,RGB(0,0.0,10));DRAWRECTREL(639.8,940,640.2,1000,RGB(0,0,10));DRAWRECTREL(939.8,940,940.2,1000,RGB(0,0,10));DRAWRECTREL(0,940,1000,940.2,RGB(0,0,10));DRAWTEXT_FIX(1,0.9,0.88,0,STRCAT(STRCAT('',CON2STR(现手买,1)),'万')),COLOR0000FF;DRAWTEXT_FIX(1,0.61,0.88,0,STRCAT(STRCAT('',CON2STR(现手卖,1)),'万')),COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)>0,0.755,0.88,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR0000FF;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)<0,0.755,0.88,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1AND(差)=0,0.755,0.88,0,STRCAT(' ',STRCAT(CON2STR(差,1),'万'))) COLOR80FFFF;DRAWTEXT_FIX(1,0.58,0.97,0,STRCAT(STRCAT('',CON2STR(MPB2,1)),'%%')),COLOR00FF00;DRAWTEXT_FIX(1,0.94,0.97,0,STRCAT(STRCAT('',CON2STR(M PB1,1)),'%%')),COLOR0000FF;{冠军分时主图}H01:=MAX(DYNAINFO(3),DYNAINFO(5));L01:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H01-L01;阻力:L01+P1*7/8,COLORGREEN;支撑:L01+P1*0.5/8,COLORRED;中:(支撑+阻力)/2,COLORWHITE,POINTDOT;现价:CLOSE,COLORWHITE,LINETHICK2;底买:STICKLINE(C<支撑,支撑,C,5,0),COLORRED;MR:=C<支撑 AND CROSS(C,REF(C,2));DRAWTEXT(CROSS(现价,支撑),中,'★买'),COLORRED;STICKLINE(CROSS(现价,支撑),C,中,2,0),COLORRED;STICKLINE(MR=1,支撑,中,2,0),COLORRED;DRAWICON(MR=1 OR CROSS(现价,支撑),中,1);STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORYELLOW;DRAWTEXT(CROSS(支撑,现价),(支撑-中)/5+支撑,'★底'),COLORYELLOW;MC:=C>阻力 AND CROSS(REF(C,2),C);DRAWTEXT(CROSS(阻力,现价),中,'★卖'),COLORGREEN;STICKLINE(CROSS(阻力,现价),C,中,2,0),COLORGREEN;STICKLINE(MC=1,阻力,中,2,0),COLORGREEN;DRAWICON(MC=1 OR CROSS(阻力,现价),中,2);STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORMAGENTA;DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/5,'★顶'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,阻力,'顶'),COLORGREEN;DRAWTEXT(ISLASTBAR,支撑,'底'),COLORRED;DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,'中'),COLORWHITE;AMOUNT/V/100,COLORYELLOW;市盈率:=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.14,0.96,0,财务系数),COLORCYAN;DRAWTEXT_FIX(1,0.14,0.8,0,'所属行业:')COLORCYAN;DRAWTEXT_FIX(1,0.20,0.8,0,HYBLOCK),COLORWHITE;DRAWTEXT_FIX(1,0.32,0.8,0,'所属地区:')COLORCYAN;DRAWTEXT_FIX(1,0.38,0.8,0,DYBLOCK),COLORWHITE;{开盘三线}{新版分时主图}T31:=BARSLAST(TIME2=093100);T40:=BARSLAST(TIME2=094000);T41:=BARSLAST(TIME2=094100);T50:=BARSLAST(TIME2=095000);T51:=BARSLAST(TIME2=095100);T60:=BARSLAST(TIME2=100000);C31:=REF(C,T40);O31:=REF(C,T31);C40:=REF(C,T50);O40:=REF(C,T41);C50:=REF(C,T60);O50:=REF(C,T51);A1:=C31>O31 AND C40>O40 AND C50>O50 AND O40>=C31 AND O50>=C40;A20:=C31<O31 AND C40<O40 AND C50<O50 AND O40<=C31 AND O50<=C40;A30:=C31>O31 AND C40>O40 AND C50<O50 AND C50<C40 AND O50/C50<C40/O40 AND O50/C50<C31/O31;A4:=C31>O31 AND C40<O40 AND C50<O50 AND C40<C31 AND C50<C40 AND C31/O31<O40/C40 AND C31/O31<O50/C50;A5:=C31<O31 AND C40<O40 AND C50>O50 AND C40<C31 AND O50>=C40;A60:=C31<O31 AND C40>O40 AND C50>O50 ANDC40>C31 AND C50>C40 AND O31/C31<C40/O40 AND O31/C31<C50/O50;A70:=C31>O31 AND C40<O40 AND C50>O50 AND C31/O31>O40/C40 AND C50/O50>O40/C40;A80:=C31<O31 AND C40>O40 AND C50<O50 AND C40/O40<O31/C31 AND C40/O40<O50/C50;A9:=MAX(C31,O31)>=MAX(C40,O40) AND MAX(C31,O31)>=MAX(C50,O50);A10:=MIN(C31,O31)<=MIN(C40,O40) AND MIN(C31,O31)<=MIN(C50,O50);B1:='连续三上、三阳开泰、飚涨走势可能涨停、量大出货否则守仓、大阳、盯量';B2:='连续三下、三只乌鸦、重挫走势可能跌停、只要反弹立即出货、大阴、随逃';B3:='二上一下、二阳一小阴、震荡走势后势看好、逢高减磅逢低吸纳、中阳、阴须小';B4:='一上二下、二只乌鸦、拉高出货后市看坏、逢高减磅后市下跌、中阴、阳线小';B5:='二下一上、二阴一阳、急跌控底后市不明、逢高减磅观望为主、下影阴、阳大小';B6:='一下二上、一阴二阳、震荡控底后市趋好、观望为主谨慎吸纳、下影阳、阴大小';B7:='一上一下、二阳夹一阴、震荡走市后市看好、持股待涨逢低吸纳、中阳、阴须小再一上';B8:='一下一上、二阴夹一阳、跌幅较大尾市杀跌、只要反弹立即出货、中阴、阳须小再一下';B9:='三不创新高、可小阴小阳、三次不过短时顶部、层层阻力离场观望、上影阴阳、小K线';B10:='三不创新低、可小阴小阳、三次不破短时底部、走势不强逢低少吸、下影阴阳、小K线';DRAWTEXT_FIX( A1,0.005,0.005,0,B1),COLORRED; DRAWTEXT_FIX( A20,0.005,0.005,0,B2),COLORGREEN; DRAWTEXT_FIX( A30,0.005,0.005,0,B3),COLORMAGENTA; DRAWTEXT_FIX( A4,0.005,0.005,0,B4),COLORCYAN; DRAWTEXT_FIX( A5,0.005,0.005,0,B5),COLORBROWN; DRAWTEXT_FIX( A60,0.005,0.005,0,B6),COLORBLUE; DRAWTEXT_FIX( A70,0.005,0.005,0,B7),COLORYELLOW; DRAWTEXT_FIX( A80,0.005,0.005,0,B8),COLORLIGREEN; DRAWTEXT_FIX( A9,0.005,0.05,0,B9),COLORWHITE; DRAWTEXT_FIX( A10,0.005,0.1,0,B10),COLORLIMAGENTA;。
【通达信指标公式】分时抓涨停指标公式-2010最新版
【通达信指标公式】分时抓涨停指标公式-2010最新版BU:=BARSLAST(CLOSE=HHV(CLOSE,2000));SE:=BARSLAST(CLOSE=LLV(CLOSE,2000));KK1:=SE;KK2:=BU;LM1:=SE;LM2:=BU;OK:=KK1>KK2AND LM1>LM2;OK1:=KK1>KK2 AND LM1<LM2;NOK:=KK2>KK1 ANDLM2>LM1;NOK1:=KK2>KK1 ANDLM2<LM1;DRAWICON(CROSS(KK1,KK2),OPEN*1,1);DRAWTEXT(CROSS(KK1,KK2),OPEN*0.99,'抓'),colorFF00;AOLYLINE(CLOSE<COST(50),COST(20)),POINTDOT,color880 0;BOLYLINE(CLOSE<COST(50),COST(80)),POINTDOT,color66C C00;T:=OPENMINUTES(TIME);CLOSE=DYNAINFO(7);总量:=SUM(VOL,T);总额:=SUM(AMOUNT,T);均价:=总额/(总量*100);次数:=COUNT(CLOSE>均价,T);占比:=次数/T*100;分时强势RAWICON(CROSS(CLOSE,均价)AND CLOSE>均价 AND 占比>80 ANDT>5,CLOSE*0.985,4);DRAWTEXT(CROSS(CLOSE,均价) AND CLOSE>均价AND 占比>80ANDT>5,CLOSE*0.98,'涨价'),colorFFFF;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);CYC∞:=DMA(VAR2,VOL/CAPITAL);一剑封喉:=CROSS(CLOSE,MA(CLOSE,13))AND CROSS(CLOSE,MA(CLOSE,34)) ANDCROSS(CLOSE,MA(CLOSE,55));A1:=(CLOSE-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22))*100;A2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;A:=3*SMA(A1,5,1)-2*SMA(SMA(A2,5,1),3,1),POINTDOT,color8800;YNGS:=一剑封喉AND A<30;DRAWICON(一剑封喉 AND A<30,LOW*0.985,10);DRAWTEXT(一剑封喉 ANDA<30,LOW*0.98,'停'),colorFF;昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL);ZS:=昨收-FK*1.01;Q1:=昨收-FK*1.012;Q2:=昨收-2*FK*1.012;Q3:=昨收-3*FK*1.01;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;空头:=-3*K-2*D;DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEA:=EMA(DIFF,18);多头MACD:=(-3*(DIFF-DEA))*2;ZD:=HHV(多头MACD,0);ZX:=LLV(多头MACD,0);CZ:=(Q2-Q3)/6;FILLRGN(1,昨收-2*FK*1.015,昨收-3*FK*1.01),color10000;Q1,LINETHICK2,colorCC;Q2-CZ,POINTDOT,colorCC;Q2-2*CZ,POINTDOT,colorCC;Q2-3*CZ,POINTDOT,colorCC;Q2-4*CZ,POINTDOT,colorCC;Q2-5*CZ,POINTDOT,colorCC;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),LINETHICK2,colorFF;STICKLINE(多头MACD<0,RB,(Q2+Q3)/2,2,1),LINETHICK2,colorFF00;短买:IF(CROSS(K,D)ANDK>0,(Q2+Q3)/2+(Q2-Q3)/4,(Q2+Q3)/2),LINETHICK2,colorFF00FF;突击:IF(CROSS(多头MACD,空头)AND多头MACD>0,(Q2+Q3)/2+(Q2-Q3)/4,(Q2+Q3)/2),LINETHICK2,colorFFFF;DRAWICON(CROSS(K,D)AND K>0,RB,1),ALIGN1;DRAWTEXT(CROSS(K,D) ANDK>0,(Q2+Q3)/2+(Q2-Q3)/3,'短买'),colorFF0000;DRAWTEXT(CROSS(多头MACD,空头) AND多头MACD>0,(Q2+Q3)/2+(Q2-Q3)/3,'突击'),colorFFFF00;KK:=DATE<1341231;PK:=VOL*(OPEN+CLOSE+HIGH+LOW)/4;PK1:=IF(VOL>0,PK/VOL,(OPEN+CLOSE+HIGH+LOW)/4);C11:=PK1;A01:=(C11-LLV(C11,75))/(HHV(C11,75)-LLV(C11,75));A11:=SMA(A01,13,1);A21:=SMA(A11,13,1);A31:=3*A11-2*A21;A41:=2*A31-0.5;ZS:=DYNAINFO(3)*0.95;选1:=IF(KK,C11*(1-(A41-A21)/40),0);选2:=CROSS(C11,选1)AND CLOSE/REF(CLOSE,1)<1.03;选3:IF(选2,ZS*1.03,ZS),colorFF00;{明关键价位}c1:=ref(c,1);c2:=hhv(c1,2);c3:=llv(c1,1);et:=hhv(c1,2);et1:=ref(et,1);xb:=llv(c1,1);xb1:=ref(xb,1);m:=BARSLAST(c<xb and c1>=xb1);m11:=ref(m,1);n9:=BARSLAST(c>et and c1<=et1);n1:=ref(n9,1);m21:=BARSLAST(m-n9>0 and m11<=n1)+1;n2:=BARSLAST(n9-m>0 and n1<=m11)+1;et2:=hhv(et,m21);xb2:=llv(xb,n2);a:=if(m-n9>0 and m11<=n1,1,if(n9-m>0 and n1<=m11,0,2)); h1:=if(m-n9>0,c,et2);h2:=if(a=1,c,c2);h3:=if(m-n9<0,c,xb2);h4:=if(a=1,c,xb2);h5:=if(m-n9>0 or a=1,c,h3);明关键价位:ref(h5,1);{公称名称: 一剑封喉}A1:=IF(BUYVOL,V,10000);//取主动性买盘,你可用自己的条件!A2:=IF(SELLVOL,V,0);//取主动性卖盘,你可用自己的条件!ZS:=DYNAINFO(3)*0.92;K1:=(SUM(A1,0)/SUM(V,0));K2:=(SUM(A2,0)/SUM(V,0));K3((K1*0.35)+ZS)+((K2*0.35)+ZS))/2,POINTDOT;KK1:IF(K1 ,(K1*0.35)+ZS,ZS),COLORGREEN;KK30:IF(K2,(K2*0.35)+ZS,ZS),COLORMAGENTA;。
通达信分时监控指标公式
通达信分时监控指标公式通达信分时监控指标公式2011-03-09 08:02转载自亮GXD886最终编辑亮GXD886BIAS1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);BIAS2:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);BIAS3:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);BIAS:=(BIAS1+(2)*(BIAS2)+(3)*(BIAS3))/(6);乖离:=MA(BIAS,3);探:STICKLINE((乖离<(-6)) AND (乖离>=(-12)),48,52,6,1),COLOR33FFCC;准备走:STICKLINE((乖离>6) AND (乖离<12),48,52,6,1),COLORFF0000;STICKLINE((乖离<(-12)) AND (乖离>=(-18)),0,35,4,0),COLOR33CCCC;{(乖离<(-24)) AND (乖离>=(-30)),COLOR3399CC;}VARA:=LLV(LOW,35);VARB:=HHV(HIGH,30);VARC:=(EMA(((CLOSE-VARA)/(VARB-VARA))*(4),4))*(25);底域:STICKLINE((VARC<10) AND (((100)*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))>97),0,15,5,0),COLOR00FF00;顶域:STICKLINE((VARC>90),90,100,5,0),COLORFF0000;VARD:=87.5;VARE:=(((VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4)))*(4))*(25);出货:DRAWTEXT(IF(CROSS(VARD,VARC),87,0),35,'↑'),COLORFF0000;DRAWTEXT(IF(CROSS(VARD,VARC),87,0),24,'跑'),COLORFF0000;卖:DRAWTEXT(IF(CROSS(VARC,VARE) AND (VARC>87),87,0),50,'↑'),COLOR0000FF;DRAWTEXT(IF(CROSS(VARC,VARE) AND (VARC>87),87,0),35,'卖'),COLOR0000FF;VAR3:=((2)*(CLOSE)+HIGH+LOW)/(4);VAR4:=LLV(LOW,34);VAR5:=HHV(HIGH,34);趋势:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));散:=EMA(((VAR3-VAR4)/(VAR5-VAR4))*(100),13);看多:IF((趋势>散),趋势,散),COLOR0000FF,LINETHICK2;看空:IF((趋势<散),趋势,散),COLORFF0000,LINETHICK2;散户:EMA(((VAR3-VAR4)/(VAR5-VAR4))*(100),13),COLORFF00FF,LINETHICK2;新庄:EMA((0.66699999)*(REF(散户,1))+(0.333)*(散户),1),COLORFFFF00;底:IF((趋势<=5),17,0),COLORFF00FF;见底:IF(CROSS(趋势,10) AND (新庄<散户),31,0),COLOR008000;DRAWTEXT(CROSS(散户,新庄) AND (趋势>散户) AND (散户<15),新庄*0.7,'绝中生'),COLORFFFFFF;IF(CROSS(趋势,92),80,90),COLORFF0000;V5:=MA(VOL,5);V10:=MA(VOL,10);A2:=(COUNT(((VOL<V10) OR (VOL<V5)),4)>=4-1);A3:=(VOL>(V5)*(1.3)) AND (CLOSE<(REF(CLOSE,1))*(1.4));A4:=(CLOSE<((HHV(HIGH,18))*(75))/(100)) AND (CLOSE<(LLV(CLOSE,6))*(1.4)) AND(CLOSE<(LLV(REF(LOW,10),50))*(0.95999997));A5:=((VOL<V5) OR (VOL<V10));A6:=BARSLAST(REF(A5,1));A7:=(CLOSE<(REF(CLOSE,1))*(0.90499997));JBM:=CLOSE;A8:=A5 AND A4 AND REF(A3,1) AND REF(A2,A6+1) AND (COUNT(A7,20)=0) AND JBM;金山现:IF(A8,30,0),COLOR0000FF;{CROSS(A8,0.1);}50,POINTDOT,COLOR33FFCC;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】分时阻击涨停(分时图)-指标公式源码
涨停预警分时指标选股方法:
1.九点三十开盘后打开涨幅榜从高向下选看那只股第一次出现买入信号买入。
2.开盘后看量比排名,量比越大越好,第一次出现买入信号的股买入。
第一,必须是涨幅靠前的个股,特别是涨幅在第一榜的个股。
涨幅靠前,这就给了我们一个强烈的信号:该股有庄,且正往上拉高股价。
其意图无非是,进入上升阶段后不断拉高股价以完成做庄目标;或是在拉高过程中不断收集筹码,以达到建仓目的。
第二,必须是开盘就大幅上阳的个股。
因为,各种主力在开盘前都会制定好当天的操作计划,所以开盘时的行情往往表现了庄家对当天走势的看法。
造成开盘大幅拉升的原因,主要是庄家十分看好后市,准备发动新一轮的个股行情,而开盘就大幅拉升,可以不让散户在低位有接到筹码的机会。
第三,必须是量比靠前的个股。
量比是当日成交量与前五日成交量的比值。
量比越大,说明当天放量越明显,该股的上升得到了成交量的支持,而不是主力靠尾市急拉等投机取巧的手法,来拉高完成的。
第四,必须是股价处于低价圈。
股价处于低价圈时,涨幅靠前、量比靠前的个股,就能说明主力的真实意图在于拉高股价,而不是意在诱多。
若在高价圈出现涨幅靠前、量比靠前的个股,其中可能存在陷阱,参与的风险较大。
虎:
(EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*10 0, COLORSTICK;
主
力:EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE, 500),1)*100,120)-0.0004,LINETHICK5,COLORMAGENTA;
散
户:EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE, 500),1)*100,200),LINETHICK5,COLORGREEN;
DRAWICON(CROSS(EXPMA(虎,120)-0.0004,EXPMA(虎,200)),EXPMA(虎,200)*1,13 );
DRAWICON(CROSS(EXPMA(虎,200),EXPMA(虎,120)-0.0004),EXPMA(虎,200)*1,6) ;
{}
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.0 5,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,B ARSCOUNT(C))));
DRAWICON(CROSS((C/Q2),1.03),0.02,6);
STICKLINE(CROSS((C/Q2),1.03),0.02,0,4,0),COLORYELLOW;
【通达信】分时阻击涨停(分时图)-指标公式效果图
(文档来源:好股票网)。