大智慧明细主图

明细主图(大智慧),把涨停和大阳中阳还有板块所属都标注出来,看着舒服清晰明了

MA1:MA(CLOSE,5);
 MA2:MA(CLOSE,10);
 MA3:MA(CLOSE,20);
 MA4:MA(CLOSE,30);
 MA5:MA(CLOSE,60);
 MA6:MA(CLOSE,120);

DRAWTEXTABS(10,10,STKLABEL+' '+STKNAME+' '+BKNAME),COLOR00FFFF;

{涨跌停显示}
中阳:=(C-REF(C,1))*100/REF(C,1)>=4;
 STICKLINE(中阳=1,H,L,0,0),COLOR123EEE,LINETHICK2;
 STICKLINE(中阳=1,O,C,6,0),COLOR123EEE,LINETHICK2;
大阳:=(C-REF(C,1))*100/REF(C,1)>=7;
 STICKLINE(大阳=1,H,L,0,0),COLORFF00FF,LINETHICK2;
 STICKLINE(大阳=1,O,C,6,0),COLORFF00FF,LINETHICK2;
大阴:=(C-REF(C,1))*100/REF(C,1)>=5 AND C<O;
 STICKLINE(大阴=1,H,L,0,0),COLOR00FF00,LINETHICK2;
 STICKLINE(大阴=1,O,C,6,0),COLOR00FF00,LINETHICK2;
普涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);
 ST涨停:=c>1.046*ref(c,1) and c<1.055*ref(c,1) and STRFIND(stkname,'ST',1)>0;
涨停:=普涨停 OR ST涨停;
STICKLINE(涨停=1,H,L,0,0),COLORYELLOW,LINETHICK2;
 STICKLINE(涨停=1,O,C,6,0),COLORYELLOW,LINETHICK2;


 N:=20;

总股本(亿):FINANCE2(35)/10000,COLORYELLOW,LINETHICK0;
流通(亿):FINANCE2(37)/10000,COLORFFFFFF,LINETHICK0;
均价:=(3*C+H+L+O)/6;
 VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;
 VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
 SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1;
 SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1;
 SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) AND H/VAR1>1.1;
 SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND CLOSE>VAR2 AND CLOSE<VAR1;
 SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1) AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1) AND CLOSE<VAR2);;
 SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2;
 XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1) AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2);
 XD2:=VAR1=VAR2 AND CLOSE>VAR1;
 SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));




未来函数检测结果如下:
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图