分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]最强T+0,和谐源码分享(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2020-06-22 00:15:45
软件简介:

通达信公式, 最强T+0,两个公式,都要导入,才可以显示

{ZZ}
{分时引用}
T1:REF(MA(V,5),1);
HS:VOL*100/FINANCE(7)*100;
HST:REF(VOL*100/FINANCE(7)*100,1);
HST2:REF(VOL*100/FINANCE(7)*100,2);
前日量:REF(V,2);
昨日量:REF(V,1);
昨日额:REF(AMO,1);
成交额:AMO;
昨均价:REF(AMO/V/100,1);
M3:MA(C,3);
M5:MA(C,5);
M7:MA(C,7);
M9:MA(C,9);
M10:MA(C,10);
M15:MA(C,15);
M20:MA(C,20);
M21:MA(C,21);
M30:MA(C,30);
M55:MA(C,55);
M60:MA(C,60);
M120:MA(C,120);
M250:MA(C,250);
M888:MA(C,888);
今昨:CONST(V/REF(V,1));
今前:CONST(V/REF(V,2));
H1:REF(H,1);
L1:REF(L,1);
DKX:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
ZRL:REF(V,1);
ZSP:REF(C,1);
前高:V/REF(HHV(V,0),1);
{最强T+0}
量价:=(VOL/CLOSE)/3;
 A2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
 A3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
 A6:=A2+A3;DD1:=1;比:=A2/A3;
 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)),'%');
 DRAWTEXT_FIX(DD1=1,0,0.04,0,AAA1),COLORRED;
 DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORGREEN;
 DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF;
 DRAWTEXT_FIX(比>2,0,0.40,0,'涨'),COLORCYAN;
 DRAWTEXT_FIX(比>2,0,0.48,0,'停'),COLORMAGENTA;
 DRAWTEXT_FIX(比>2,0,0.56,0,'板'),COLORRED;
 
 
