【股票指标公式下载】-【大智慧】操盘神手(每股收益、流通盘、买线、卖线)
【股票指标公式下载】-【大智慧】45度异动(标注数字、持股线、趋势线、每股收益)
【大智慧】45度异动(标注数字、持股线、趋势线、每股收益)-指标公式源码a23:al+ahl*0.236,COLORYELLOW,POINTDOT;a38:al+ahl*0.382,COLOREE00EE,POINTDOT;a50:al+ahl*0.50,COLORYELLOW,POINTDOT;a61:al+ahl*0.618,COLOREE00EE,POINTDOT;a76:al+ahl*0.764,COLORYELLOW,POINTDOT;{标注数字}y:=999;DRAWTEXTREL(500,0,'100% '+ah),COLOREE00EE;DRAWTEXTREL(500,y*0.236,'76.4% '+a76),COLORYELLOW;DRAWTEXTREL(500,y*0.382,'61.8% '+a61),COLOREE00EE;DRAWTEXTREL(500,y*0.50,'50% '+a50),COLORYELLOW;DRAWTEXTREL(500,y*0.618,'38.2% '+a38),COLOREE00EE;DRAWTEXTREL(500,y*0.764,'23.6% '+a23),COLORYELLOW;DRAWTEXTREL(500,y-30,'最低 '+al),COLOREE00EE;DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));varl13:=("macd.diff#WEEK"(26,12,9));varl14:=("macd.dea#WEEK"(26,12,9));VL:=REF(LOW,1); VH:=REF(H,1);Var1:=SMA(ABS(H-Vh),13,1)/SMA(MAX(H-Vh,0),13,1)*100;Var2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;Var3:=MA(Var1,13);Var4:=MA(Var2,13);Var5:=LLV(L,34);Var6:=HHV(H,34);Var7:=EMA(IF(H>=Var6,Var3,0),3);Var8:=EMA(IF(L<=Var5,Var4,0),3);var9:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));var10:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (var9* 10.9);Var11:=FILTER(IF(var10<=var9 AND Var8>REF(Var8,1),Var8*8,0),55);Var21:=LLV(LOW,60);Var31:=HHV(HIGH,60);Var41:=EMA((CLOSE-Var21)/(Var31-Var21)*100,13);Var51:=EMA(0.667*REF(Var41,1)+0.333*Var41,21);varl2:=FILTER(CROSS(Var51,Var41) AND Var41>84,13);持股线:MA(C,26),LINETHICK3,coloryellow;趋势线:MA(CLOSE,13),linethick5,colorred;qjj:FILTER((CROSS(varl13,varl14) and varl14<0 and CROSS(c,持股线)),90),LINETHICK0;DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff; DD:=FINANCE2(35);SS:=FINANCE2(37);GG:=FINANCE2(3);TH:=DYNAINFO(39);DRAWTEXTREL(10,720,'总股本:'+NUMTOSTRn(DD,0)+'万股' +' 流通A股:'+NUMTOSTRn(SS,0)+'万股'+'市盈率:'+NUMTOSTRn(TH,2)+' 倍'+' 每股收益:'+NUMTOSTRn(GG,3)+' 元'),ColorFFFF00;DRAWTEXT(var11,C*0.98,'㊣'),linethick4,ColorFFFF00;DRAWICON(qjj,C*1.09,1);DRAWTEXT(qjj,l*0.78,'霸占大牛股'),COLOR00FFFF;DRAWTEXT(varl2,C*1.04,'逃跑'),Colorgreen;获利比例:=(WINNER(C)*1000)/10;平均成本:=(COST(50)*100)/100;穿透力:=(winner(C)-winner(ref(C,1)))/v*capital;90%成本:=FLOOR(COST(50-90/2)*100)/100;~:=CEILING(COST(50+90/2)*100)/100;90集中度:=INTPART((~-90%成本)/(~+90%成本)*1000)/10;70%成本:=FLOOR(COST(50-70/2)*100)/100;~~:=CEILING(COST(50+70/2)*100)/100;70集中度:=INTPART((~~-70%成本)/(~~+70%成本)*1000)/10; DRAWTEXTABS(0,12,' 获利比例:'+STR(获利比例)),COLOR44bbff; DRAWTEXTABS(0,24,' 平均成本:'+STR(平均成本)),COLOR44bbff; DRAWTEXTABS(0,36,' 穿透力:'+STR(穿透力)),COLOR44bbff; DRAWTEXTABS(0,48,'90%成本:'+STR(90%成本)+'-'+STR(~)),COLOR44bbff;DRAWTEXTABS(0,60,'90集中度:'+STR(90集中度)),COLOR44bbff;DRAWTEXTABS(0,72,'70%成本:'+STR(70%成本)+'-'+STR(~~)),COLOR44bbff;DRAWTEXTABS(0,84,'70集中度:'+STR(70集中度)),COLOR44bbff;gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,20,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,20,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,20,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,20,0),ColorFF9900;DRAWTEXTREL(770,5,'今日支撑:'+NUMTOSTRN(今日支撑 ,2 )),Colorred; DRAWTEXTREL(630,5,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN; DRAWTEXTREL(1,800,'所属板块:'+BKNAME),ColorAFFF00;DRAWTEXTREL(1,850,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;【大智慧】45度异动(标注数字、持股线、趋势线、每股收益)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)第一篇:【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式源码{【SUPERVIEW大资金流向】} DRAWTEXTABS(0,2,'《若水》'),COLOR0000FF;DRAWTEXTABS(85,2,'《若水》'),COLORYELLOW;DRAWTEXTREL(350,10,'【SUPERVIEW大资金流向】'),LINETHICK4,Color00b5ff;DRAWTEXTABS(0,38,'大盘指数:'+INDEXC+''),LINETHICK0,COLORFF00FF;DRAWTEXTABS(0,52,'大盘涨跌:'+INDEXC-REF(INDEXC,1)),LINETHICK0,PRECIS2,COLORFFFF00;DRAWTEXTA BS(100,52,''+((INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100)+'%'),LINETHICK0,PRECIS2,C OLORFFFF00;DRAWTEXTABS(0,140,'股票代码:'+STKLABEL+''),LINETHICK1,COLORFFFF00;DRAWTEXTABS(0,155 ,'股票名称:'+STKNAME+''),LINETHICK1,COLORFFFF00;DRAWTEXTABS(0,17 0,'最新价格:'+DYNAINFO(7)+'元'),LINETHICK0,COLORFF00FF;DRAWTEXTABS(0,185,'今日涨幅:'+DYNAINFO(14)*100+'%'),LINETHICK0,COLOR00FFFF,PRECIS2; DRAWTEXTABS(0,200,'今日涨跌:'+C-REF(C,1)),LINETHICK0,COLORFFFF00,PRECIS2;DRAWTEXTABS(0,2 14,'历史最高价:'+HHV(HIGH,0)),Colorred,LINETHICK0;DRAWTEXTABS(0,229,'历史最低价:'+LLV(LOW,0)),COLOR00FF00,LINETHICK0;TODAY:=DYNAINFO(7 )=CLOSE and DYNAINFO(10)=AMOUNT;{判断是否当天} {叠加大盘线} TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');DPSH:=“SH00000 1$CLOSE”/HHV(STKINDI('SH000001','分超引用.昨收#DAY'),0);DPSZ:=“399001$CLOSE”/HHV(STKINDI('399001','分超引用.昨收#DAY'),0);DPC:=IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);POLYLINE(C>0,DPC),CO LORFF00FF,LINETHICK2,LAYER0;{DRAWTEXTABS(90,5,TC);} DRAWTEXTABS(0,66,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+' 家'),COLOR0000FF;DRAWTEXTABS(0,80,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+' 家'),COLOR00FF00;DRAWTEXTABS(0,94,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+' 家'),COLORFFFFFF;{分时超赢} HS:=vol/capital;主单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,2),BIGORDER(1,2[/email]));主单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,2),BIGORDER(2,2[/email]));特单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,3),bigorder(1,3[/email]));特单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,3),bigorder(2,3[/email]));大单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,2)-“DDEDATA@BIGORDER”(1,3),bigorder(1,2)-bigorder(1,3[/email]));大单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,2)-“DDEDATA@BIGORDER”(2,3),bigorder(2,2)-bigorder(2,3[/email]));中单买:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(1,1)-“DDEDATA@BIGORDER”(1,2),bigord er(1,1)-bigorder(1,2[/email]));中单卖:=IF(TODAY,“[email=DDEDATA@BIGORDER]DDEDATA@BIGO RDER”(2,1)-“DDEDATA@BIGORDER”(2,2),bigorder(2,1)-bigorder(2,2[/email]));小单买:=IF(TODAY,1-“[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER”(1,1),1 -bigorder(1,1[/email]));小单卖:=IF(TODAY,1-“[email=DDEDATA@BIGORDER]DDEDATA@BIGORDER”(2,1),1 -bigorder(2,1[/email]));外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;主动率:=(外盘-内盘)/(内盘+外盘)*100;单数比:=IF(DYNAINFO(92)/DYNAINFO(91),DYNAINFO(92)/DYNAINF O(91),0);TCL1:=IF(TODAY ,(大单买+特单买),(DYNAINFO(95)+DYNAINFO(94)));TCL2:=IF(TODAY,(特单卖+大单卖),(DYNAINFO(98)+DYNAINFO(97)));{通吃率:=(TCL1-TCL2)*VOL/VOL*100;} DRAWTEXTABS(0,108,'主动率:'+ NUMTOSTRN(主动率,2)),COLOR00FFFF;DRAWTEXTABS(0,122,'单数比:'+ NUMTOSTRN(单数比,2)),COLOR00FFFF;{DRAWTEXTABS(0,136,'通吃率:'+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;} TDLR:=特单买*AMOUNT/10000;TDLC:=特单卖*AMOUNT/10000;超净:TDLR-TDLC,COLORFF00FF,LINETHICK0,PRECIS2;超增:SUM(特单买,1)-SUM(特单卖,1)%,COLORFF00FF,LINETHICK0,PRECIS2;CD:=特单买-特单卖;超大:=HS*CD*100;超大持仓:= 25+Sum(超大,0);DDLR:=大单买*AMOUNT/10000;DDLC:=大单卖*AMOUNT/10000;大净:(DDLR-DDLC),COLOR00FF00,LINETHICK0,PRECIS2;大增:SUM(大单买,1)-SUM(大单卖,1)%,COLOR00FF00,LINETHICK0,PRECIS2;DD:=大单买-大单卖;大户:=HS*DD*100;大户持仓:=25+Sum(大户,0);ZDLR:=中单买*AMOUNT/10000;ZDLC:=中单卖*AMOUNT/10000;中净:(ZDLR-ZDLC),COLORB5B5B5,LINETHICK0,PRECIS2;中增:SUM(中单买,1)-SUM(中单卖,1)%,COLORB5B5B5,LINETHICK0,PRECIS2;ZD:=中单买-中单卖;中户:=HS*ZD*100;中户持仓:= 25+Sum(中户,0);XDLR:=小单买*AMOUNT/10000;XDLC:=小单卖*AMOUNT/10000;散净:(XDLR-XDLC),COLORFF9911,LINETHICK0,PRECIS2;散增:SUM(小单买,1)-SUM(小单卖,1)%,COLORFF9911,LINETHICK0,PRECIS2;XD:=小单买-小单卖;散户:=HS*XD*100;散户持仓:= 25+Sum(散户,0);ZLLR:=主单买*AMOUNT/10000;ZLLC:=主单卖*AMOUNT/10000;主净:ZLLR-ZLLC,COLOR00FFFF,LINETHICK0,PRECIS2;主增:SUM(主单买,1)-SUM(主单卖,1)%,COLOR00FFFF,LINETHICK0,PRECIS2;主力:=(超大+大户);主力持仓:=(超大持仓+大户持仓);{五分钟资金趋势} 主5:=主净-REF(主净,5);超5:=超净-REF(超净,5);大5:=大净-REF(大净,5);中5:=中净-REF(中净,5);散5:=散净-REF(散净,5);DRAWTEXTABS(105,25,'五分钟各单净买(万):'),COLORFFFF00;DRAWTEXTABS(225,25,'主力:'+ NUMTOSTRN(主5,2)),COLOR00FFFF;DRAWTEXTABS(325,25,'机构:'+ NUMTOSTRN(超5,2)),COLORFF00FF;DRAWTEXTABS(425,25,'大户:'+ NUMTOSTRN(大5,2)),COLOR00FF00;DRAWTEXTABS(525,25,'中户:'+ NUMTOSTRN(中5,2)),COLORB5B5B5;DRAWTEXTABS(625,25,'散户:'+ NUMTOSTRN(散5,2)),COLORFF9911;{画柱图};最大值:=400/(MAX(ZLLR,ZLLC,TDLR,TDLC,DDLR,DDLC,ZDLR,ZDLC,XD LR,XDLC,散净,中净,大净,超净,主净));主力买:=600-(ZLLR*最大值);主力卖:=600-(ZLLC*最大值);主力净买:=500-(ABS(主净)*最大值);超大买:=600-(TDLR*最大值);超大卖:=600-(TDLC*最大值);超大净买:=500-(ABS(超净)*最大值);大户买:=600-(DDLR*最大值);大户卖:=600-(DDLC*最大值);大户净买:=500-(ABS(大净)*最大值);中户买:=600-(ZDLR*最大值);中户卖:=600-(ZDLC*最大值);中户净买:=500-(ABS(中净)*最大值);散户买:=600-(XDLR*最大值);散户卖:=600-(XDLC*最大值);散户净买:=500-(ABS(散净)*最大值);DRAWRECTREL(280,主力买,300,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 300,主力卖,320,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 320,主力净买,340,610,(IF((主净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(410,超大买,430,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 430,超大卖,450,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 450,超大净买,470,610,(IF((超净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(540,大户买,560,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 560,大户卖,580,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 580,大户净买,600,610,(IF((大净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(670,中户买,690,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 690,中户卖,710,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL( 710,中户净买,730,610,(IF((中净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRA WRECTREL(800,散户买,820,610,RGB(200,0,0)),COLOR000000,LAYER5;DRAWRECTREL( 820,散户卖,840,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(840,散户净买,860,610,(IF((散净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;{横彩条} DRAWRECTREL(280,620,340,650,RGB(255,255,0));DRAWRECTREL (410,620,470,650,RGB(255,0,255));DRAWRECTREL(540,620,600,6 50,RGB(0,200,0));DRAWRECTREL(670,620,730,650,RGB(200,200,2 00));DRAWRECTREL(800,620,860,650,RGB(0,0,200));{显示文字} DRAWTEXTREL(260,450,'主'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(260,580,'力'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(390,450,'机'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(390,580,'构'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(520,450,'大'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(520,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(650,450,'中'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(650,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(780,450,'散'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(780,580,'户'),LINETHICK2,ColorDDFFFF;DRAWTEXTREL(230,680,'买入:'),colorred;DRAWTEXTREL(230,750,'卖出:'),Color00FF00;DRAWTEXTREL(230,820,'净买:'),COLOR1199FF;DRAWTEXTREL(230,890,'持仓:'),COLOR00FFFF;DRAWTEXTREL(230,960,'增减:'),COLORFFFF00;{显示数据} DRAWTEXTREL(280,680,NUMTOSTRN(ZLLR,2)),colorred;DRAWT EXTREL(280,750,NUMTOSTRN(ZLLC,2)),COLOR00FF00;DRAWTEX TREL(280,820,NUMTOSTRN(主净,2)),COLOR1199FF;DRAWTEXTREL(280,890,NUMTOSTRN(主力持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(280,960,NUMTOSTRN(主增,2)+'%'),COLORFFFF00;DRAWTEXTREL(410,680,NUMTOSTRN(T DLR,2)),colorred;DRAWTEXTREL(410,750,NUMTOSTRN(TDLC,2)), COLOR00FF00;DRAWTEXTREL(410,820,NUMTOSTRN(超净,2)),COLOR1199FF;DRAWTEXTREL(410,890,NUMTOSTRN(超大持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(410,960,NUMTOSTRN(超增,2)+'%'),COLORFFFF00;DRAWTEXTREL(540,680,NUMTOSTRN( DDLR,2)),colorred;DRAWTEXTREL(540,750,NUMTOSTRN(DDLC,2 )),COLOR00FF00;DRAWTEXTREL(540,820,NUMTOSTRN(大净,2)),COLOR1199FF;DRAWTEXTREL(540,890,NUMTOSTRN(大户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(540,960,NUMTOSTRN(大增,2)+'%'),COLORFFFF00;DRAWTEXTREL(670,680,NUMTOSTRN( ZDLR,2)),colorred;DRAWTEXTREL(670,750,NUMTOSTRN(ZDLC,2) ),COLOR00FF00;DRAWTEXTREL(670,820,NUMTOSTRN(中净,2)),COLOR1199FF;DRAWTEXTREL(670,890,NUMTOSTRN(中户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(670,960,NUMTOSTRN(中增,2)+'%'),COLORFFFF00;DRAWTEXTREL(800,680,NUMTOSTRN( XDLR,2)),colorred;DRAWTEXTREL(800,750,NUMTOSTRN(XDLC,2) ),COLOR00FF00;DRAWTEXTREL(800,820,NUMTOSTRN(散净,2)),COLOR1199FF;DRAWTEXTREL(800,890,NUMTOSTRN(散户持仓,2)+'%'),COLOR00FFFF;DRAWTEXTREL(800,960,NUMTOSTRN(散增,2)+'%'),COLORFFFF00;【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式效果图(文档来源:若水财经社区)第二篇:【股票指标公式下载】-【大智慧】后复权(后复权折合价) 【大智慧】后复权(后复权折合价)-指标公式源码VARIABLE:总除权比例=1;{请在不复权状态下使用} 每股派息:=IF(DIVIDBARS(0)=0,DIVIDEND(0),0);派息总量:=SUM(IF(BARPOS=1,0,每股派息),0);当天除权:=IF(SPLITBARS(0)=0,1,0);除权次数:=SUM(IF(BARPOS=1,0,当天除权),0);除权比例:=SPLIT(0);IF 除权次数<>REF(除权次数,1)THEN 总除权比例:=总除权比例*除权比例;后复权折合价:=(C+派息总量)/总除权比例;后复权折合价;DRAWTEXT(DIVIDBARS(0)=0,后复权折合价,'息'),COLORYELLOW;DRAWTEXT(SPLITBARS(0)=0,后复权折合价,'权'),COLORRED,VALIGN2;【大智慧】后复权(后复权折合价)-指标公式效果图(文档来源:若水财经社区)第三篇:大盘10日线操作股票法2010年5月20日重点谈大盘10日均线法大盘指数翻上10日均线,站稳之后再持股,翻下10日线就持币。
【股票指标公式下载】-【大智慧】数字主图(预测、明日支撑、撑压位共9页文档
【大智慧】数字主图(预测、明日支撑、撑压位)-指标公式源码预测1:=(C+H+L)/3;预测2:=H-L;预测4:=预测1+预测2;预测5:=预测1-预测2;预测6:=2*预测1-L;预测7:=2*预测1-H;预测9:=BARSTATUS=2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测4,预测5,1,1000),COLOR102070,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测4,预测5,0,1000),COLOR1020E0,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,8,1000),COLOR102070,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,7,1000),COLOR102080,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,6,1000),COLOR102090,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,5,1000),COLOR1020A0,LINETHICK2;7,4,1000),COLOR1020B0,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,3,1000),COLOR1020C0,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,2,1000),COLOR1020D0,LINETHICK2;STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,1,1000),COLOR1020E0,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测4,预测5,1,1000),COLOR105510,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测4,预测5,0,1000),COLOR10CC10,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,8,1000),COLOR105510,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,7,1000),COLOR106610,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,6,1000),COLOR107710,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,5,1000),COLOR108810,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,4,1000),COLOR109910,LINETHICK2;7,3,1000),COLOR10AA10,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,2,1000),COLOR10BB10,LINETHICK2;STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,1,1000),COLOR10CC10,LINETHICK2;gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01) /100);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力, 1);今日支撑:=REF(明日支撑, 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;DRAWTEXTREL(406,117,'---------------------------------------'), ColorFFFFFF;IF BARSTATUS=2 and c>=今日支撑 THENDRAWTEXTREL(408,147,'今日支撑:'+NUMTOSTRN(今日支撑,2)),colorred;IF BARSTATUS=2 and c<今日支撑 THENDRAWTEXTREL(408,147,'今日支撑:'+NUMTOSTRN(今日支撑,2)),colorred;IF BARSTATUS=2 and c>=今日阻力 THENDRAWTEXTREL(408,187,'今日阻力:'+NUMTOSTRN(今日阻力,2)),Color0000FF;IF BARSTATUS=2 and c<今日阻力 THENDRAWTEXTREL(408,187,'今日阻力:'+NUMTOSTRN(今日阻力,2)),Color00FF00;IF BARSTATUS=2 and c>=明日支撑 THENDRAWTEXTREL(510,147,' 明日支撑:'+NUMTOSTRN(明日支撑,2)),Color00FFFF;IF BARSTATUS=2 and c<明日阻力 THENDRAWTEXTREL(510,187,' 明日阻力:'+NUMTOSTRN(明日阻力,2)),Color00FFFF;DRAWTEXTREL(406,217,'===================='),ColorFFFFFF;下档线:=(((CLOSE - LLV(LOW,13))/(HHV(HIGH,13) - LLV(LOW,13))) * 100);aRSV:=SMA(下档线,3,1);aK:=SMA(aRSV,3,1);aD:=((3 * aRSV) - (2 * aK));aJ12:=(((CLOSE - LLV(LOW,55))/(HHV(HIGH,55) - LLV(LOW,55))) * 100);aRSV24:=SMA(aJ12,3,1);aK24:=SMA(aRSV24,3,1);aD24:=((3 * aRSV24) - (2 * aK24));撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD))));底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF;DRAWTEXT(BARSTATUS=2,撑压位,'撑压'),COLORFFFFFF,VALIGN1; STICKLINE(BARSTATUS=2,底,底,30,1),COLOR00FF00,LINETHICK1; DRAWTEXT(BARSTATUS=2,底,'底线'),COLOR00FF00,VALIGN0;AA05:MA(C,5),colorff00ff,linethick1;五日乖离率:=(c-AA05)/AA05*100;BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);加速度5:ema((速度5-ref(速度5,1)),3),linethick0;{STICKLINE(BB05>30 andAA05>ref(AA05,1),AA05,REF(AA05,1),8,1),colorff00ff;}AA10:MA(C,10),coloryellow;AA20:=MA(c,20);BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;{STICKLINE(BB05<0 andAA05<ref(AA05,1),AA05,REF(AA05,1),3,1),colorcyan;}AA30:MA(C,30),colorwhite;三拾日乖离率:(c-AA30)/AA30*100,linethick0;Var1:=(AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) and AA30>ref(AA30,1);Var2:=(AA30-AA20)<ref((AA30-AA20),1) and AA20<ref(aa20,1) and AA30<ref(AA30,1);BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;{STICKLINE(BB30>15 andAA30>ref(AA30,1),AA30,REF(AA30,1),8,1),colorff00ff;}强势狙击:=filter(BB30>30 and BB10>45 and cross(BB05,60),10);加仓:=filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and AA10>ref(AA10,1)and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1),10) ;清仓:=filter(count(cross(30,BB05),5)>=1 and (c>AA30 or O>AA30) and AA05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) andAA10<ref(AA10,1),10);drawtext(加仓,low*0.98,'←加仓'),colorred;JC:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and AA10>ref(AA10,1) ;减仓:=filter(JC,10);MR:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 andref(c,1)<AA30;买入:=filter(MR,10);drawtext(减仓,high*1.02,'←减仓'),colorcyan;drawtext(买入,low*0.98,'←买入'),coloryellow;drawtext(强势狙击,LOW*0.98,'←强势狙击'),coloryellow;Var21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));Var3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(Var21+Var3)/AMOUNT*VOL*100*50;DRAWTEXT(MV>6 and l<=llv(l,10),l*0.96,'←异动'),colorcyan;aa:=if(c>=ref(c,3),1,0);bb:=if(c>=ref(c,5),1,0);cc:=if(c>=ref(c,7),1,0);dd:=if(c>=ref(c,8),1,0);ee:=if(c>=ref(c,13),1,0);ff:=if(c>=ref(c,21),1,0);gz2:=aa+bb+cc+dd+ee+ff;Var11:=EMA(CLOSE,3)-EMA(CLOSE,6)-(EMA(CLOSE,6)-EMA(CLOSE,12))*( -100);Var12:=EMA(Var11,3);Var5:=CROSS(Var11,Var12);Var6:=CROSS(Var12,Var11);STICKLINE(C>=O,l,H,0,0),COLOR0000FF,LAYER2;STICKLINE(C<O,l,H,0,0),COLORFFFF00,LAYER2;STICKLINE(C>=O,O,C,10,1),COLOR0000FF,LAYER2;STICKLINE(C<O,O,C,8,0),COLORFFFF00,LAYER2;STICKLINE(Var6,OPEN,CLOSE,8,0),COLORBLUE,LAYER0;{兰色熊K} STICKLINE(Var5,OPEN,CLOSE,5,0),COLORYELLOW,LAYER0;{彩色牛K} STICKLINE(Var5,OPEN,CLOSE-(CLOSE-OPEN)*0.33,5,0),COLORaaccdd,LA YER0;{彩色牛K}STICKLINE(Var5,OPEN,CLOSE-(CLOSE-OPEN)*0.66,5,0),COLORRED,LAYER 0;{彩色牛K}DRAWTEXT(c>0,(O+C)/2,NUMTOSTRN(gz2,0 )),coloryellow,LAYER0,ALIG N1,VALIGN0,LINETHICK1;{彩色牛K};【大智慧】数字主图(预测、明日支撑、撑压位)-指标公式效果图(文档来源:若水财经社区)希望以上资料对你有所帮助,附励志名言3条:1、理想的路总是为有信心的人预备着。
【股票指标公式下载】-【大智慧】主力进出(主力、游资、大户、散户)
【大智慧】主力进出(主力、游资、大户、散户)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),LINETHICK0,color00FFFF;游资:MA(A,8),LINETHICK0,color00FF00;大户:MA(A,16),LINETHICK0,color0000FF;散户:MA(A,32),LINETHICK0,colorFFFF00;主力参与比例:CEILING(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FFFF;游资参与比例:CEILING(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FF00;大户参与比例:CEILING(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,color0000FF;散户参与比例:CEILING(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,colorFFFF00;警戒线:MA(A,180),colorFF00FF;STICKLINE((主力 > 0),0,主力,8,0),color0000FF;STICKLINE((主力 > 0),0,主力,7.8,0),color0018FF;STICKLINE((主力 > 0),0,主力,7.5,0),color001BFF;STICKLINE((主力 > 0),0,主力,7.3,0),color0022FF;STICKLINE((主力 > 0),0,主力,7,0),color0035FF;STICKLINE((主力 > 0),0,主力,6.8,0),color0041FF;STICKLINE((主力 > 0),0,主力,6.5,0),color0050FF;STICKLINE((主力 > 0),0,主力,6.3,0),color0059FF;STICKLINE((主力 > 0),0,主力,6,0),color0062FF;STICKLINE((主力 > 0),0,主力,5.7,0),color006CFF;STICKLINE((主力 > 0),0,主力,5.5,0),color007AFF;STICKLINE((主力 > 0),0,主力,5.3,0),color0080FF;STICKLINE((主力 > 0),0,主力,5,0),color0089FF;STICKLINE((主力 > 0),0,主力,4.5,0),color0095FF;STICKLINE((主力 > 0),0,主力,3.5,0),color009CFF;STICKLINE((主力 > 0),0,主力,3,0),color00ABFF;STICKLINE((主力 > 0),0,主力,2.5,0),color00C0FF;STICKLINE((主力 > 0),0,主力,1.5,0),color00D1FF;STICKLINE((主力 > 0),0,主力,1,0),color00EAFF; STICKLINE((主力 > 0),0,主力,0.7,0),color00FFFF; STICKLINE((游资 > 0),0,游资,8,0),color006800; STICKLINE((游资 > 0),0,游资,7.8,0),color007F00; STICKLINE((游资 > 0),0,游资,7,5),color008B00; STICKLINE((游资 > 0),0,游资,7,3),color008B00; STICKLINE((游资 > 0),0,游资,7,0),color009000; STICKLINE((游资 > 0),0,游资,6.8,0),color009500; STICKLINE((游资 > 0),0,游资,6.5,0),color009C00; STICKLINE((游资 > 0),0,游资,6.3,0),color00A300; STICKLINE((游资 > 0),0,游资,6,0),color00AB00; STICKLINE((游资 > 0),0,游资,5.7,0),color00AF00; STICKLINE((游资 > 0),0,游资,5.5,0),color00B900; STICKLINE((游资 > 0),0,游资,5.3,0),color00C000; STICKLINE((游资 > 0),0,游资,5,0),color00C100; STICKLINE((游资 > 0),0,游资,4.5,0),color00CA00; STICKLINE((游资 > 0),0,游资,3.5,0),color00D300; STICKLINE((游资 > 0),0,游资,3,0),color00DB00; STICKLINE((游资 > 0),0,游资,2.5,0),color00EA00; STICKLINE((游资 > 0),0,游资,1.5,0),color00FF00; STICKLINE((大户 > 0),0,大户,8,0),color102088; STICKLINE((大户 > 0),0,大户,7,0),color102099; STICKLINE((大户 > 0),0,大户,6,0),color1020AA; STICKLINE((大户 > 0),0,大户,5,0),color1020BB; STICKLINE((大户 > 0),0,大户,4,0),color1020CC; STICKLINE((大户 > 0),0,大户,3,0),color1020DD; STICKLINE((大户 > 0),0,大户,2,0),color1020EE; STICKLINE((大户 > 0),0,大户,1,0),color1020FF; STICKLINE((大户 > 0),0,大户,8,0),color102088; STICKLINE((大户 > 0),0,大户,7,0),color102099; STICKLINE((大户 > 0),0,大户,6,0),color1020AA; STICKLINE((大户 > 0),0,大户,5,0),color1020BB; STICKLINE((大户 > 0),0,大户,4,0),color1020CC; STICKLINE((大户 > 0),0,大户,3,0),color1020DD; STICKLINE((大户 > 0),0,大户,2,0),color1020EE;STICKLINE((大户 > 0),0,大户,1,0),color1020FF;STICKLINE((散户 > 0),0,散户,8,0),colorFF7700;STICKLINE((散户 > 0),0,散户,7,0),colorFF8800;STICKLINE((散户 > 0),0,散户,6,0),colorFF9900;STICKLINE((散户 > 0),0,散户,5,0),colorFFAA00;STICKLINE((散户 > 0),0,散户,4,0),colorFFBB00;STICKLINE((散户 > 0),0,散户,3,0),colorFFCC00;STICKLINE((散户 > 0),0,散户,2,0),colorFFDD00;STICKLINE((散户 > 0),0,散户,1,0),colorFFEE00;STICKLINE((散户 > 0),0,散户,8,0),colorFF7700;STICKLINE((散户 > 0),0,散户,7,0),colorFF8800;STICKLINE((散户 > 0),0,散户,6,0),colorFF9900;STICKLINE((散户 > 0),0,散户,5,0),colorFFAA00;STICKLINE((散户 > 0),0,散户,4,0),colorFFBB00;STICKLINE((散户 > 0),0,散户,3,0),colorFFCC00;STICKLINE((散户 > 0),0,散户,2,0),colorFFDD00;STICKLINE((散户 > 0),0,散户,1,0),colorFFEE00;【大智慧】主力进出(主力、游资、大户、散户)-指标公式效果图(文档来源:若水财经社区)。
大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)
大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)INPUT:AM(1,0,1),AJ(1,0,1),AC(1,0,1),AR(1,0,1),AD(1,0,1),DM(1,0,1),ZL(1,0,1); DRAWGBKlast(c>0,strip(RGB(0,0,0),RGB(0,0,120),0));{1.K线}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8.5,0) ,COLOR000011;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000033;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD;STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),color0000FF;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8.5,0),color006600;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),color008800;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),color00AA00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),color00BB00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),color00CC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),color00DD00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),color00EE00;STICKLINE((OPEN > CLOSE),HIGH,LOW,1,0),color00FF00;LC:=REF(C,1);卖黄金:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0; DRAWTEXT(CROSS(80,卖黄金) ,high*1.04,'顶'),COLOR00ffFF,ALIGN1,LINETHICK1; STICKLINE(CROSS(80,卖黄金) AND C<O,H,L,2,0),COLOR00ffff,LAYER0;STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,12,0 ),COLOR007777,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,8,0 ),COLOR009999,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,6,0 ),COLOR00BBBB,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,4,0 ),COLOR00DDDD,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,2 ,0 ),COLOR00ffff,LAYER0; DRAWTEXTABS(5,5,'基本指标:MA5波段'),Color00FFff,LINETHICK3;BC:=(3*C+H+L)/5;MA5:EMA(MA(BC,5),5);PARTLINE(MA5,(MA5>REF(MA5,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYE R0;XL:=BARSLAST(DISPSTATUS=1)+1;E:=llvall(llv(L,XL))*0.95;IF AM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:MACD'),Color0000ff,LINETHICK4;DIFF:=EMA( EMA(CLOSE,12) - EMA(CLOSE,26),3);DEA:=EMA(DIFF,9);MACD:2*(DIFF-DEA),Color0598FF,LINETHICK0;;STICKLINE(MACD>0,E+MACD*2,E,12,0),Color0598FF;STICKLINE(MACD<0,E+MACD*2,E,12,0),ColorFF5500;END;IF AJ=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:KDJ'),Colorff00ff,LINETHICK4;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:(3*K-2*D),Color05FFFF,LINETHICK0;if(CROSS(K,D) AND BARSLAST(CROSS(D,K))<3,E*1.09,E),ColorFF9910 ; STICKLINE(K>D,E+(K-D)/50,E,12,0),Color0000FF;STICKLINE(K<D,E+(K-D)/50,E,12,0),Color00FF00;END;IF AC=1 THEN BEGINDRAWTEXTABS(200,5,'指标:CCI'),Color00ffff,LINETHICK4;TYP := (HIGH + LOW + CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),Color05FF00,LINETHICK0;; STICKLINE(CCI>0,E+CCI/350,E,12,0),Color0077FF;STICKLINE(CCI<0,E+CCI/350,E,12,0),ColorFF9900;END;IF AR=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:RSI'),Color00ff00,LINETHICK4;LC := REF(CLOSE,1);RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,ColorFF05FF,LINE THICK0;CRSI:="RSI.RSI3#WEEK";金叉RSI:STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E,E*1.1,0.6,0),ColorFF 00FF;DRAWTEXT(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E*1.1,'金叉'),COLOR0000FF;STICKLINE(RSI>CRSI,E+(RSI-CRSI)/50,E,12,0),Color0000FF;STICKLINE(RSI<CRSI,E+(RSI-CRSI)/50,E,12,0),Color00FF00;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:=EMA(VAR1,13)-EMA(VAR1,73);SD:=EMA(SK,2);XG:=((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) OR 金叉RSI);STICKLINE(XG,E,E*1.15,0.6,0),COLOR00FFFF;DRAWTEXT(XG,E*1.15,'突破'),COLOR00FFBB;END;IF AD=1 THEN BEGIN{DMI新编}DRAWTEXTABS(250,5,'技术指标:DMI'),Color0598ff,LINETHICK4;N:=21;M:=6;M1:=20;TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LO W)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);PDI:= DMP*100/TR1;MDI:DMM*100/TR1,Color05FFFF,LINETHICK0;ADX:= EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;ADXR:=EMA(ADX,M);ADMA:=EMA(ADX,M1);OMD:=(ADX-2*ADMA+ADXR)/2;STICKLINE( OMD>0,E,E+OMD/100,12,0),COLORRED;STICKLINE(OMD<0,E,E+OMD/100,12,0),COLORGREEN;END;IF DM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:DMA'),ColorFF55ff,LINETHICK4;DDD:=(MA(CLOSE,10)-MA(CLOSE,50));AMA:=MA(DDD,10);STICKLINE( DDD>AMA,E,E+(DDD-AMA),12,0),COLORFF22FF;STICKLINE(DDD<AMA,E,E+(DDD-AMA),12,0),COLOR99FF99;END;IF ZL=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:主力进出'),ColorFF55ff,LINETHICK4;jcs:=ZLSHORT;jcm:=ma(zlshort ,12);STICKLINE(jcs>jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLOR222299; STICKLINE(jcs<jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLORFFee00; END;。
【股票指标公式下载】-【大智慧】主成交量(均量、交易量)
【大智慧】主成交量(均量、交易量)-指标公式源码{M1,5,1,10,1;M2,10,5,30,1;M3,20,10,60,1;}{VOL,VOLSTICK;}M1:=5;M2:=10;M3:=20;成交量:VOL,LINETHICK0;五日均量:MA(VOL,M1);十日均量:MA(VOL,M2);廿日均量:MA(VOL,M3);预估今日成交量:IF((DYNAINFO(7)=CLOSE), DYNAINFO(38)*DYNAINFO(17),成交量),Color0000FF,LINETHICK0;{如果最新价=收盘价,选五日均量*量比,否则就选成交量}FILLRGN(五日均量,十日均量,五日均量>=十日均量,RGB(255,0,0),五日均量<=十日均量,RGB(0,255,0));{当五日均量>=十日均量时为红色飘带,反之为绿色飘带}AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{系数=成交量/((最高价-最低价)*2-绝对值(收盘价-开盘价))}主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOS E-LOW)),VOL/2));主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA A*(HIGH-LOW),0-成交量/2));STICKLINE(主买>=主卖,成交量,0,7.5,0),Color0E96A9;{黄色柱表示主力的净买量}STICKLINE(主买>=主卖,成交量,0,7,0),Color10A7BC;{黄色框2}STICKLINE(主买>=主卖,成交量,0,6,0),Color11B5CC;{黄色框3}STICKLINE(主买>=主卖,成交量,0,5,0),Color13C6DF;{黄色框4}STICKLINE(主买>=主卖,成交量,0,4,0),Color1CD2EC;{黄色框5}STICKLINE(主买>=主卖,成交量,0,2,0),Color39D8EE;{黄色框6}STICKLINE(主买>=主卖,成交量,0,0.5,0),ColorFFFFFF;{黄色框7} STICKLINE(主买<主卖,成交量,0,7.5,0),ColorCA6500;{蓝色柱主力的净卖量} STICKLINE(主买<主卖,成交量,0,7,0),ColorE17100;{蓝色框2}STICKLINE(主买<主卖,成交量,0,6,0),ColorF27900;{蓝色框3}STICKLINE(主买<主卖,成交量,0,5,0),ColorFF850B;{蓝色框4}STICKLINE(主买<主卖,成交量,0,4,0),ColorFF9326;{蓝色框5}STICKLINE(主买<主卖,成交量,0,2,0),ColorFFA042;{蓝色框6}STICKLINE(主买<主卖,成交量,0,0.5,0),colorFFFF00;{蓝色框7} STICKLINE(1>0,0,主买,7.5,0),ColorA200A2;{玫红柱1}STICKLINE(1>0,0,主买,7,0),ColorB700B7;{玫红柱2}STICKLINE(1>0,0,主买,6,0),ColorCE00CE;{玫红柱3}STICKLINE(1>0,0,主买,5,0),ColorE800E8;{玫红柱4}STICKLINE(1>0,0,主买,4,0),ColorFF00FF;{玫红柱5}STICKLINE(1>0,0,主买,2,0),ColorFF60FF;{玫红柱6}STICKLINE(1>0,0,主买,0.5,0),ColorFFD2FF;{玫红柱7}BBB:=LONGCROSS(成交量,五日均量,4);{全红柱表示今天的成交量超过五日均量}STICKLINE(BBB,0,成交量,7.5,0),color070084;{全红柱1}STICKLINE(BBB,0,成交量,7,0),color0000A3;{全红柱2}STICKLINE(BBB,0,成交量,6,0),color0000B7;{全红柱3}STICKLINE(BBB,0,成交量,5,0),color0000CD;{全红柱4}STICKLINE(BBB,0,成交量,4,0),color0000E9;{全红柱5}STICKLINE(BBB,0,成交量,2,0),color0754E9;{全红柱6}STICKLINE(BBB,0,成交量,0.5,0),Color68B8FF;{全红柱7}DL:=FILTER(成交量=LLV(成交量,20),5);{全绿柱表示今天是最近5天的成交量中是20日均量的最低量}STICKLINE(DL,0,成交量,7.5,0),Color006400;{全绿柱1}STICKLINE(DL,0,成交量,7,0),Color007500;{全绿柱2}STICKLINE(DL,0,成交量,6,0),Color008400;{全绿柱3}STICKLINE(DL,0,成交量,5,0),Color009900;{全绿柱4}STICKLINE(DL,0,成交量,4,0),Color00AE00;{全绿柱5}STICKLINE(DL,0,成交量,2,0),Color00BD00;{全绿柱6}STICKLINE(DL,0,成交量,0.5,0),Color8EFF8E;{全绿柱7}DRAWTEXTREL(0,0,'成交量'),COLORYELLOW;{DRAWTEXTREL(600,900,'证券代码: '+STKLABEL+' 证券名称:'+STKNAME+''),ColorFFAA00;}DRAWTEXTABS(35,0,'《若水》'),COLOR0000FF;{预计今天成交量}今天成交额:=AMOUNT/10000;昨天成交额:=REF(今天成交额,1);交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000 and DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240); 预测今天:=今天成交额/交易分钟数*240;交易分时:=FRACPART( 交易分钟数/60);剩余分时:=交易分时*60;剩余秒:=FRACPART( 剩余分时);剩余秒时:=剩余秒*60;交易小时:=交易分钟数/60 ;{显示文字}DRAWTEXTABS(125,0,'昨天金额:'+NUMTOSTRN(昨天成交额/10000,2)+'亿'),ColorF5FF00,LINETHICK1;DRAWTEXTABS(125,13,'预计今天:'+NUMTOSTRN(预测今天/10000,2)+'亿'),COLOR00FFFF,LINETHICK1;DRAWTEXTABS(450,2,'交易时间:'+INTPART(交易小时)+'小时'+NUMTOSTRN(剩余分时,0)+'分'+NUMTOSTRN(剩余秒时,0)+'秒'+' 已成交金额'+':'+NUMTOSTRN(今天成交额/10000,2)+'亿元'),ColorF5FF00,LINETHICK2,PRECIS2;{柱图}图长度像素:=230*0.5;昨天图长度:=230+图长度像素;预测今天图:=(预测今天/昨天成交额)*图长度像素+230;目前成交图:=(今天成交额/昨天成交额)*图长度像素+230; DRAWRECTABS(230,1,昨天图长度,9 ,RGB(0,255,150));DRAWRECTABS(230,13,目前成交图, 23 ,RGB(255,73,20)); DRAWRECTABS(230,16,预测今天图,20 ,RGB(255,255,0));{立柱说明}DRAWRECTREL( 0,140,115,860,RGB(20,20,20));DRAWRECTREL( 0,140,15,280,RGB(255,255,0));DRAWTEXTREL(20,140,'主力的净买量'),COLORYELLOW;DRAWRECTREL( 0,280,15,420,RGB(0,255,255));DRAWTEXTREL(20,280,'主力的净卖量'),COLORFFFF00;DRAWRECTREL( 0,420,15,560,RGB(255,25,0));DRAWTEXTREL(20,420,'超过五日均量'),COLOR0025FF;DRAWRECTREL( 0,560,15,700,RGB(0,255,0));DRAWTEXTREL(20,560,'低于廿日均量'),COLOR00FF00;DRAWRECTREL( 0,700,15,840,RGB(200,0,200));DRAWTEXTREL(20,700,'主力外成交量'),COLORFF00FF;【大智慧】主成交量(均量、交易量)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】必不可少(总股本、流通、均价)
【大智慧】必不可少(总股本、流通、均价)-指标公式源码N:=20;DRAWGBKLAST(DATE>900101,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(C<O,C,O,8,0),COLOR303000;STICKLINE(C<O,C,O,6.5,0),COLOR404000;STICKLINE(C<O,C,O,5,0),COLOR505000;STICKLINE(C<O,C,O,3.5,0),COLOR606000;STICKLINE(C<O,C,O,2,0),COLOR707000;STICKLINE(C<O,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,VAR1>VAR2,(RGB(100,0,100)));短趋:VAR1,ColorFFFFFF;中趋:VAR2,COLORYELLOW;PARTLINE(中趋,中趋<REF(中趋,1)),COLORGREEN;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) ANDH/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));量能饱和度:=IF(SAT>1,1,SAT)*100;IF BARSTATUS=2 AND SZ1 THEN BEGINDRAWTEXTABS(320,25,'调整结束短线介入'),COLORRED;ENDELSEIF BARSTATUS=2 AND SZ2 THEN BEGINDRAWTEXTABS(320,25,'上升通道走势良好'),COLORRED;ENDELSEIF BARSTATUS=2 AND SZ3 THEN BEGINDRAWTEXTABS(320,25,'股价偏离注意调整'),COLORRED;ENDELSEIF BARSTATUS=2 AND SZ4 THEN BEGINDRAWTEXTABS(320,25,'上升通道调整洗盘'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND SZ5 THEN BEGINDRAWTEXTABS(320,25,'转向特征注意离场'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND SZ6 THEN BEGINDRAWTEXTABS(320,25,'通道改变坚决离场'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND XD1 THEN BEGINDRAWTEXTABS(320,25,'下跌通道只宜观望'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND XD2 THEN BEGINDRAWTEXTABS(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) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1;立桩量:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(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(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(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:=量能饱和度>10 AND 量能饱和度<=20;CCC:=量能饱和度>20 AND 量能饱和度<=30;DDD:=量能饱和度>30 AND 量能饱和度<=50;EEE:=量能饱和度>50 AND 量能饱和度<=70;FFF:=量能饱和度>70 AND 量能饱和度<=80;GGG:=量能饱和度>80 AND 量能饱和度<=90;HHH:=量能饱和度>90;IF BARSTATUS=2 AND AAA THEN BEGINDRAWRECTREL(0,350,15,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND BBB THEN BEGINDRAWRECTREL(0,320,15,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND CCC THEN BEGINDRAWRECTREL(0,290,15,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND DDD THEN BEGINDRAWRECTREL(0,230,15,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND EEE THEN BEGINDRAWRECTREL(0,170,15,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND FFF THEN BEGINDRAWRECTREL(0,140,15,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND GGG THEN BEGINDRAWRECTREL(0,110,15,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND HHH THEN BEGIN DRAWRECTREL(0,85,15,380,RGB(255,0,0)); END;【大智慧】必不可少(总股本、流通、均价)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)
【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)-指标公式源码V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),colorblue;主力进: IF(V4>=0,V4,0),colorff00ff;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),Colorred;大盘资金撤走:IF(VB<=0,VB,0),colorgreen;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;准备现金: STICKLINE(趋势线<=13,0,20,5,0),colorcc9900;aa:=(趋势线<=13) and filter((趋势线<=13),15);drawtext (aa,30,'准备现金'),colorcc9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),color0099ff;bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10) ; drawtext (bb,60,'买入股票'),color0099ff;卖临界: STICKLINE(趋势线>90 and 趋势线>ref(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:filter(趋势线>90 and 趋势线<ref(趋势线,1) and 主力进<ref(主力进,1),8);DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 AND V12),10);stickline(大盘资金进场 and 趋势线<13,0,30,10,0),colorred;stickline(大盘资金撤走 and 趋势线>90,0,30,10,0),colorgreen;stickline(主力进 and 趋势线<13,0,40,10,0),colorff00ff;stickline(主力撤 and 趋势线>90,0,40,10,0),colorblue;【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】BS操盘(买线、卖线、指导线)
【大智慧】BS操盘(买线、卖线、指导线)-指标公式源码DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,colorred,linethick3;DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3; DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3; drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,linethick3;stickline(买线>=卖线,low,high,0.1,1),colorred;stickline(买线>=卖线,close,open,8,1),colorred;stickline(买线<卖线,close,open,8,0),color00ff00;stickline(买线<卖线,low,high,0.1,1),color00ff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00;指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),line thick1,ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;DRAWTEXT(cross(指导线,界),界,'上破'),ALIGN1,VALIGN2,Colorffffff; DRAWTEXT(cross(指导线,界),界,' ̄ ̄'),ALIGN1,VALIGN0,Colorffffff;DRAWTEXT(cross(界,指导线),界,'下破'),ALIGN1,Color00ffff; DRAWTEXT(cross(界,指导线),界,' ̄ ̄'),ALIGN1,Color00ffff;上限: 界+3*STD(CLOSE,27),linethick1,Color00FFFF;卖: 界+2*STD(CLOSE,27),linethick1,ColorFF00FF;买: 界-2*STD(CLOSE,27),linethick1,ColorF0FF00;下限: 界-2.9*STD(close,27),linethick1,Color00FF00;DRAWTEXT(cross(H,上限),H,'获利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(H,上限),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(上限,H),H,'&利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(上限,H),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(H,卖),H,'获利'),ALIGN1,VALIGN2,Colorff00ff; DRAWTEXT(cross(H,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff00ff; DRAWTEXT(cross(C,卖),H,'获利'),ALIGN1,VALIGN2,Colorff0000; DRAWTEXT(cross(C,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(下限,L),l,'观'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(下限,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(买,L),l,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000;【大智慧】BS操盘(买线、卖线、指导线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】分时超赢(主净、主现、超净、超现)
【大智慧】分时超赢〔主净、主现、超净、超现〕-指标公式源码DRAWTEXTREL(0,40,'('+STKLABEL+')'+STKNAME+' '+YEAR+'年'+MONTH+'月'+DAY+'日'),ColorFFFF80;n:=5;ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;主净:=SUM(ZLLR-ZLLC,0);主现:=SUM(ZLLR-ZLLC,N);{N分钟}TDLR:=AMOUNT*DYNAINFO(95)/10000;TDLC:=AMOUNT*DYNAINFO(98)/10000;超净:=SUM(TDLR-TDLC,0);超现:=SUM(TDLR-TDLC,N);{N分钟}DDLR:=AMOUNT*DYNAINFO(94)/10000;DDLC:=AMOUNT*DYNAINFO(97)/10000;大净:=SUM(DDLR-DDLC,0);大现:=SUM(DDLR-DDLC,N);{N分钟}ZDLR:=AMOUNT*DYNAINFO(93)/10000;ZDLC:=AMOUNT*DYNAINFO(96)/10000;中净:=SUM(ZDLR-ZDLC,0);中现:=SUM(ZDLR-ZDLC,N);{N分钟}XDLR:=(AMOUNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000; XDLC:=(AMOUNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000; 散净:=SUM(XDLR-XDLC,0);散现:=SUM(XDLR-XDLC,N);{N分钟}主力买:=(ORDERVOL(1,2)/CAPITAL)*100;主力卖:=(ORDERVOL(2,2)/CAPITAL)*100;主力净买:=sum((主力买-主力卖),0);超大买:=(ORDERVOL(1,3)/CAPITAL)*100;超大卖:=(ORDERVOL(2,3)/CAPITAL)*100;超大净买:=sum((超大买-超大卖),0);大户买:=((ORDERVOL(1,2)-ORDERVOL(1,3))/CAPITAL)*100;大户卖:=((ORDERVOL(2,2)-ORDERVOL(2,3))/CAPITAL)*100;大户净买:=sum((大户买-大户卖),0);中户买:=(ORDERVOL(1,1)/CAPITAL-ORDERVOL(2,1)/CAPITAL)*100;中户卖:=(ORDERVOL(1,2)/CAPITAL-ORDERVOL(2,2)/CAPITAL)*100; 中户净买:=sum((中户买-中户卖),0);散户买:=(1-ORDERVOL(1,1)/CAPITAL)*100;散户卖:=(1-ORDERVOL(2,1)/CAPITAL)*100;散户净买:=sum((散户买-散户卖),0);主力:主力净买;超大:超大净买;大户:大户净买;中户:中户净买;散户:散户净买;a1:=SUM((ORDERVOL(1,3)),0);a2:=SUM((ORDERVOL(2,3)),0);a3:=(SUM((ORDERVOL(1,2)),0)) - a1;a4:=(SUM((ORDERVOL(2,2)),0)) - a2;a5:=(SUM((ORDERVOL(1,1)),0)) - (SUM((ORDERVOL(1,2)),0));a6:=(SUM((ORDERVOL(2,1)),0)) - (SUM((ORDERVOL(2,2)),0));a7:=(SUM((ORDERVOL(1,0)),0)) - (SUM((ORDERVOL(1,1)),0));a8:=(SUM((ORDERVOL(2,0)),0)) - (SUM((ORDERVOL(2,1)),0));a9:=(SUM((ORDERVOL(1,0)),0)) + (SUM((ORDERVOL(2,0)),0));a10:=a7 - a8;a11:=a5 - a6;a12:=a3 - a4;a13:=a1 - a2;a14:=(SUM((ORDERVOL(1,2)),0)) - (SUM((ORDERVOL(2,2)),0)); a15:=(100 * a7) / a9;a16:=(100 * a8) / a9;a17:=(100 * a5) / a9;a18:=(100 * a6) / a9;a19:=(100 * a3) / a9;a20:=(100 * a4) / a9;a21:=(100 * a1) / a9;主筹:a14,linethick2,colorRed;机筹:A13,linethick2,ColorFF0000;大筹:A12,linethick2,colorYellow;中筹:A11,linethick2,ColorWhite;散筹:A10,linethick2,ColorGreen;a22:=(100 * a2) / a9;a23:=(100 * (SUM((ORDERVOL(1,2)),0))) / a9;a24:=(100 * (SUM((ORDERVOL(2,2)),0))) / a9;a25:=(100 * a10) / a9;a26:=(100 * a11) / a9;a27:=(100 * a12) / a9;a28:=(100 * a13) / a9;a29:=(100 * a14) / a9;a30:=(a1);a31:=(a2);a32:=(a3);a33:=(a4);a34:=(a5);a35:=(a6);a36:=(a7);a37:=(a8);a38:=((SUM((ORDERVOL(1,2)),0)));a39:=((SUM((ORDERVOL(2,2)),0)));a40:=(a10);a41:=550/ (MAX(a30,a31,a32,a33,a34,a35,a36,a37,a40,中筹,大筹,机筹)); a42:=550 / (MAX(a38,a39,主筹));a43:=600 - (a30 * a41);a44:=600 - (a31 * a41);a45:=600 - (a32 * a41);a46:=600 - (a33 * a41);a47:=600 - (a34 * a41);a48:=600 - (a35 * a41);a49:=600 - (a36 * a41);a50:=600 - (a37 * a41);a51:=600 - (a38 * a42);a52:=600 - (a39 * a42);a53:=600 - (a40 * a41);a54:=600 - (中筹 * a41);a55:=600 - (大筹 * a41);a56:=600 - (机筹 * a41);a57:=600 - (主筹* a42);DRAWTEXTREL(30,480,'户'),ColorWhite; DRAWRECTREL(50,a49,68,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(68,a50,86,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(86,a53,104,600,(IF((a10 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(130,380,'中'),ColorDDFFFF; DRAWTEXTREL(130,480,'户'),ColorDDFFFF; DRAWRECTREL(150,a47,168,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(168,a48,186,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(186,a54,204,600,(IF((a11 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(230,380,'大'),ColorDDFFFF; DRAWTEXTREL(230,480,'户'),ColorDDFFFF; DRAWRECTREL(250,a45,268,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(268,a46,286,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(286,a55,304,600,(IF((a12 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(330,380,'机'),ColorDDFFFF; DRAWTEXTREL(330,480,'构'),ColorDDFFFF; DRAWRECTREL(350,a43,368,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(368,a44,386,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(386,a56,404,600,(IF((a13 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(448,380,'主'),ColorDDFFFF; DRAWTEXTREL(448,480,'力'),ColorDDFFFF; DRAWRECTREL(465,a51,483,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(483,a52,501,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(501,a57,519,600,(IF((a14 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWRECTREL(5,600,404,604,0),colorWhite; DRAWRECTREL(910,0,1000,100,rgb(255,0,0)),COLORcyan; DRAWRECTREL(910,100,1000,200,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,0 ,'主力:'),ColorWhite;STR1:=' '+NUMTOSTRN(主净,2);STR6:=''+NUMTOSTRN(主力,2)+'%';DRAWTEXTREL(920,100,STR1),ColorWhite;DRAWRECTREL(910,200,1000,300,rgb(0,0,255)),COLORcyan; DRAWRECTREL(910,300,1000,400,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910 ,200,'超大:'),ColorWhite;STR2:=' '+NUMTOSTRN(超净,2);STR7:=''+NUMTOSTRN(超大,2)+'%';DRAWTEXTREL(950,200,STR7),ColorWhite;DRAWTEXTREL(920,300,STR2),ColorWhite;DRAWRECTREL(910,400,1000,500,rgb(255,255,0)),COLORcyan; DRAWRECTREL(910,500,1000,600,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,400 ,'大户:'),ColorBlack;STR3:=' '+NUMTOSTRN(大净,2);STR8:=''+NUMTOSTRN(大户,2)+'%';DRAWTEXTREL(950,400,STR8),ColorBlack;DRAWTEXTREL(920,500,STR3),ColorWhite;DRAWRECTREL(910,600,1000,700,rgb(255,255,250)),COLORcyan; DRAWRECTREL(910,700,1000,800,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,600,'中户:'),ColorBlack;STR4:=' '+NUMTOSTRN(中净,2);STR9:=''+NUMTOSTRN(中户,2)+'%';DRAWTEXTREL(950,600,STR9),ColorBlack;DRAWTEXTREL(920,700,STR4),ColorWhite;DRAWRECTREL(910,800,1000,900,rgb(0,255,0)),COLORcyan; DRAWRECTREL(910,900,1000,1000,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,800,'散户:'),ColorBlack;STR5:=' '+NUMTOSTRN(散净,2);STR10:=''+NUMTOSTRN(散户净买,2)+'%';DRAWTEXTREL(950,800,STR10),ColorBlack;DRAWTEXTREL(920,900,STR5),ColorWhite;【大智慧】分时超赢〔主净、主现、超净、超现〕-指标公式效果图(文档来源:假设水财经社区)。
大智慧公式多年收集的大智慧指标公式(源码)
漓江渔歌VarA:=MA(CLOSE,20);RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27));K:=SMA(RSV,5,1);D:=SMA(K,3,1);D2:=SMA(K,2,1);t1:=(3*K-2*D)*100;天空:STICKLINE(t1,0,120,0.5,0),COLORFFFFFF;山:=(3*K-2*D)*100;桂山:STICKLINE(山,0,山,5,0),COLOR00FFDD;STICKLINE(山,0,山*0.95,5,0),COLOR00FFBB;STICKLINE(山,0,山*0.88,5,0),COLOR00FF99;STICKLINE(山,0,山*0.8,5,0),COLOR00DD99;STICKLINE(山,0,山*0.71,5,0),COLOR00BB99;STICKLINE(山,0,山*0.6,5,0),COLOR00AA99;STICKLINE(山,0,山*0.5,5,0),COLOR009999;STICKLINE(山,0,山*0.4,5,0),COLOR008899;t2:=((100-山)-100)*2/3;漓江水:STICKLINE(t2,懒旅呐魄壬仕掏COLORCCFF00;倒影:t2,COLOR00FFCC,STICK;STICKLINE(倒影,0,倒影*4/5,0.1,0),COLOR00CC99;STICKLINE(倒影,0,倒影*3/5,0.1,0),COLOR009999;STICKLINE(倒影,0,倒影*2/5,0.1,0),COLOR006699;顶线:=100-((HIGH-VarA)/VarA);RSV2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1:=SMA(RSV2,3,1);Var2:=SMA(Var1,3,1);买入:=Var1<16 and Var2<21 ;卖出预警:=t1>=88 or 顶线<=90;卖出:=CROSS(顶线,t1) or CROSS(90,t1);t3:=买入;打渔船:DRAWTEXT(FILTER(t3,2),山-45,'︼'),COLOR0000FF,LINETHICK2; t4:=卖出预警or 卖出;南归雁:DRAWTEXT(FILTER(t4,2),山+10,'>'),COLORFFFF00;示例 2一个副图公式:《雨季彩虹》ys1:=(high+low+close*2)/4;rk3:=ema(ys1,10);rk4:=std(ys1,10);rk5:=(ys1-rk3)*100/rk4;rk6:=ema(rk5,5);rk7:=ema(rk6,10);涨:ema(rk6,10)+100/2-5,linethick1,colorred;跌:ema(涨,4),linethick1,colorwhite;天晴:if(cross(涨,跌) and 跌<-10,30,0),linethick1,colorccccff;雨季:if(cross(跌,80),70,100),color0099ff,linethick1;彩虹1:ema(跌,4),colorf00ff0;彩虹2:ema(彩虹1,4),colorgreen;彩虹3:=ema(彩虹2,4),coloryellow;彩虹4:=ema(彩虹3,4),colorcc9900;-10,pointdot,color888888,linethick2;80,pointdot,color888888,linethick2;stickline(涨> ref(涨,1),涨,ema(涨,3),0,0) ,color00bbff;stickline(涨> ref(涨,1),涨,ema(涨,3),8,0) ,color0011ff;stickline(涨> ref(涨,1),涨,ema(涨,3),7,0) ,color0022ff;stickline(涨> ref(涨,1),涨,ema(涨,3),6,0) ,color0044ff;stickline(涨> ref(涨,1),涨,ema(涨,3),5,0) ,color0066ff;stickline(涨> ref(涨,1),涨,ema(涨,3),4,0) ,color0088ff;stickline(涨> ref(涨,1),涨,ema(涨,3),3,0) ,color0099ff;stickline(涨> ref(涨,1),涨,ema(涨,3),2,0) ,color00aaff;stickline(涨> ref(涨,1),涨,ema(涨,3),1,0) ,color00bbff;drawicon(天晴,30,1),color0000ff;drawicon(cross(跌,80),70,2),colorgreen;drawtext(cross(涨,跌) and 跌<20 and 跌>-10,40,'停雨多云'),colorccff99; drawtext(天晴>0,-20,'天晴'),color0000ff;var11:=sumbars(vol,finance(7)*100);var22:=dma(ema(close,12),sum(vol,5)/3/capital);var3:=(close-var22)/var22*100;var4:=hhv(var3,var11);var5:=llv(var3,var11);var6:=(var3-var5)/(var4-var5)*100;k:=sma(var6,3,1);d:=sma(k,3,1);j:=3*k-2*d;ma1:=ma(j,3),colorgreen;stickline(filter(j>ma1 and j<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryellow; drawtext(filter(j>ma1 and j<=3,5)=1 and 跌<0,60,'注意'),colorffffff;。
【股票指标公式下载】-【大智慧】一张主图(波段线、趋势线、天线、地线)
【大智慧】一张主图(波段线、趋势线、天线、地线)-指标公式源码VA1:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));VA2:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;VA3:=EMA((MA(VA1,5)),10);VA4:=EMA((MA(VA1,15)),10);VA5:=EMA((MA(VA1,13)),21);VA6:=((VA3 + VA4) + VA5) / 3;波段线:EMA((MA(CLOSE,5)),5),colorFB333F,linethick2;PARTLINE(波段线,波段线 > (REF(波段线,3)),RGB(255,255,0)),linethick2; 趋势线:((((REF(VA6,1)) + VA6) + (REF(VA6,2))) / 3);PARTLINE(趋势线,CLOSE > VA2,RGB(225,0,0),CLOSE <=VA2,RGB(66,188,255)),colorffff00,linethick3;天线:MA(REF(HHV(CLOSE,30),1),2),LINETHICK2,Color80e9ff;地线:MA(REF(LLV(CLOSE,30),1),2),LINETHICK2,Color669900;SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);SD1:=FILTER(SD,12);SF:=LLV(LOW,13)=LOW AND LOW<REF(LOW,1);SF1:=FILTER(SF,12);TSS1:=BARSLAST(SD1);箱顶:REF(HIGH,TSS1),LINETHICK0,COLORRED;TSS2:=BARSLAST(SF1);箱底:REF(LOW,TSS2),LINETHICK0,COLORGREEN;STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR005500;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR006600;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR007700;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR009900;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00BB00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00DD00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;STICKLINE(CLOSE>OPEN,HIGH,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;AA1:=MA(CLOSE,20);AA2:=(CLOSE > MA(CLOSE,5));AA3:=(MA(CLOSE,5) > MA(CLOSE,10));AA4:=(CLOSE > MA(CLOSE,10));AA5:=(MA(CLOSE,5) > MA(CLOSE,20));AA6:=(CLOSE > MA(CLOSE,20));AA7:=REF(AA1,1);AA8:=(AA1 > AA7);AAX:=(((((IF(AA2,10,(0 - 10)) + IF(AA3,10,(0 - 10))) + IF(AA4,10,(0 - 10))) + IF(AA5,10,(0 - 10))) + IF(AA6,10,(0 - 10))) + IF(AA8,10,(0 - 10))); DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T := BARSLAST(DISPSTATUS=1)+1;IF BARSTATUS=2 and c<200 and ((CROSS(AAX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTREL(500,20,'的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。
【股票指标公式下载】-【大智慧】操盘王(买点、神奇线)
【大智慧】操盘王(买点、神奇线)-指标公式源码{操盘王}x:=c-ref(ma(c,20),11);lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)>0.905 andc/ref(c,1)<1.05 and VOL/CAPITAL*100<5,50,0);wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x;wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x; BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x;s2:=ema(s1,3);s3:=abs(bias1-bias3);sx:=(s1+s3)/2;xc1:=(-1)*(ema(100*(1-WINNER(CLOSE)),1)-50)+50;ccc:=xc1+sx; zjz:=IF( lgl>0 and ccc<0,200,0)*x;lxl:=if(sx<0 and c=llV(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,-50,0);jbj:=if(ccc<0 and lxl=-50,100,0)*x;ma3:= ma(c,3);c0:=ref(c,2)*0.865;c1:=ref(c,13)*0.772;bot:=MIN(c0,c1);hsl:=100*vol/capital*x;ma13:=ma(c,13)*x;cxc:=if((c-bot)/c<3/100 and sum(hsl,5)/5<1.8,1,0);vmc:=if(cxc>0 and (lxl<0 or lgl>0),10,0);买点1:=if((vmc>0),1,0);买点2:=if(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902)) or (((zjz>0 and jbj>0 andSUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) andvmc<10 ,1,0);v93:=(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) ;v90:=((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902));买点3:=if((v93 or v90),1,0);Var2q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);神奇线:= MA((CLOSE-Var2q)/Var2q,1);买点4:=IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 and((c-ref(c,2))/c)>0.06,1,0);操盘王:买点1 or 买点2 or 买点3 or 买点4,stick3d,colorred;【大智慧】操盘王(买点、神奇线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】指南针(涨停)
【大智慧】控盘(控盘拉升、风险区、底部区)-指标公式源码wWj:=' ';wyy1:=WEEKDAY;if C>0 then begin;wWj:=' 星期';IF wyy1=5 then wWj:= wWj+'五';IF wyy1=4 then wWj:= wWj+'四';IF wyy1=3 then wWj:= wWj+'三';IF wyy1=2 then wWj:= wWj+'二';IF wyy1=1 then wWj:= wWj+'一';end;wWl:='';wWh:='';wyy2:=LMONTH;wyy3:=LDAY;IF BARSTATUS=2 then wWw:=' 农历 '+NUMTOSTRN(wyy2,0)+'月'+NUMTOSTRN(wyy3,0)+'日';IF BARSTATUS=2 then wWh:=NUMTOSTRN(date+1000000,0);IF BARSTATUS=2 then wWl:=wWj;DRAWTEXTREL(10 ,10 ,''+wWh+wWl+wWw),LINETHICK1,ColorFFFF80;var1:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10); var2:=Dma(var1,vol/SUM(vol,13));var3:=Dma(var1,vol/CAPITAL);STICKLINE(var1>0,0,var1,10,0),Color0000FF;STICKLINE(var1<0,0,var1,10,0),Color00FF00;控盘拉升:IF(C>1000,var2,var3),ColorYELLOW,LINETHICK2,LAYER1;顶:50,POINTDOT,ColorGREEN;风险区:33,POINTDOT,ColorGREEN;控盘区:20,POINTDOT,Color979390;吸筹区:10,POINTDOT,Color979390;无庄散户区:-5,POINTDOT,colorFFA6A6;底部区:-15,POINTDOT,colorcc9900; DRAWTEXTREL(1,5,'顶部区'),ColorGREEN; DRAWTEXTREL(1,220,'风险区'),ColorGREEN; DRAWTEXTREL(1,430,'控盘区'),Color00FFFF; DRAWTEXTREL(1,590,'吸筹区'),Color00FFFF; DRAWTEXTREL(1,790,'散户区'),Colorred; DRAWTEXTREL(1,980,'底部区'),Colorred;A:=BARSLAST(CROSS("kdj.k","kdj.d"))+1; B:=A>REF(A,1);D1:=BARSCOUNT(C);板块:=IFS(INBLOCK('工程建筑'),'工程建筑', IFS(INBLOCK('电力'),'电力',IFS(INBLOCK('计算机'),'计算机',IFS(INBLOCK('电子信息'),'电子信息',IFS(INBLOCK('房地产'),'房地产',IFS(INBLOCK('纺织服装'),'纺织服装',IFS(INBLOCK('钢铁'),'钢铁',IFS(INBLOCK('供水供气'),'供水供气',IFS(INBLOCK('化工化纤'),'化工化纤',IFS(INBLOCK('电器'),'电器',IFS(INBLOCK('交通设施'),'交通设施',IFS(INBLOCK('银行类'),'银行类',IFS(INBLOCK('旅游酒店'),'旅游酒店',IFS(INBLOCK('煤炭石油'),'煤炭石油',IFS(INBLOCK('酿酒食品'),'酿酒食品',IFS(INBLOCK('农林牧渔'),'农林牧渔',IFS(INBLOCK('商业连锁'),'商业连锁',IFS(INBLOCK('建材'),'建材',IFS(INBLOCK('其他行业'),'其他行业',IFS(INBLOCK('汽车类'),'汽车类',IFS(INBLOCK('机械'),'机械',IFS(INBLOCK('医药'),'医药',IFS(INBLOCK('外贸'),'外贸',IFS(INBLOCK('教育传媒'),'教育传媒',IFS(INBLOCK('仪电仪表'),'仪电仪表',IFS(INBLOCK('有色金属'),'有色金属',IFS(INBLOCK('造纸印刷'),'造纸印刷',IFS(INBLOCK('券商'),'券商',IFS(INBLOCK('电力设备'),'电力设备',IFS(INBLOCK('通信'),'通信',IFS(INBLOCK('运输物流'),'运输物流',IFS(INBLOCK('海峡西岸'),'海峡西岸',IFS(INBLOCK('保险'),'保险','') ))))))))))))))))))))))))))))))));DRAWTEXTABS(50,1,'所属: '+板块+'指数'),COLORYELLOW; DRAWTEXTREL(80,20,''),colorcc9900,linethick1;【大智慧】控盘(控盘拉升、风险区、底部区)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)
【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;{大智慧L2排序}DRAWTEXTABS(15,5,'<<行情>>'),ColorFFff00;昨收:=DYNAINFO(3);今开:=DYNAINFO(4);最低:=DYNAINFO(6);最高:=DYNAINFO(5);最新:=DYNAINFO(7);总手:=DYNAINFO(8);现手:=DYNAINFO(9);总额:=DYNAINFO(10);均价:=DYNAINFO(11);涨跌:=DYNAINFO(12);振幅:=DYNAINFO(13);涨幅:=DYNAINFO(14)*100;委比:=DYNAINFO(15);委差:=DYNAINFO(16);量比:=DYNAINFO(17);内盘:=DYNAINFO(22);外盘:=DYNAINFO(23);涨速:=DYNAINFO(24);买一:=DYNAINFO(28);卖一:=DYNAINFO(34);委买量:=DYNAINFO(89);委卖量:=DYNAINFO(90);外内比:=DYNAINFO(23)/DYNAINFO(22)*100;盘差:=(外盘-内盘);换手率:=(100*v/capital);DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00; DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00; DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00; DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF; DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00; DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF; DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF; DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00; DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF; DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00; DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff; DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00; DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF; DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000; DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF; DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000; DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00; DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF; DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00; DRAWTEXTABS(130,5,'<<精灵>>'),ColorFFff00;买入单数:=DYNAINFO(91);卖出单数:=DYNAINFO(92);买卖单数差:=(买入单数-卖出单数);大笔买入:=DYNAINFO(94);大笔卖出:=DYNAINFO(97);大笔差:=(大笔买入-大笔卖出);特大买入:=DYNAINFO(95);特大卖出:=DYNAINFO(98);特大差:=(特大买入-特大卖出);机构买单吃货数:=DYNAINFO(99);机构卖单吐货数:=DYNAINFO(100);机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);机构单数差:=DYNAINFO(101);机构吃货数:=DYNAINFO(102);机构吐货数:=DYNAINFO(103);机构货数差:=(机构吃货数-机构吐货数);机构吃货量:=DYNAINFO(104);机构吐货量:=DYNAINFO(105);机构货量差:=(机构吃货量-机构吐货量);机构吃货均额:=DYNAINFO(106);机构吐货均额:=DYNAINFO(107);机构均额差:=(机构吃货均额-机构吐货均额);DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF; DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00; DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00; DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00; DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00; DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00; DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00; DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00; DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000; DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF; DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000; DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF; DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF; DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00; DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; DRAWTEXTREL(300,5,'<<资金>>'),COLORffff00;zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;tD:=COUNT(BIGORDER(1,0),0);myD:=min(tD,30);主力资金:=ema(zlV,myD)*myD/capital;超级资金:=ema(jgV,myD)*myD/capital;大户资金:=ema(dhV,myD)*myD/capital;中户资金:=ema(zhV,myD)*myD/capital;散户资金:=ema(shV,myD)*myD/capital;大单买:=BIGORDER(1,2)*V/CAPITAL;大单卖:=BIGORDER(2,2)*V/CAPITAL;大单动向:=(大单买-大单卖)*100;涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200; DRAWTEXTREL(250,40,' ■主力资金:'+主力资金),COLOR00FFff; DRAWTEXTREL(250,80,' ■超级资金:'+超级资金),COLORffFF00; DRAWTEXTREL(250,120,' ■大户资金:'+大户资金),COLOR0000FF; DRAWTEXTREL(250,160,' ■中户资金:'+中户资金),COLORFFff00; DRAWTEXTREL(250,200,' ■散户资金:'+散户资金),COLOR00FF00; DRAWTEXTREL(250,240,' ■大单动向:'+大单动向),COLOR00FFff; DRAWTEXTREL(250,280,' ■涨跌动因:'+涨跌动因),COLORFFff00; DRAWTEXTREL(250,320,' ■大单分差:'+大单分差),COLORFFff00;DRAWTEXTABS(280,205 ,'<<财务>>'),colorFFFF00;DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;总股本:=FINANCE2(35)/10000;DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF; DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;{}A3:MA(AMOUNT/(100*VOL),3);A5:MA(AMOUNT/(100*VOL),5);A10:MA(AMOUNT/(100*VOL),10);A20:MA(AMOUNT/(100*VOL),20);A30:MA(AMOUNT/(100*VOL),30);A60:MA(AMOUNT/(100*VOL),60);DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)
【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)-指标公式源码DRAWGBKLAST(CLOSE>0, STRIP(RGB(0,40,0),RGB(0,40,0),0)); DRAWTEXTREL(10,0,'白紫色持股.'),LINETHICK3,ColorFF00FF; DRAWTEXTREL(10,50,'黑绿色持币.'),LINETHICK3,Color00FF00;卖线:EMA(((SLOPE(CLOSE,25) * 25) + CLOSE),75),LINETHICK2,coloryellow; 买线:EMA(CLOSE,7),LINETHICK1,colorFFFFFF;FILLRGN(买线,卖线,买线>=卖线,RGB(128,0,128));FILLRGN(卖线,买线,卖线>=买线,RGB(0,128,0));短线:EMA(CLOSE,1),LINETHICK2,COLOR004000;FILLRGN(买线,短线,买线>=短线,RGB(1,0,2)),COLOR004000;FILLRGN(短线,买线,短线>=买线,RGB(255,255,255));BDGD:=C=HHV(C,13);GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;高点:REF(C,GDSJ),ColorFFFFFF,POINTDOT,LINETHICK2;突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;STICKLINE(GDSJ<=6,高点,高点,8,0),COLORFF00FF;BDDD:=C=LLV(C,13);DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;低点:REF(C,DDSJ),Color00FFFF,POINTDOT,LINETHICK2;STICKLINE(DDSJ<=6,低点,低点,8,0),COLOR00FF00;aa:=(ref(close,1)+ref(close,2)+open)/3;{看色买卖}STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;{立体柱子:淡蓝色}STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLORFF6600;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORFF7700;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORFF9900;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORFFBB00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORFFCC00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFFDD00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFEE00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFFF00;{立体柱子:红色}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000033;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;VAR9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF (C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2) =HHV(C,4) ANDREF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3) =HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);红持:var9Q,color0000ff,LINETHICK0;{立体柱子:红色}STICKLINE(VAR9Q,C,(O+C)/2,8,0),COLOR000044;STICKLINE(VAR9Q,C,(O+C)/2,7,0),COLOR000055;STICKLINE(VAR9Q,C,(O+C)/2,6,0),COLOR000066;STICKLINE(VAR9Q,C,(O+C)/2,5,0),COLOR000077;STICKLINE(VAR9Q,C,(O+C)/2,4,0),COLOR000099;STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR0000BB;STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR0000DD;STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000FF;VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);粉变:varaQ,colorff99ff,LINETHICK0;STICKLINE(VARAQ,C,(O+C)/2,8,0),COLORFF11FF;STICKLINE(VARAQ,C,(O+C)/2,7,0),COLORFF22FF;STICKLINE(VARAQ,C,(O+C)/2,6,0),COLORFF33FF;STICKLINE(VARAQ,C,(O+C)/2,5,0),COLORFF55FF;STICKLINE(VARAQ,C,(O+C)/2,4,0),COLORFF77FF;STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF99FF;STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFFBBFF;STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFFDDFF;VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);银灰跌:varbQ,color888888,LINETHICK0;{立体柱子:银色}STICKLINE(VARBQ,C,(O+C)/2,8,0),COLOR333333;STICKLINE(VARBQ,C,(O+C)/2,7,0),COLOR444444;STICKLINE(VARBQ,C,(O+C)/2,6,0),COLOR555555;STICKLINE(VARBQ,C,(O+C)/2,5,0),COLOR777777;STICKLINE(VARBQ,C,(O+C)/2,4,0),COLOR999999;STICKLINE(VARBQ,C,(O+C)/2,3,0),COLORBBBBBB;STICKLINE(VARBQ,C,(O+C)/2,2,0),COLORDDDDDD;STICKLINE(VARBQ,C,(O+C)/2,1,0),COLORFFFFFF;VARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);绿买:varcQ,color00ff00,LINETHICK0;STICKLINE(VARCQ,O,(O+C)/2,8,0),COLOR004400;STICKLINE(VARCQ,O,(O+C)/2,6,0),COLOR005500;STICKLINE(VARCQ,O,(O+C)/2,5,0),COLOR007700;STICKLINE(VARCQ,O,(O+C)/2,4,0),COLOR009900;STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR00BB00;STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR00DD00;STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR00FF00;VARDQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF (C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);蓝抛:vardQ,colorff9900,LINETHICK0;STICKLINE(VARDQ,O,(O+C)/2,8,0),COLORFF1100;STICKLINE(VARDQ,O,(O+C)/2,7,0),COLORFF2200;STICKLINE(VARDQ,O,(O+C)/2,6,0),COLORFF3300;STICKLINE(VARDQ,O,(O+C)/2,5,0),COLORFF5500;STICKLINE(VARDQ,O,(O+C)/2,4,0),COLORFF7700;STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF9900;STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFFBB00;STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFFDD00;ZDF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;STICKLINE(ZDF>9.8,OPEN,CLOSE,8,0),color004444;STICKLINE(ZDF>9.8,OPEN,CLOSE,7,0),color005555;STICKLINE(ZDF>9.8,OPEN,CLOSE,6,0),color006666;STICKLINE(ZDF>9.8,OPEN,CLOSE,5,0),color007777;STICKLINE(ZDF>9.8,OPEN,CLOSE,4,0),color009999;STICKLINE(ZDF>9.8,OPEN,CLOSE,3,0),color00BBBB;STICKLINE(ZDF>9.8,OPEN,CLOSE,2,0),color00DDDD;STICKLINE(ZDF>9.8,OPEN,CLOSE,1,0),color00FFFF;【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】普通买卖(委买、委卖、委净)
委托总买:sum((ORDERVOL(1,0)-ORDETHICK0,PRECIS0;
委托总卖:sum((ORDERVOL(2,0)-ORDERVOL(2,2)),0),COLOR00ff00,LINETHICK0,PRECIS0;
t3:=(TRANSACTVOL(1,0)-TRANSACTVOL(1,2));
t4:=-(TRANSACTVOL(2,0)-TRANSACTVOL(2,2));
委买:(ORDERVOL(1,0)-ORDERVOL(1,2)),COLOR0000AA,LINETHICK0,PRECIS0;
委卖:(ORDERVOL(2,0)-ORDERVOL(2,2)),COLOR00AA00,LINETHICK0,PRECIS0;
下载(65.59 KB)
2010-12-11 11:41
(文档来源:若水财经社区)
STICKLINE(t1>=0,0,t1,6,0),COLOR000055;
STICKLINE(t2<0,0,t2,6,0),COLOR005500;
STICKLINE(t3>0,0,t3,3,0),COLOR0000ff;
【大智慧】普通买卖(委买、委卖、委净)-指标公式效果图
下载次数: 0
2010-12-11 11:43
主动总买:sum((TRANSACTVOL(1,0)-TRANSACTVOL(1,2)),0),COLOR0000ff,LINETHICK0,PRECIS0;
主动总卖:sum((TRANSACTVOL(2,0)-TRANSACTVOL(2,2)),0),COLOR00ff00,LINETHICK0,PRECIS0;
【股票指标公式下载】-【大智慧】基本面(流通盘大小、每股收益、流通股、每股市盈率)
【大智慧】基本面(流通盘大小、每股收益、流通股、每股市盈率)-指标公式源码VAR2B:='预计2009末期报表公布日';VAR4B:=F10FIND(VAR2B,1);DRAWTEXTABS(350,220,'' +F10TEXT(VAR4B,36)),COLORFFFF00; {DRAWGBK(C>REF(C,1),STRIP(RGB(255,0,0),RGB(0,0,0),0)); DRAWGBK(C=REF(C,1),STRIP(RGB(255,0,0),RGB(0,255,0),0)); DRAWGBK(C<REF(C,1),STRIP(RGB(255,0,0),RGB(0,255,0),0));}MA5:MA(CLOSE,5),COLOR00ff00;MA10:MA(CLOSE,10),COLOR00a0f0;MA30:MA(CLOSE,30),Color0000FF;MA60:MA(CLOSE,60),linethick2,COLOREA8515;MA120:MA(CLOSE,120),linethick2,COLORffffff;MA250:MA(CLOSE,250),linethick2,COLORD11BEB;a:=MA(c,13);b:=MA(c,26);STICkLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;STICKLINE(OPEN>CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700;STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;STICKLINE(OPEN>CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;STICkLINE(CLOSE<OPEN,OPEN,LOW,0.5,0 ),COLORffFF00;STICKLINE(CLOSE<OPEN,CLOSE,HIGH,0.5 ,0 ),COLORffFF00;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;流通盘大小:=FINANCE2(37)/1000000*100;DRAWTEXTABS(20,20,'总股本:'+NUMTOSTR(FINANCE2(35)/10000 )+'亿'+' 流通股:'+ NUMTOSTR(CAPITAL/1000000)+'亿'),COLORACFFFF;DRAWTEXTABS(20,35,'上市日期:'+STR(FINANCE2(2))+'日'),ColorACFFFF; 每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);{DRAWTEXTABS(20,40,'基本面优劣提示:'),COLOR505050;} DRAWTEXTABS(20,50,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORACFFFF;DRAWTEXTABS(20,65,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORACFFFF;DRAWTEXTABS(20,80,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORACFFFF;DRAWTEXTABS(20,95,'每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorACFFFF;DRAWTEXTABS(20,110,'每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorACFFFF;DRAWTEXTABS(20,125,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),COLORACFFFF;DRAWTEXTABS(20,140,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),COLORACFFFF;DRAWTEXTABS(20,155,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),COLORACFFFF;{DRAWTEXTABS(20,80,'换手率高低提示:'),COLOR505050;}当日换手率:=sum(100*v/capital,1);DRAWTEXTABS(20,170,'当日换手率: '+NUMTOSTRN(当日换手率,2)+'%'),COLORACFFFF;五日换手率:=sum(100*v/capital,5);DRAWTEXTABS(20,185,'5日换手率: '+NUMTOSTRN(五日换手率,2)+'%'),COLORACFFFF;十日换手率:=SUM(VOL,10)*100/CAPITAL;DRAWTEXTABS(20,200,'10日换手率: '+NUMTOSTRN(十日换手率,2)+'%'),COLORACFFFF;DRAWTEXTABS(20,5,'所属板块:'+BKNAME),COLORACFFFF;DRAWTEXTABS(20,220,'上涨家数:'+NUMTOSTRN(INDEXADV,0)+' 下跌家数:'+NUMTOSTRN(INDEXDEC,0)),COLORACFFFF;【大智慧】基本面(流通盘大小、每股收益、流通股、每股市盈率)-指标公式效果图(文档来源:若水财经社区)。
【指标公式源码下载】大智慧缠论均线指标公式(操盘反弹减仓寻底)
【指标公式源码下载】大智慧缠论均线指标公式(操盘反弹减仓寻底)————————————————————————————————作者:————————————————————————————————日期:大智慧缠论均线指标公式(操盘、反弹、减仓、寻底)MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);均线差:MA5-MA10,COLORSTICK,COLORBLUE;操盘:STICKLINE(2*(均线差)>=0 AND 2*(均线差)>=REF(2*(均线差),1),0,2*(均线差),2,0),COLORRED;反弹:STICKLINE(2*(均线差)<0 AND 2*(均线差)>=REF(2*(均线差),1),0,2*(均线差),2,0),COLORYELLOW,LINETHICK1;减仓:STICKLINE(2*(均线差)>=0 AND 2*(均线差)< REF(2*(均线差),1),0,2*(均线差),2,0),COLORFF9900,LINETHICK1;寻底:STICKLINE(2*(均线差)<0 AND 2*(均线差)< REF(2*(均线差),1),0,2*(均线差),2,0),COLORGREEN,LINETHICK1;JC:=MA10-MA5;绿柱面积:IF (均线差<0,SUM(均线差*0.1,BARSLAST(JC<0)),0),LINETHICK0,COLORBLUE;红柱面积:IF (均线差>0,SUM(均线差*0.1,BARSLAST(JC>0)),0),LINETHICK0,COLORFF00FF;A1:=IF(均线差>0,1,-1);A2:=REF(A1,1);A3:=A1*A2;A4:=BARSLAST(A3<0);A5:=A4+1;趋势平均力度:(SUM(均线差,0)-REF(SUM(均线差,0),A5))/A5,LINETHICK0;时间:(A4+1)/100,LINETHICK0;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【大智慧】操盘神手(每股收益、流通盘、买线、卖线)-指标公式源码
MA5:MA(CLOSE,5),ColorCCCCCC;
MA10:MA(CLOSE,10),Color00BBBB;
MA21:MA(CLOSE,21),Color00AA00;
MA30:MA(CLOSE,30),Color990099;
MA60:MA(CLOSE,60),Color000088;
MA120:MA(CLOSE,120),Color777700;
DRAWTEXTABS(30,0,BKNAME );
DRAWTEXTABS(30,15,'流通盘:'+CAPITAL/100+'万股,利润增长:
'+FINANCE2(10)+'%。
每股收益:'+FINANCE2(3)+'元。
' ); DRAWTEXTABS(30,30,'B买入,红粉柱关注。
' ),colorFFDD00;
买线:=ZIG(3,10);
卖线:=MA(买线,3);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
CB5:cyc(5),colorFF00FF,linethick1,DOTLINE;
drawtext(bu,l*0.99,'买'),linethick1,color00aaff;
drawtext(sel,h*1.01,'卖'),linethick1,color00ff00;
drawtext("X09A.T">0,l*0.99,'B'),linethick1,colorFFffff;
drawtext("X09A.T1">0,l*0.99,'B'),linethick1,color0000ff;
stickline(买线>=卖线,low,high,0.1,0),color0000CC;
stickline(买线>=卖线,close,open,7,0),color0000CC;
stickline(买线<卖线,close,open,7,0),colorCCCC00;
stickline(买线<卖线,low,high,0.1,0),colorCCCC00;
stickline(cross(买线,卖线),open,close,7,0),color00AAFF;
stickline(cross(卖线,买线),open,close,7,0),color00DD00;
stickline(cross(C,CB5),o,C ,7,0 ),colorFF00FF;
stickline(cross(C,CB5),o,o+(C-o)*0.50 ,7,0 ),color0000FF;
{X09A}
小单
差:(1-BIGORDER(1,1)-(1-BIGORDER(2,1)))*100,LINETHICK0,COLOR00BB00;
大单
差:((BIGORDER(1,2)-BIGORDER(2,2))-(BIGORDER(1,3)-BIGORDER(2,3)))*100, LINETHICK0,COLOR00BBBB;
特大差:(BIGORDER(1,3)-BIGORDER(2,3))*100,LINETHICK0,COLOR0000BB;
大户买:=(BIGORDER(1,2)-BIGORDER(1,3))*AMOUNT/1000000;
大户卖:=(BIGORDER(2,2)-BIGORDER(2,3))*AMOUNT/1000000;
大户:=(大户买-大户卖)*100;
特大买:=BIGORDER(1,3)*AMOUNT/1000000;
特大卖:=BIGORDER(2,3)*AMOUNT/1000000;
特户:=(特大买-特大卖)*100;
DTB:=(大户+特户)/100;
STICKLINE(dtb>=0,0,Dtb ,7 ,0 ),color0022BB;
STICKLINE(dtb<0,0,dtb ,7 ,0 ),color00BB66;
买入单数:= order(1);
卖出单数:= order(2);
单数比:卖出单数/买入单数,colorBBBBBB,LINETHICK0;
买入:=BIGORDER(1,2)*AMOUNT;
卖出:=BIGORDER(2,2)*AMOUNT;
净额:=买入-卖出;
通吃率:净额/amount*1000,colorBBBBBB,LINETHICK0;
DX5:ma(Dtb,5)*10,coloraa00bb;
DX10:ma(Dtb,10)*10,coloraaaa00;
DX20:ma(Dtb,20)*10,color0099BB;
T:cross(dx5,dx10) and cross(dx5,dx20) and ref(dx5,1)<0;
DRAWTEXT(t,0,'B' ),colorffffff;
T1:ref(dx5,1)<-25 and cross(dx5,0);
DRAWTEXT(t1,0,'B' ),color0000ff;
【大智慧】操盘神手(每股收益、流通盘、买线、卖线)-指标公式效果图
(文档来源:若水财经社区)。