找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 162|回复: 2

分时变色.显示的字看不清.求改

[复制链接]
发表于 2024-11-5 20:23 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
BU:=BARSLAST(CLOSE=HHV(CLOSE,60));
SE:=BARSLAST(CLOSE=LLV(CLOSE,60));
KK1:=SE;
KK2:=BU;
LM1:=SE;
LM2:=BU;
OK:=KK1>KK2 AND LM1>LM2;
OK1:=KK1>KK2 AND LM1<LM2;
NOK:=KK2>KK1 AND LM2>LM1;
NOK1:=KK2>KK1 AND LM2<LM1;
DRAWICON(FILTER(CROSS(KK1,KK2),240),OPEN*1,5);
DRAWTEXT(FILTER(CROSS(KK1,KK2),240) ,OPEN*0.995,'抓'),COLORYELLOW;
TT1:=BARSCOUNT(C);
均价黄:=SUM(C*V,TT1)/SUM(V,TT1);
量两步:=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(TIME/10000,VV),NODRAW;
已爆分钟:=VV-1,NODRAW;
DRAWICON(每日一点,C,25);
DRAWTEXT(每日一点,L-0.01,'←分时起爆'),COLOR0000FF;
ACX:=FILTER(CROSS(KK1,KK2),240);
ACX1:=BARSSINCE(ACX)+1;
X1:=IF(MA(C,5)>MA(C,10),20,0);
X21:=IF(MA(C,20)>MA(C,60),10,0);
X3:=IF(KDJ.J>KDJ.K,10,0);
X4:=IF(MACD.DIF>MACD.DEA,10,0);
X5:=IF(MACD.MACD>0,10,0);
X6:=IF(V>MA(V,60),10,0);
X7:=IF(WINNER(C)>0.5,10,0);
X8:=IF(C/REF(C,1)>1.03,10,0);
XX:=X1+X21+X3+X4+X5+X6+X7+X8;
DRAWTEXT_FIX(V>O,0.80,0.99,0,STRCAT('量化评分:',STRCAT(CON2STR(XX,2),' '))),COLORYELLOW;



HS:=100*DYNAINFO(8)/CAPITAL;
ZHWS:=STRCAT(VAR2STR(DYNAINFO(8)/10000,2),'万手');
JHS:=STRCAT('今换手:',STRCAT(VAR2STR(HS,2),'%'));
JHS1:=STRCAT(JHS,' ≈ ');
DRAWTEXT_FIX(1,0.20,0.99,0,STRCAT(JHS1,ZHWS))COLORYELLOW;
LTPDW:=IF((FINANCE(46))/1000000>1,'亿股','万股');
LTP:=IF((FINANCE(46))/1000000>1,CON2STR((FINANCE(46))/100000000,2),CON2STR((FINANCE(46))/10000,0));
LTP1:=STRCAT(STRCAT('自由流通盘:',LTP),LTPDW);
LTPWS:=STRCAT(VAR2STR(FINANCE(46)/1000000,2),'万手');
LTP2:=STRCAT(LTP1,' ≈ ');
DRAWTEXT_FIX(1,0.37,0.99,0,STRCAT(LTP2,LTPWS))COLORMAGENTA;
DRAWTEXT_FIX(1,0.37,0.92,0,STRCAT(STRCAT('自由流通市值:',CON2STR(FINANCE(46)*C/100000000,2)),'亿元'))COLORMAGENTA;
KP:=(DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*100;
DRAWTEXT_FIX(1,0.2,0.65,0,STRCAT('开盘:',STRCAT(VAR2STR(KP,2),'%')))COLORYELLOW;
DRAWTEXT_FIX(1,0.2,0.85,0,STRCAT('最高价:',CON2STR(DYNAINFO(5),2)))COLORYELLOW;
DRAWTEXT_FIX(1,0.2,0.90,0,STRCAT('最低价:',CON2STR(DYNAINFO(6),2)))COLORYELLOW;
今日竞价股数:=DYNAINFO(15)/DYNAINFO(4);
开盘换手Z:=DYNAINFO(15)/DYNAINFO(4)/FINANCE(46)*100;
DRAWTEXT_FIX(1,0.2,0.7,0,STRCAT(STRCAT('开盘换手Z:',CON2STR(开盘换手Z,2)),''))COLORYELLOW;
CJE:=DYNAINFO(8)*DYNAINFO(11);
DW:=IF(CJE/1000000>1,'亿','万');
ABT:=IF(CJE/1000000>1,CJE/1000000,CJE/100);
DRAWTEXT_FIX(1,0.2,0.75,0,STRCAT(STRCAT('成交额:',CON2STR(ABT,2)),DW))COLORYELLOW;
市盈率:=STRCAT('市盈率:',CON2STR(C/FINANCE(33),2));
DRAWTEXT_FIX(1,0.2,0.80,0,STRCAT(市盈率,'倍'))COLORYELLOW;
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,0),'手'));
JJ1:=STRCAT(JJ,' = ');
DRAWTEXT_FIX(1,0.2,0.55,0,STRCAT(JJ1,JJJE1))COLORMAGENTA;
SSJ:=BARSCOUNT(V);
今开量YNAINFO(15)/DYNAINFO(4)/100/10000,NODRAW;
昨大量:IF(SSJ>238,REF(HHV(V,239),SSJ-238),0)/10000,NODRAW;
BZ:=今开量/昨大量;
DRAWTEXT_FIX(SSJ>239 AND BZ>0.6,0.25,0.1,0,STRCAT(STRCAT('【昨爆今开比】',CON2STR(BZ,2)),'')),COLORRED;
DRAWTEXT_FIX(SSJ>239 AND BZ<0.6,0.25,0.1,0,STRCAT(STRCAT('【昨爆今开比】',CON2STR(BZ,2)),'')),COLORYELLOW;
DRAWTEXT_FIX(SSJ>239 AND BETWEEN(BZ,0.5,2),0.2,0.2,0,'【开盘量价达标,择机介入】'),COLORYELLOW;
DRAWTEXT_FIX(SSJ>239,0,0,0,'昨暴拉板量,一字除外,今比值0.60左右可考虑介入')COLORCYAN;
DRAWTEXT_FIX(SSJ>239,0,0.2,0,'比值不达标,须开盘后补量, 过大,出货嫌疑')COLORCYAN;
均价线:=DYNAINFO(11);
差值:=ABS(CLOSE-DYNAINFO(11));
偏离值:=差值/均价线*100;
DRAWTEXT_FIX(1,0.6,0.99,0,STRCAT(STRCAT('【乖离率小于3%】= ',CON2STR(偏离值,1)),'%')),COLORYELLOW;
竞价额:= DYNAINFO(15);
换手Z:= 竞价额/O/FINANCE(46)*100;
JJ3:=SUM(IF(BETWEEN(TIME,0930,0930),V,0),FROMOPEN);
DRAWTEXT(JJ3/(HHV(V,5),1)*100>=2 AND BETWEEN(TIME,0930,0930) AND 换手Z>=1,C,'爆'),COLORMAGENTA;

发表于 2024-11-5 21:47 | 显示全部楼层
谢谢分享辛苦了
回复

使用道具 举报

发表于 2024-11-5 21:49 | 显示全部楼层
好好学习天天向上
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-23 07:35 , Processed in 0.089448 second(s), Total 12, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表