中期线:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
 DRAWTEXT(比<1.1,(DYNAINFO(5)+DYNAINFO(6))/2,'.'),COLORGREEN;
 DRAWTEXT(比>1.5,(DYNAINFO(5)+DYNAINFO(6))/2,'.'),COLORCYAN;
 DRAWTEXT(比>2,(DYNAINFO(5)+DYNAINFO(6))/2,'.'),COLORMAGENTA;
 DRAWTEXT(比>2.5,(DYNAINFO(5)+DYNAINFO(6))/2,'.'),COLORRED;
 DRAWTEXT((比>1.1 AND 中期线<5),(DYNAINFO(5)+DYNAINFO(6))/2,'.'),COLORWHITE;
 DRAWTEXT((比<1.1 AND 中期线>98.0),(DYNAINFO(5)+DYNAINFO(6))/2,'.'),COLORWHITE;{●○}
 DRAWTEXT((比>1.1 AND 中期线<5),C,'--机会'),COLORYELLOW;
 DRAWTEXT((比<1.1 AND 中期线>98.0),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;
 DRAWTEXT(LONGCROSS(支撑,C,2),C,'--买入'),COLORFF00FF;
 DRAWTEXT(LONGCROSS(C,阻力,2),C,'--出货'),COLOR70DB93;
 
LC:=REF(CLOSE,1);
 WRSI:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100;
 DRAWICON(CROSS(20,WRSI),C,1);
 DRAWICON(CROSS(WRSI,80),C,2);
 
DRAWICON(CROSS(20,"RSI.RSI1"(9)),C,1);
 DRAWICON(CROSS("RSI.RSI1"(9),80),C,2);
 
均价:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
 TT:=BARSCOUNT(C);均:=MA(C,TT);
上均线:=均+2*STD(C,3);下均线:=均-2*STD(C,3);
时长:=TIME>93000;涨幅:=C/REF(C,1)>1.02;跌幅:=C/REF(C,1)<0.98;
横盘:=((HHV(C,TT)-LLV(C,TT))/C)<0.05;YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;
涨跌幅:=涨幅 OR 跌幅;
横涨1:=涨跌幅=0 AND 横盘 AND 放量 AND CROSS(均价,均);
DRAWTEXT(FILTER(横涨1,10),C,'突'),COLORYELLOW;
 DRAWICON(FILTER(横涨1,10),均价,1);
IF(MACD.DEA<0,C,DRAWNULL),COLORYELLOW ,LINETHICK9;
XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);
底:=1;1.02,NODRAW;高:=1.03;
 AA:=主力>大户 AND 主力>1.003 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60);
 DRAWICON(主力>大户 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C,38);
 DRAWTEXT(主力>大户 AND 大户>散户 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C*0.999,'-主力'),COLORYELLOW;
{ DRAWICON(CROSS(主力,1.02),C,24);}
 DRAWTEXT(CROSS(主力,1.02),C*0.999,'--拉升'),COLORCYAN;
{ DRAWICON(CROSS(主力,1.04),C,6);}
 DRAWTEXT(CROSS(主力,1.04),C*0.999,'--冲涨停'),COLORRED;
{ DRAWICON(CROSS(散户,主力),C,6);}
 DRAWTEXT(CROSS(散户,主力),C*0.9995,'--小心'),COLORGREEN;
{DRAWICON(CROSS(散户,大户),C,6);}
 DRAWTEXT(CROSS(散户,大户),C*0.9995,'--走弱'),COLORGREEN;
{WA1:=V*C/100;
WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA3:=SUM((IF(((WA1/8>20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);
WA4:=SUM((IF(((WA1/8<20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA5:=SUM((IF(((WA1/8<20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);
机构买盘:=(WA2);
机构卖盘:=(WA3);
散户买盘:=(WA4);
散户卖盘:=(WA5);
DRAWTEXT_FIX(1,0.400,1-0.128,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),' 万')),COLORRED;
DRAWTEXT_FIX(1,0.400,1-0.001,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),' 万')),COLORGREEN;
DRAWTEXT_FIX(1,0.620,1-0.128,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),' 万')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.620,1-0.001,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),' 万')),COLORCYAN;
 
{WA6:=((WA2+WA3)+WA4)+WA5;
WA7:=IF((ISLASTBAR),((100*WA2)/WA6),0);
WA8:=IF((ISLASTBAR),((100*WA3)/WA6),0);
WA9:=IF((ISLASTBAR),((100*WA4)/WA6),0);
WA10:=IF((ISLASTBAR),((100*WA5)/WA6),0);
机构买:=(WA2);
机构卖:=(WA3);
机构进出:=机构买-机构卖;
强势:=((100*WA2)/WA6>50);}
 
{所属板块}
{DRAWTEXT_FIX(C>0,0.920,0.66,0,HYBLOCK),COLORCYAN,LINETHICK2;{行业}
DRAWTEXT_FIX(C>0,0.00,0.80,0,GNBLOCK),COLORCYAN,LINETHICK2;{概念};
{流通市值}
DRAWTEXT_FIX(1,0.710,0.66,0,STRCAT(STRCAT('流通市值:',CON2STR(FINANCE(46)*C/100000000,2)),'亿元'))COLORCYAN;
 
 
{竞价情况}
JJCJL:=DYNAINFO(15)/DYNAINFO(4)/100;
JJJEDW:=IF(DYNAINFO(15)>10000,'万元','元');
JJJE:=IF(DYNAINFO(15)>10000,CON2STR(DYNAINFO(15)/10000,1),CON2STR(DYNAINFO(15),1));
JJJE1:=STRCAT(JJJE,JJJEDW);
JJ:=STRCAT('竞价量额:',STRCAT(CON2STR(JJCJL/10000,2),'万手'));
JJ1:=STRCAT(JJ,' = ');
 
DRAWTEXT_FIX(1,0.00,0.66,0,STRCAT(JJ1,JJJE1))COLORRED;{竞价量额位置}
{DRAWTEXT_FIX(1,0.95,0.50,0,STRCAT('占昨成交:',STRCAT(CON2STR(DYNAINFO(15)/ZZ.昨日额#DAY*100,2),'%')))COLORYELLOW;}
 
今日竞价股数:=DYNAINFO(15)/DYNAINFO(4);
ZSPJ:=ZZ.ZSP#DA
[url=http://www.70822.com/soft/sort013/sort05/down-148665.html]最强T+0,和谐源码分享(通达信公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:50.78125 毫秒