【股票指标公式下载】-【大智慧】必不可少(总股本、流通、均价)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

【大智慧】必不可少(总股本、流通、均价)-指标公式源码N:=20;DRAWGBKLAST(DATE900101,STRIP(RGB(75,75,75),RGB(0,0,0),0));DRAWTEXTABS(10,10,STKLABEL+''+STKNAME+''+BKNAME),COLOR00FFFF;STICKLINE(C=O,C,O,8,0),COLOR000055;STICKLINE(C=O,C,O,6.5,0),COLOR000075;STICKLINE(C=O,C,O,5,0),COLOR000095;STICKLINE(C=O,C,O,3.5,0),COLOR0000B5;STICKLINE(C=O,C,O,2,0),COLOR0000D5;STICKLINE(C=O,H,L,0.5,0),COLOR0000F5;STICKLINE(CO,C,O,8,0),COLOR303000;STICKLINE(CO,C,O,6.5,0),COLOR404000;STICKLINE(CO,C,O,5,0),COLOR505000;STICKLINE(CO,C,O,3.5,0),COLOR606000;STICKLINE(CO,C,O,2,0),COLOR707000;STICKLINE(CO,H,L,0.5,0),COLOR808000;总股本(亿):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;FILLRGN(VAR1,VAR2,VAR1VAR2,(RGB(100,0,100)));短趋:VAR1,ColorFFFFFF;中趋:VAR2,COLORYELLOW;PARTLINE(中趋,中趋REF(中趋,1)),COLORGREEN;SZ1:=REF(VAR1,1)=REF(VAR2,1)ANDVAR1VAR2ANDCLOSEVAR1;SZ2:=VAR1VAR2ANDVAR1REF(VAR1,1)ANDVAR2REF(VAR2,1)ANDH/VAR11.1ANDLVAR2ANDCLOSEVAR1;SZ3:=VAR1VAR2ANDVAR1REF(VAR1,1)ANDVAR2=REF(VAR2,1)ANDH/VAR11.1;SZ4:=VAR1VAR2ANDVAR1REF(VAR1,1)ANDVAR2REF(VAR2,1)ANDCLOSEVAR2ANDCLOSEVAR1;SZ5:=(VAR1VAR2ANDVAR2REF(VAR2,1)ANDVAR1REF(VAR1,1)ANDCLOSEVAR2)OR(VAR1VAR2ANDVAR1REF(VAR1,1)ANDVAR2REF(VAR2,1)ANDCLOSEVAR2);;SZ6:=REF(VAR1,1)REF(VAR2,1)ANDVAR1=VAR2ANDCLOSEVAR2;XD1:=VAR1=VAR2ANDCLOSEVAR2OR(VAR1REF(VAR1,1)ANDVAR2REF(VAR2,1)ANDREF(VAR1,1)=REF(VAR2,1)ANDCLOSEVAR2);XD2:=VAR1=VAR2ANDCLOSEVAR1;SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));量能饱和度:=IF(SAT1,1,SAT)*100;IFBARSTATUS=2ANDSZ1THENBEGINDRAWTEXTABS(320,25,'调整结束短线介入'),COLORRED;ENDELSEIFBARSTATUS=2ANDSZ2THENBEGINDRAWTEXTABS(320,25,'上升通道走势良好'),COLORRED;ENDELSEIFBARSTATUS=2ANDSZ3THENBEGINDRAWTEXTABS(320,25,'股价偏离注意调整'),COLORRED;ENDELSEIFBARSTATUS=2ANDSZ4THENBEGINDRAWTEXTABS(320,25,'上升通道调整洗盘'),COLORGREEN;ENDELSEIFBARSTATUS=2ANDSZ5THENBEGINDRAWTEXTABS(320,25,'转向特征注意离场'),COLORGREEN;ENDELSEIFBARSTATUS=2ANDSZ6THENBEGINDRAWTEXTABS(320,25,'通道改变坚决离场'),COLORGREEN;ENDELSEIFBARSTATUS=2ANDXD1THENBEGINDRAWTEXTABS(320,25,'下跌通道只宜观望'),COLORGREEN;ENDELSEIFBARSTATUS=2ANDXD2THENBEGINDRAWTEXTABS(320,25,'短期底部准备进入'),COLORYELLOW;END;AB1:=COST(0.33);AB2:=COST(5);AB3:=COST(15);AB4:=COST(55);AB5:=COST(97);AA1:=COST(90);AA2:=COST(70);AA3:=COST(30);AA4:=COST(10);获利:=WINNER(CLOSE)*100;套牢:=100-WINNER(CLOSE)*100;DRAWTEXTABS(15,25,'量能饱和度:'+NUMTOSTRN(量能饱和度,2)+'%'),COLOR00FFFF;DRAWTEXTABS(15,40,'90成本:'+NUMTOSTRN(AA1,2)),COLOR00FFFF;DRAWTEXTABS(15,55,'70成本:'+NUMTOSTRN(AA2,2)),COLOR00FFFF;DRAWTEXTABS(15,70,'30成本:'+NUMTOSTRN(AA3,2)),COLOR00FFFF;DRAWTEXTABS(15,85,'10成本:'+NUMTOSTRN(AA4,2)),COLOR00FFFF;DRAWTEXTABS(15,100,'底出击:'+NUMTOSTRN(AB1,2)),COLOR00FFFF;DRAWTEXTABS(520,25,'建仓:'+NUMTOSTRN(AB2,2)),COLOR00FFFF;DRAWTEXTABS(600,25,'快刀:'+NUMTOSTRN(AB3,2)),COLOR00FFFF;DRAWTEXTABS(675,25,'升浪:'+NUMTOSTRN(AB4,2)),COLOR00FFFF;DRAWTEXTABS(520,40,'获利:'+NUMTOSTRN(获利,2)+'%'),COLOR00FFFF;DRAWTEXTABS(600,40,'套牢:'+NUMTOSTRN(套牢,2)+'%'),COLOR00FFFF;DRAWTEXTABS(675,40,'预测:'+NUMTOSTRN(AB5,2)),COLOR00FFFF;TJ1:=VOL=HHV(VOL,10)ANDVOL2*REF(VOL,1)ANDCLOSEVAR1;立桩量:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(立桩量)=1ANDCLOSEREF(HIGH,1),1,IF(BARSLAST(立桩量)=2ANDCLOSEREF(HIGH,2),1,IF(BARSLAST(立桩量)=3ANDCLOSEREF(HIGH,3),1,0)));突破:=TJ2=1;STICKLINE(CLOSE,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),6,0),COLORCYAN;STICKLINE(CLOSE,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),6,0),COLORYELLOW;TJ3:=IF(BARSLAST(立桩量)=1ANDCLOSEREF(LOW,1),1,IF(BARSLAST(立桩量)=2ANDCLOSEREF(LOW,2),1,IF(BARSLAST(立桩量)=3ANDCLOSEREF(LOW,3),1,0)));三天法则:=TJ3=1;成立:=三天法则AND突破;条件成立:=FILTER(成立,3);DRAWTEXT(条件成立,L*0.99,'成立'),COLORYELLOW;DRAWRECTREL(0,85,15,380,RGB(30,30,30)),COLORWHITE;AAA:=量能饱和度=10;BBB:=量能饱和度10AND量能饱和度=20;CCC:=量能饱和度20AND量能饱和度=30;DDD:=量能饱和度30AND量能饱和度=50;EEE:=量能饱和度50AND量能饱和度=70;FFF:=量能饱和度70AND量能饱和度=80;GGG:=量能饱和度80AND量能饱和度=90;HHH:=量能饱和度90;IFBARSTATUS=2ANDAAATHENBEGINDRAWRECTREL(0,350,15,380,RGB(255,0,0));ENDELSEIFBARSTATUS=2ANDBBBTHENBEGINDRAWRECTREL(0,320,15,380,RGB(255,0,0));ENDELSEIFBARSTATUS=2ANDCCCTHENBEGINDRAWRECTREL(0,290,15,380,RGB(255,0,0));ENDELSEIFBARSTATUS=2ANDDDDTHENBEGINDRAWRECTREL(0,230,15,380,RGB(255,0,0));ENDELSEIFBARSTATUS=2ANDEEETHENBEGINDRAWRECTREL(0,170,15,380,RGB(255,0,0));ENDELSEIFBARSTATUS=2ANDFFFTHENBEGINDRAWRECTREL(0,140,15,380,RGB(255,0,0));ENDELSEIFBARSTATUS=2ANDGGGTHENBEGINDRAWRECTREL(0,110,15,380,RGB(255,0,0));ENDELSEIFBARSTATUS=2ANDHHHTHENBEGINDRAWRECTREL(0,85,15,380,RGB(255,0,0));END;【大智慧】必不可少(总股本、流通、均价)-指标公式效果图(文档来源:若水财经社区)

1 / 6
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功