【股票指标公式下载】-【大智慧】黑-马-买-卖(加仓、背离、钱龙、趋势)
【股票指标公式下载】-【大智慧】股道趋势(买入基础、大盘均线)
【大智慧】股道趋势(买入基础、大盘均线)-指标公式源码买入基础:=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1); VAR1:=EMA(INDEXC,5);VAR2:=EMA(INDEXC,10);VAR3:=EMA(INDEXC,20);VAR4:=VAR1>=REF(VAR1,1) AND 买入基础;VAR5:=VAR2>=REF(VAR2,1) AND 买入基础;VAR6:=VAR3>=REF(VAR3,1) AND 买入基础;STICKLINE(VAR6,40,50,8,0),COLOR1068B4,LINETHICK2;STICKLINE(VAR6,40,50,7,0),COLOR1078B4,LINETHICK2;STICKLINE(VAR6,40,50,6,0),COLOR1088B4,LINETHICK2;STICKLINE(VAR6,40,50,5,0),COLOR1098B4,LINETHICK2;STICKLINE(VAR6,40,50,4,0),COLOR10A8B4,LINETHICK2;STICKLINE(VAR6,40,50,3,0),COLOR10B8B4,LINETHICK2;STICKLINE(VAR6,40,50,2,0),COLOR10C8B4,LINETHICK2;STICKLINE(VAR6,40,50,1,0),COLOR10D8B4,LINETHICK2;STICKLINE(VAR5,30,40,8,0),COLOR102070,LINETHICK2;STICKLINE(VAR5,30,40,7,0),COLOR102080,LINETHICK2;STICKLINE(VAR5,30,40,6,0),COLOR102090,LINETHICK2;STICKLINE(VAR5,30,40,5,0),COLOR1020A0,LINETHICK2;STICKLINE(VAR5,30,40,4,0),COLOR1020B0,LINETHICK2;STICKLINE(VAR5,30,40,3,0),COLOR1020C0,LINETHICK2;STICKLINE(VAR5,30,40,2,0),COLOR1020D0,LINETHICK2;STICKLINE(VAR5,30,40,1,0),COLOR1020E0,LINETHICK2;STICKLINE(VAR4,20,30,8,0),COLOR105510,LINETHICK2;STICKLINE(VAR4,20,30,7,0),COLOR106610,LINETHICK2;STICKLINE(VAR4,20,30,6,0),COLOR107710,LINETHICK2;STICKLINE(VAR4,20,30,5,0),COLOR108810,LINETHICK2;STICKLINE(VAR4,20,30,4,0),COLOR109910,LINETHICK2;STICKLINE(VAR4,20,30,3,0),COLOR10AA10,LINETHICK2;STICKLINE(VAR4,20,30,2,0),COLOR10BB10,LINETHICK2;STICKLINE(VAR4,20,30,1,0),COLOR10CC10,LINETHICK2;{大盘均线}VAR7:=EMA(INDEXV,5);VAR8:=EMA(INDEXV,10);VAR9:=EMA(INDEXV,20);VAR10:=VAR7>=REF(VAR7,1) AND 买入基础;VAR11:=VAR8>=REF(VAR8,1) AND 买入基础;VAR12:=VAR9>=REF(VAR9,1) AND 买入基础;STICKLINE(VAR12,70,80,8,0),COLOR108010,LINETHICK2;STICKLINE(VAR12,70,80,7,0),COLOR109010,LINETHICK2;STICKLINE(VAR12,70,80,6,0),COLOR10A010,LINETHICK2;STICKLINE(VAR12,70,80,5,0),COLOR10B010,LINETHICK2;STICKLINE(VAR12,70,80,4,0),COLOR10C010,LINETHICK2;STICKLINE(VAR12,70,80,3,0),COLOR10D010,LINETHICK2;STICKLINE(VAR12,70,80,2,0),COLOR10E010,LINETHICK2;STICKLINE(VAR12,70,80,1,0),COLOR10F010,LINETHICK2;STICKLINE(VAR11,60,70,8,0),COLORFF45FF,LINETHICK2;STICKLINE(VAR11,60,70,7,0),COLORFF55FF,LINETHICK2;STICKLINE(VAR11,60,70,6,0),COLORFF65FF,LINETHICK2;STICKLINE(VAR11,60,70,5,0),COLORFF75FF,LINETHICK2;STICKLINE(VAR11,60,70,4,0),COLORFF85FF,LINETHICK2;STICKLINE(VAR11,60,70,3,0),COLORFF95FF,LINETHICK2;STICKLINE(VAR11,60,70,2,0),COLORFFA5FF,LINETHICK2;STICKLINE(VAR11,60,70,1,0),COLORFFB5FF,LINETHICK2;STICKLINE(VAR10,50,60,8,0),COLOR1055FF,LINETHICK2;STICKLINE(VAR10,50,60,7,0),COLOR1066FF,LINETHICK2;STICKLINE(VAR10,50,60,6,0),COLOR1077FF,LINETHICK2;STICKLINE(VAR10,50,60,5,0),COLOR1088FF,LINETHICK2;STICKLINE(VAR10,50,60,4,0),COLOR1099FF,LINETHICK2;STICKLINE(VAR10,50,60,3,0),COLOR10AAFF,LINETHICK2;STICKLINE(VAR10,50,60,2,0),COLOR10BBFF,LINETHICK2;STICKLINE(VAR10,50,60,1,0),COLOR10CCFF,LINETHICK2;{大盘均量线} {以下语句是股道趋势及其买卖点}A1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;A2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;买入:=A1 AND A2;A3:=REF(CLOSE,1);A4:=SMA(MAX(CLOSE-A3,0),6,1)/SMA(ABS(CLOSE-A3),6,1)*100;卖出:=CROSS(80,A4);低吸线: 20,POINTDOT,COLOR1090FF;强弱线: 50,POINTDOT,COLORBBBB00 ;高抛线: 80,POINTDOT,COLOR109C10;A5:=LLV(LOW,18);A6:=HHV(HIGH,18);A7:=EMA((CLOSE-A5)/(A6-A5)*100,13);股道趋势:EMA(0.618*REF(A7,1)+0.382*A7,3),COLORYELLOW,LINETHICK2; PolyLINE(股道趋势<=REF(股道趋势,1),股道趋势),COLORBLUE,LINETHICK2; A8:=MA(C,1)/MA(REF(C,18),18)*100;A9:=MA(FORCAST(A8,20),6);攻击点:=IF(FILTER(CROSS(A8,A9),5)=1,50,0);{买1}DRAWICON(攻击点,股道趋势*0.98,1);DRAWICON(卖出,股道趋势,2);{卖}DRAWICON(买入,股道趋势,1);{买2}【大智慧】股道趋势(买入基础、大盘均线)-指标公式效果图(文档来源:若水财经社区)。
大智慧主力建仓和出货指标公式
AAA:=(DMA(VAR11,(VOL /SUM(VOL,90))) * 60);
BBB:=(DMA(VAR11,(VOL / CAPITAL)) * 60);
VAR7:=(EMA(VAR6,3) - 10);
A:=1.1*C;
B:=0.9*C;
B1:=100*(WINNER(A)-WINNER(B));
C1:=MA(C,13)<REF(MA(C,13),1);
D1:=IF(C>1000,CROSS(VAR3,22),CROSS(VAR3,24));
锁定筹码:=100-B1;
请注意甄别内容中的联系方式诱导购买等信息谨防诈骗
大智慧主力建仓和出货指标公式
VAR0:=DYNAINFO(5);
VAR1:=BARSCOUNT(HIGH);
VAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
低位金叉跟进:=IF((VAR1 > 20),VAR2,0);
VAR5:=EMA(VAR4,8);
VAR6:=((3 * SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));
锁定区:STICKLINE(锁定筹码>70 AND C1,0,锁定筹码-65,8,0),COLOR0000FF;
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)
【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)第一篇:【股票指标公式下载】-【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)【大智慧】大资金流(大盘指数、大盘涨跌、股票代码)-指标公式源码{【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日线就持币。
大智慧七种技术指标主图指标公式(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;。
大智慧量化公式
大智慧量化公式
以下是大智慧股票指标公式:
1. 做空95:HHV((HIGH+LOW+OPEN+2CLOSE)/5+H-L,5),颜色为蓝色。
2. 做空68:HHV((HIGH+LOW+OPEN+2CLOSE)/52-L,5),颜色为红色。
3. 平衡点:LLV((HIGH+LOW+OPEN+2CLOSE)/5,3),颜色为灰色,DOTLINE。
4. 做多68:LLV((HIGH+LOW+OPEN+2CLOSE)/52-H,8),颜色为绿色。
5. 做多95:LLV((HIGH+LOW+OPEN+2CLOSE)/5-H+L,8),颜色为浅绿色。
6. F:=100(C-REF(C,1))/REF(C,1),表示当前收盘价与前一日收盘价的差值
占前一日收盘价的百分比。
7. 今小昨:IF(C<REF(O,1) AND f<0,1,0),表示当前收盘价小于前一日开
盘价且当前差值小于0时为1,否则为0。
8. 今小前:IF(C<REF(O,2) AND f<0,1,0),表示当前收盘价小于前两日开
盘价且当前差值小于0时为1,否则为0。
9. 真实波动范围(TR)的计算公式为TR=Max(H-L,H-PDC,PDC-L),其中
H表示当日的最高价,L表示当日的最低价,PDC表示前一日的收盘价。
以上是大智慧股票指标公式的部分示例,如需更多信息,建议查阅大智慧股票软件官网或咨询专业金融分析师。
大智慧技术指标公式,非常重要,绝不删除.doc
1 钱龙长线: LON,colorwhite; ma(lon,10),coloryellow; lon,colorstick2 钱龙短线: sho,colorwhite; ma(sho,10),coloryellow; sho,colorstick;3 主力轨迹: mtm:=c-ref(c,1);ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite; MAZL:MA(ZLGJ,N2),coloryellow 4 大智慧一根线追: BY20:=MA(C,5);五月持币线 :MA(C,20),LINETHICK2,COLOR00FFFF;五月持股线 :IF(BY20> 五月持币线 ,五月持币线 ,BY20),LINETHICK2,COLOR808080; VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 未来} VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(VAR1,C,O,8,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR1,H,L,1,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR2,C,O,8,0),COLORFF00FF,LINETHICK 2;{ STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;{ STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHI CK2;{5 笑脸买卖点指标:A:(ema(c,5)-ema(c,55))*30,colorred,linethick3; stickline(a>=0,a,0,5,0),colorred,linethick2; stickline(a<0,a,0,5,0),colorblue,linethick2; stickline(a>=0 and a>=ref(a,1),a,0,5,0),coloryellow,linethick2; stickline(a<0 anda>=ref(a,1),a,0,5,0),colorff9900,linethick2; 0,color4080ff,linethick3; DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,0,1); DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,0,2);6 指示强势股: {多空} RSV:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50; Kv:=SMA(RSV,3,1); Dv:=SMA(Kv,3,1); Jv:=3*Kv-2*Dv; zdzk1:=EMA(Jv,6); zdzk2:=REF(zdzk1,1);做多 :IF(zdzk1>=zdzk2,zdzk1+2,zdzk2),,COLORRED; 做空 :IF(zdzk2-zdzk1,zdzk2,zdzk1),,COLOR334499; xw1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1)))); xw2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1)))); xw3:=SUM(xw1,21);xw4:=SUM(xw2,21); xw5:=IF(xw3>xw4,(xw3-xw4)/xw3,IF(xw3=xw4,0,(xw3-xw4)/xw4)); {14 天强弱 }RS:=SMA(MAX(C-REF(C,1),0),14,1)/SMA(ABS(C-REF(C,1)),14,1)*100; ZD:= EMA(EMA(EMA(RS,7),3),3); ZD1:=(ZD-REF(ZD,1))/REF(ZD,1)*15;STICKLINE(ZD1>=0,0,ZD1*50,4,0),Color0000BE; STICKLINE(ZD1<=0,0,ZD1*50,4,0),COLORCdff88; y1:=AMOUNT/V/100; y2:=(3*H+L+O+2*C)/7;y3:=100*(WINNER(1.1*C)-WINNER(0.9*C)); y4:=SUM(AMOUNT,13)/y1/100; y5:= DMA(y2,V/y4); y6:=(C-y5)/y5*100;y7:=(y3<10) AND (y6<=-10); y8:=SMA(MAX(C-REF(C,1.5),0),6,1)/SMA(ABS(C-REF(C,1.5)),6,1)*100; 重高位黄色 } 高位黄色 } 高位黄色 } 底位红色 } 底位红色 } 底位红色 }亏 :STICKLINE(y6<=-10 and ZD1<0,ZD1*55,ZD1*45,6,0),ColorFF89B2; 全亏 :STICKLINE(y6<=-16 andZD1<0,ZD1*60,ZD1*55,6,1),COLORBLUE; 超跌 :STICKLINE(y7 and ZD1<0,ZD1*65,ZD1*60,6,0),ColorFFFFFF; Jct:=100*(c-cost(10))/cost(10); if(C,if(Jct<0,Jct,0)*3,0),COLORWHITE;{备战区 1 }ZDD1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10;ZDD2:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;ZDD3:=SMA(ZDD2,13,8);ZDD4:=CEILING(SMA(ZDD3,13,8));ZDD5:=SMA(ZDD1,21,8);Xh1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; Xh2:=ZDD4-ZDD5<-65 and Xh1<12;备战区 :dRAWICON(Xh2,0,12),Color006EFF;STICKLINE(Xh2,0,ZD1*20,4,0),Color006EFF;{备战区 2 }Xx1:=MA(LOW,2)*0.96;Xx2:=MA(LOW,26)*0.85;Xx3:= REF(Xx1,1)<Xx2 AND REF(Xx1,1)<Xx1 AND REF(Xx1,1)<REF(Xx1,2);STICKLINE(Xx3,0,ZD1*16,4,0),Color006EFF;DRAWICON(Xx3,0,12);{备战区 3 }C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;DSY:=100*vol/CApitAl;STICKLINE((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0,ZD1*25,4,0),Color006EFF;DRAWICON((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0,12);{备战区 4}Ww1:= sum( ma(c,10),9)/10.110;Ww2:=cross(c,Ww1);STICKLINE(Ww2,0,ZD1*26,4,0),Color006EFF;{40}DRAWICON(Ww2,0,12);{买 1}Vw1:=DMA(EMA(C,12),SUM(V,5)/3/CAPITAL);Vw2:=REF(H,10)/C>1.35;Vw3:=(COST(20)-C)/C>0.15;Vw4:=H>L*1.051;Vw5:=Vw4 AND COUNT(Vw4,5)>1;Vw6:=(((C-Vw1)/Vw1*100<-30) or Vw2) and Vw3 and Vw5;STICKLINE(Vw6,0,ZD1*40,4,0),Color0000FF;{48}DRAWICON(Vw6,0,6);{买 2}XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);STICKLINE(XL3,0,15,4,0),ColorF8B7F0;DRAWTEXT(XL3,25,'・买'),ColorF8B7F0;{井喷}jjp1:=REF(INDEXC,1);jjp2:=FILTER((INDEXC-jjp1)/jjp1>0.03 and zdzk1>=zdzk2,7);STICKLINE(jjp2,0,-15,4,0),ColorFF00FF;DRAWTEXT(jjp2,- 15,'汕喷买'),ColorFF00FF;7一年二十倍指标:R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);K:=EMA(R,3);D:=EMA(K,3);一年十二倍 :20,colorred;陡峭度 :=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) -1),1);N:=IF(( 陡峭度 > 0.35),6,65);VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE <20070110));VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110)); 获利盘 :=(WINNER(CLOSE))*(100);获利线 :=FORCAST( 获利盘 ,7);线:=(F0RCAST(VAR1A,7))*((DATE < 20070110));满仓:=((线 > REF(线,1)) and (线 < 25) and (COUNT(( 线 > REF(线,1)),5) = 1) and IF((N = 6),(获利盘 < 60),(获利盘 < 40)) and (C0UNT(( 获利线 > 20),20) > 0))*(40);STICKLINE( 满仓 ,0,40,5,0),Color008000;DRAWTEXT( 满仓 ,45,' 满仓 '),ColorWHITE;轻仓:=IF((获利盘 >=60) and (线 > REF(线,1)) and (REF(线,1) < 20) and (线 < 40) and (COUNT(( 线 > REF( 线,1)),5) = 1) and (REF(N,1) = 6),1,0);STICKLINE(轻仓,20,D,4,1),ColorFF00FF;DRAWTEXT(轻仓,45,'轻仓'),ColorFF00FF;出击:=CROSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,( 线 > D) or (K > D) and (D < 60)) and IF((N = 6),( 获利盘 < 70),( 获利盘 < 40)) and (COUNT(( 获利线 > 20),20) > 0); STICKLINE(出击,0,50,3,1),Color44BB00;DRAWTEXT(出击,55,'出击'),colorred;进一 :CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);进二:CROSS(线,获利线)and (D > 30) and ( 获利线 > 25) and (D > REF(D,1));低进:=IF(进一 and (D >获利线),进二,进一);DRAWTEXT(低进,30,'低进'),ColorWHITE;STICKLINE(低进,20,30,3,1),Color000080;DRAWTEXT(进二,50,'高进'),Color800080;STICKLINE(进二,30,50,3,1),coloryellow;狂喜:=(30)*(CROSS(VAR1,(-2)));STICKLINE(狂喜,0,20,3,1),coloryellow;DRAWTEXT( 狂喜,(-5),' 要涨停 '),coloryellow;狂喜过望 :=(50)*((VAR1 = 0));恐慌 :=(20)*(VAR1 < -94);STICKLINE(恐慌,0,(-20),5,0),ColorC1C1C1;DRAWTEXT(恐慌,(-25),'恐慌'),ColorC1C1C1;极度恐慌 :=(-40)*(VAR1 = (-100));STICKLINE( 极度恐慌 ,0,(-40),7,1),Color800000;DRAWTEXT( 极度恐慌 ,(-45),' 极度恐慌 '),ColorGREEN;半仓:=(30)*(CROSS(VAR1,(-94)) and (COUNT( 恐慌,5) > 0) and (N = REF(N,1)) and IF((N = 6),( 获利盘 < 60),( 获利盘 < 40)) and (COUNT(( 获利线 > 20),20) > 0));STICKLINE(半仓,0,30,4,1),ColorFFFF00;DRAWTEXT(半仓,35,'半仓'),ColorFFFF00;加仓:=(30)*(CROSS(K,20) and (COUNT( 半仓,5) > 0));STICKLINE(加仓,0,20,6,1),Color808080;DRAWTEXT(加仓,25,'加仓'),Color808080;背离:=(COUNT(恐慌,2) > 0) and (CLOSE < REF(CLOSE,1)) and (VAR1 > REF(VAR1,1)); DRAWICON(背离,0,1),ColorFFFFFF;8买入涨停: {买入涨停 }{参数:N 5 100 9 LC 5 100 24}MA5:MA(C,5),COLOR00FF00;MA10:MA(C,10),COLORFFFFFF;ZX:=(MA5+MA10)/2;MA24:MA(C,24),COLORFF00FF; {24 日指数平滑均线 ,是真正大资金运作的主要参考和支 撑线} MA30:MA(C,30),COLORYELLOW; QSXS:=MA5>=MA30 AND MA30>REF(MA30,1); GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2); YB:=C>REF((O-C)/2+C,2);买:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0; 买入易涨停 :买 AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE( STICKLINE( STICKLINE( STICKLINE( DRAWTEXT(买丄*0.99,'买'),COLOROOFFOO; DRAWICON( 买入易涨停 ,L,1); 上线 :=sma(c,6.5,1);下线 :=sma(c,13.5,1); 上线 1:=sma(c,3,1); 下线 1:=sma(c,8,1);DRAWTEXT( cross( 上线,下线),low *0.98,' 全仓买'),color00ff00; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,1 3)*1.3,1,0),L0W*0.98,' 抄底'),coloryellow; 能量线 :=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4))); 上开 :=O; 上收 :=C; 上高 :=H; 上低 :=L; JJ:=( 上开 +上高+上低)/3; VA1:=EMA( 上收 ,8); VA2:=EMA( 上收 ,28);DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,' ▼ 全仓卖'),COLORYELLOW; x1:=(3*C+H+L+O)/6; x2:=EMA(x1,10); x3:=REF(x2,1); x4:=(REF(HIGH,1)+REF(LOW,1))/2;x5:=MA(CLOSE,21)+2*STD(CLOSE,21); x6:=REF(CLOSE,1);{ 出货} x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100; x8:=CROSS(79,x7); x9:=FILTER(x8,4);{40} XL11:=EMA(CLOSE,10)/100;{70}XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100;买,h,l,0,0),COLOR00FF00,li nethick2; 买,o,c,0,0),COLOR00FF00,li nethick2; 买入易涨停 ,h,l,0,0),COLORYELLOW,linethick2; 买入易涨停 ,o,c,4,0),COLORYELLOW,linethick2;XL3:= MA(XL2,3); XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),l-0.02,' 买 '),colorred;DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA((CLOSE*2+HIGH+ LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/ 4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0) and x2>x3,l- '),ColorFF5ED8;{80}VAR11:=(ZIG(3,10) < REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) > REF(ZIG(3,10),2));0.4,' ▲加仓9 波段极品:MA5: MA(CLOSE,5),COLORbbffff; MA10:MA(CLOSE,10), COLORGREEN,linethick2; S:MA10+2*STD(CLOSE,10), COLORWHITE,linethick2; X:MA10-2*STD(CLOSE,10), COLORYELLOW,linethick2; MA30:MA(CLOSE,30), COLORred;{MA120: MA(CLOSE,120), COLORcc99cc;} MA250: MA(CLOSE,250), COLOR3366ff; {MA60:MA(CLOSE,60), COLORCYAN;} 卖出线 :=98; 阶段卖 :=96;趋势 :=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);底部 :=10; 买入警戒 :stickline( 趋势 <=10,high,low,0.5,0),colorFF9933; stickline( 趋势<=10,open,close,2,1),colorFF9933; 买入信号 :drawicon(CROSS( 趋势,底部 ),low,1);卖出警戒 :stickline( 趋势 >= 阶段卖 ,high,low,0.5,0),color00FF00; stickline( 趋势 >= 阶段卖 ,open,close,3,1),linethick2,color00FF00; 卖出 :drawicon(cross( 卖出线 , 趋势 ),high,2);VB1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04; VB2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VB3:=VB1 AND VB2;DRAWTEXT(VB3,LOW,' 买入点 '), COLORWHITE;DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,2 0)),HIGH*1.02,' 落袋为安'), COLORWHITE;V2:=REF(CLOSE,1); V3:=SMA(MAX(CLOSE-V2,0),6,1)/SMA(ABS(CLOSE-V2),6,1)*100;DRAWTEXT(CROSS(84,V3),HIGH*1.03,' 见顶 '), COLORYELLOW; V4:=SMA(MAX(CLOSE-V2,0),12,1)/SMA(ABS(CLOSE-V2),12,1)*100; DRAWTEXT(CROSS(V4,20),LOW*0.98,' 见底 '),COLORRED;10 股海扬帆: {股海扬帆 } BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100; 起航天数 :BARSLAST(BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0)>0),STICK,COLORRED,LINETHICK4;休整天数 :BARSLAST(BARSLAST(BIAS20<0 AND REF(BIAS20,1)<0)>0),STICK,COLOR00FFFF,LINETHICK4;起航天数 =1,-5,' 起 '),COLORRED; 起航天数 =1,-10,' 航 '),COLORRED; 休整天数 =1,-5,' 休 '),COLORYELLOW;休整天数 =1,-10,' 整 '),COLORYELLOW;DRAWTEXT( DRAWTEXT( DRAWTEXT( DRAWTEXT( -20,COLOR000000;Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); MW:= EMA(Var2w,3);Var3w:=EMA(Var2w,7);M1:= EMA(Var3w,5); mb1:=CROSS(MW,M1) AND M1<20;抄底介入 :IF((mb1),20,0),linethick2,colorff00ff; drawtext( 抄底介入 ,30,' 抄底 '),colorred;Var06:=(2*CLOSE+HIGH+LOW)/4;Var08:=LLV(LOW,34);VarB1:=HHV(HIGH,34); BB:=EMA((Var06-Var08)/(VarB1-Var08)*100,9);VarC1:=EMA(0.667*REF(BB,1)+0.333*BB,2),color000000;黑马起爆洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱B:=SMA( 洗钱A,13,1);洗钱 C:SMA( 洗钱 B,5.5,1.5),POINTDOT;洗钱 D:3* 洗钱 B-2* 洗钱 C;洗钱E:4*洗钱C-3*洗钱B;量 1:=EMA( 洗钱 A,3);量 2:=EMA( 洗钱 A,5);量 3:=EMA( 洗钱 A,7);STICKLINE( 量 1>量 2,量 3,量 1,8,1),COLORRED;STICKLINE( 量 1<量 2,量 3,量 1,8,1);T1:=量 2>量 3 AND 量 1<REF(量 1,1);路遥 2012-2-10 7:39:01成交量 {M5:MA(C,5),COLORWHITE;M10:MA(C,13),COLORYELLOW; M20:MA(C,34),COLORRED;M30:MA(C,60),COLOR33FF33;M60:MA(C,120),COLORFF0000; M120:MA(C,250),COLORFF00FF;}VAR3:=LLV(H,240);VAR4:=100*(C-VAR3)/V AR3;VAR5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100; VAR6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;VAR7:=0; VAR8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;VAR9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;VARA:=BARSCOUNT(C);VARB:=V AR8<20 AND V AR9<23 AND V ARA>35;VARC:=V ARB AND COUNT(V ARB,1)=1;VARD:=EMA(C,21)-EMA(C,8);VARE:=EMA(V ARD,5);VARF:=TROUGH(3,6,1)<4 AND CROSS(V ARD,V ARE);VAR10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(C,2)-EMA(C,150);VAR1A:=EMA(V AR19,100);VAR1B:=2*(VAR19-V AR1A);VAR1C:=POW(V AR1B,3)*0.1+POW(V AR1B,1);VAR1D:=SQRT(SQRT(L*H*O*C));VAR1E:=EMA(V AR1D*0.97,3);VAR1F:=(H+L+C)/3;VAR20:=(V AR1F-MA(V AR1F,14))/(0.015*A VEDEV(V AR1F,14)); VAR21:=CROSS(V AR1E,C);{ 买点 1:=VAR10;}买点 2:=(VAR11+V AR13+V AR15+V AR17);卖点 1:=(VAR12+V AR14+V AR16+VAR18),LINETHICK2;{VAR22:= 买点 1 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5=0 VAR6=0 AND V AR20<(-AND 110);}VAR100:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);买点 1:=VAR100;VAR1:=MA(C,5);VAR2:=MA(C,10);VAR31:=MA(C,30);VARB1:=SUM(C*VOL*100,28)/SUM(VOL*100,28);VARC1:=INTPART(V ARB1*100)/100;VARD1:=EMA(C,5)-EMA(C,10);VARE1:=EMA(V ARD1,9);VAR190:=EMA(C,2)-EMA(C,150);VAR131:=REF(VARE1,1);VAR141:=VARE1;VAR151:=VAR141-V AR131;VAR161:=REF(VARD1,1);VAR171:=VARD1;VAR181:=VAR171-V AR161;VAR191:=O;VAR1A1:=C;买点 3:=IF(VAR190<=V AR1 AND VAR191<=VAR2 AND VAR191<=VAR31 AND VAR1A1>=V AR1 AND V AR1A1>=V ARC1 AND V AR151>0 AND V AR181>0,0.5,0); DRAWICON( 买点 3>0,L-0.01,1);{DRAWTEXT(买点 1>0,L-0.01,'买点'),COLORRED;}DRAWTEXT(买点 2>0,L-0.01,'买点'),COLOR33FF33;DRAWTEXT(卖点 1>0,H+0.1,'卖点'),COLORFFFF00;天狼短线 B1:=MA(C,1);减仓 :SMA(SMA(SMA(B1,2,1),2,1),2,1),colorgreen,LINETHICK2; 天狼短线 :HHV(MA( 减仓 ,1),13),color00aaff,LINETHICK4;HHV(MA( 减仓 ,1),13),colorred,LINETHICK3;STICKLINE( 天狼短线 > 减仓 AND 减仓 >MA( 减仓 ,3), 天狼短线 , 天狼短线 -0.13,4,0),color00aaff;STICKLINE( 天狼短线 >MA( 减仓 ,3) AND 减仓 <MA( 减仓 ,3), 天狼短线 ,MA( 减仓,3),0,1),colorgree n;路遥 7:36:44雷霆顶压:HHV(MA(H,11),50),COLOROOFFFF;短压:HHV(MA(H,11),15),COLOR0090E0;XL1:=LLV(MA(H,11),1);趋势:IF(XL1>=短压,短压,XL1),COLORFFFFFF;X1:=(3*C+H+L+O)/6;X2:=EMA(X1,10);X3:=REF(X2,1);X4:=(REF(HIGH,1)+REF(LOW,1))/2;X5:=MA(CLOSE,21)+2*STD(CLOSE,21);X6:=REF(CLOSE,1);{ 出货} X7:=SMA(MAX(CLOSE-X6,0),7,1)/SMA(ABS(CLOSE-X6),7,1)*100;X8:=CROSS(79,X7);X9:=FILTER(X8,4);{40}WZ1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);{ 减}WZ2:=POW(MA(LOW,5),2)+MA(LOW,5); WZ3:=POW(MA(HIGH,5),2)+MA(HIGH,5);WZ4:=(WZ1-LLV(WZ2,9))/(HHV(WZ3,9)-LLV(WZ2,9))*150+65; DK:=SMA(WZ4,3,1)*1.5; DD:=SMA(DK,3,1); DJ:=3*DK-2*DD;WZ5:= EMA(CLOSE,12) - EMA(CLOSE,26); WZ6:= EMA(WZ5,9); WZ7:= 2*(WZ5-WZ6);{50} WZ8:= REF(WZ7,1);WZ9:= CROSS(WZ8,WZ7) AND WZ8>0; DRAWTEXT(WZ9 AND DJ>250,H,' ・减'),C0L0RBCFF8B;VAR11:=EMA(CLOSE,8);{ 起步 } VAR2:=EMA(VAR11,20); VAR3:=CR0SS(V AR11,VAR2);VAR4:=VAR11<MA(CL0SE,120); VAR5:=(HHV(HIGH,36)-CL0SE)/(HHV(HIGH,36)-LLV(L0W,36))*100;{ VAR6:=SMA(V AR5,5,1); VAR7:=SMA(V AR6,8,1);{60}VAR8:=CR0SS(V AR6,VAR7) AND V AR7<20; VAR9:=CL0SE>LLV(CL0SE,60)+0.3*LLV(CL0SE,60) AND V AR8; VARA:=IF(CL0SE>1000,V AR8,VAR9); 起步 := VAR3 AND V AR4; 逃遁 := VARA;STICKLINE(X2>X3,X2*0.98,X2,6,1),C0L0R0000FF,LINETHICK2; STICKLINE(X2<X3,X2*0.98,X2,6,1),C0L0RF10011,LINETHICK2; WW1:= SUM( MA(C,10),9)/10.110,C0L0RYELL0W; XX1:=MA(L0W,2)*0.96; XX2:=MA(L0W,26)*0.85;XX3:= REF(XX1,1)<XX2 AND REF(XX1,1)<XX1 AND REF(XX1,1)<REF(XX1,2); VAR1:=INDEXC; VAR12:=MA(V VAR13:=MA(V VAR14:=MA(V VAR15:=MA(V VAR16:=MA(VVAR17:=VAR15<REF(V AR15,1) AND V AR6<REF(VAR16,1) AND V AR15<VAR6*0.98; VAR18:=VAR14>VAR12*1.11 AND V AR13>VAR12*1.095; VAR19:=VAR12>VAR1*0.95;VAR111:=EMA(WINNER(CL0SE)*70,3); VAR112:=EMA((WINNER(CL0SE*1.1)-WINNER(CL0SE*0.9))*80,3); VAR113:=CL0SE/MA(CL0SE,40)*100<76; VAR114:=CL0SE/MA(CL0SE,60)*100<74;逃命 }AR1,6); AR1,24); AR1,32); AR1,62); AR1,105);VAR115:=HIGH>LOW*1.051;VAR116:=V AR115 AND COUNT(V AR15,5)>1;VAR117:=V AR17 AND V AR8 AND V AR19 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND CLOSE>0.1 OR VAR16AND (V AR113 OR VAR114) AND V AR112<20 AND V AR111<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5 OR TROUGHBARS(3,15,1)<4AND CROSS(EMA(CLOSE,21)-EMA(CLOSE,8),EMA(EMA(CLOSE,21)-EMA(CLOSE,8),5));XL11:=EMA(CLOSE,10)/100;{70}XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100;XL3:= MA(XL2,3);XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);DRAWTEXT(IF(CROSS(3*XL4-2*SMA(XL4,3,1),8),87,0) AND X2>X3,L-0.1,'・•反弹 '),COLORGREEN; DRAWTEXT(IF(CROSS((V AR11-LLV(V AR1,4))/(HHV(V AR11,4)-LLV(VAR11,4))*4*25,87.5) ANDVAR1<40,87,0) AND X2>X3,L-0.2,' —•短买'),C0L0RFFBBD8;DRAWTEXT(CROSS(V AR1,10) AND X2>X3,L-0.3,' —•买'),COLOR89B2FF;DRAWTEXT(IF(CR0SS(2*(EMA((CL0SE*2+HIGH+L0W)/4,12)-EMA((CL0SE*2+HIGH+L OW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/ 4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0)仓'),COLORFF5ED8;{8O}AND X2>X3,L-0.4,'・•加LL1:=(EMA(CLOSE,3) - EMA(CLOSE,13));路遥 7:37:04强势主升趋势线 :MA(CLOSE,21),ColorFFFfff,linethicK2;生命线 :MA(CLOSE,43),Color00Ffff,linethicK2;牛熊分界线 :MA(CLOSE,250),Color0000ff,linethicK3;TY:=C;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY ,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY ,2*10+1),10),10+1),10); A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波浪顶 :IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK1;STICKLINE(T1,A,A,9,0),COLORFF00FF;波浪底 :IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1;Var3:=LLV( 最高价 ,240);Var4:=100*( 收盘价 -Var3)/Var3;Var5:=(收盘价-LLV(最低价,528))/(HHV(最高价,528)-LLV(最低价,528))*100;Var6:=(收盘价-LLV(收盘价,530))/(HHV(收盘价,530)-LLV(收盘价,530))*100;Var7:=0;Var8:=MA(HHV(收盘价-REF(收盘价,1),0),34)/MA(ABS(收盘价-REF(收盘价,1)),7)*100;Var9:=MA(HHV( 收盘价 -REF( 收盘价 ,1),0),13)/MA(ABS( 收盘价 -REF( 收盘价 ,1)),13)*100; VarA:=BARSCOUNT( 收盘价 );VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA( 收盘价 ,21)-EMA( 收盘价 ,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE); Var10:=IF(TROUGH(3,16,1)=0 AND 最高价 >最低价+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3); Var13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); Var14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); Var15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); Var18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA( 收盘价 ,2)-EMA( 收盘价 ,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A); Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);{ 股旁网 _飞狐股票指标公式 }Var1D:=SQRT(SQRT(最低价*最高价*开盘价*收盘价)); Var1E:=EMA(Var1D*0.97,3); Var1F:=(最高价+最低价+收盘价)/3;Var20:=(Var1F-MA(Var1F,14))/(0.015*A VEDEV(Var1F,14));Var21:=CR0SS(Var1E,最低价);买点 1:=Var10;买点 2:=(Var11+Var13+Var15+Var17);卖点 1:=(Var12+Var14+Var16+Var18),linethick2;Var22:=买点 1 AND VarF AND VarC AND Var21 AND Var4<0 AND Var5=0 AND V ar6=0 AND Var20<(-110); VAR1:=MA( 收盘价 ,5); VAR2:=MA( 收盘价 ,10); VAR31:=MA( 收盘价 ,30);VARB1:=SUM( 收盘价*成交量*1 00,28)/SUM( 成交量*1 00,28); VARC1:=INTPART(V ARB1*100)/100;VARD1:=EMA( 收盘价 ,5)-EMA( 收盘价 ,10); VARE1:=EMA(V ARD1,9); VAR131:=REF(VARE1,1); VAR141:=VARE1; VAR151:=VAR141-V AR131; VAR161:=REF(VARD1,1); VAR171:=VARD1; VAR181:=VAR171-V AR161; VAR191:= 开盘价 ; VAR1A1:= 收盘价 ;DRAWTEXT( DRAWTEXT( DRAWTEXT( 路遥 7:37:25 第三浪 AA:=V*1000/CAPITAL;主力 :MA(AA,4),COLORYELLOW,POINTDOT; 游资 :MA(AA,9),COLORRED,POINTDOT; 大户:MA(AA,17),C0L0RRED,POINTDOT;STICKLINE( 主力>0,0,主力 ,6,0),COLORYELLOW; STICKLINE( 游资>0,0,游资 ,6,0),COLORRED;STICKLINE( 大户 >0,0,大户 ,6,0),COLORGREEN; 获利平均值 :EMA(100*WINNER(C),20),COLOR9933FF; 获利 99 :=MA(COST(99 ),5); 获利 均线 获利 获利RSV:=(((CLOSE -LLV(LOW,21))/(HHV(HIGH,21) - LLV(LOW,21)))*(100)); 趋势 :(EMA((3)*(SMA(RSV { 股旁网 VAR2:=(3)*(SMA(((OPEN (2)*(SMA(SMA(((OPENLLV(LOW,89)))*(100),20,1),15,1));VAR3:=VAR2 - 100;背离:(FORCAST(((-1))*(V AR3),21)),LINETHICK1,COLOROOFFOO; DRAWTEXT((CROSS(趋势,背离)),背离,黑马'),COLORRED; B:=C/REF(C,1)>1.O48ANDC=H买点 买点 卖点 1>0,L+0.1,' ▲'),colorred; 2>0,L+0.1,' ▲'),COLORFF00FF;1>0,H+0.01,' ▼ '),COLOR33FF33;80:=MA(COST(80),5);5日:= MA(C,5);20:=MA(COST(20),5); 1 :=MA(COST(1),5); ,6,1)) - (2)*(SMA(SMA(RSV,5,1),5,1)),2)),COLORRED;_大智慧股票指标公式 }- LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1))- LLV(LOW,89))/(HHV(HIGH,89) ANDBETWEEN(FORCAST(V ,4),0.2*FORCAST(V ,12),2.1*FORCAST(V,12)); •黑牛 :FILTER(B,28)*100,STICK,COLORRED, LINETHICK3; 全仓买:(ZIG(3,35)>REF(ZIG(3,35),1)REF(ZIG(3,35),1)<REF(ZIG(3,35),2))*20,STICK,COLOR990066,LINETHICK3; V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,21); V3:=EMA(V2,5); V4:=2*(V2-V3)*100; 筹 码 进 : IF(V4>=0,V4,0),COLORWHITE,LINETHICK2;STICKLINE((V4 0),0,V4 ,0,0),LINETHICK2,COLORYELLOW; 筹码撤: IF(V4<=0,V4,0),COLORBLUE,LINETHICK1;STICKLINE((V40),0,V4,0,0),LINETHICK1,COLORBLUE; 路遥 7:37:45价值连城 Var1:=REF(CLOSE,2); 会员SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100,COLORFFAA66; Var2:=REF(CLOSE,1);Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100; 极品逃亡:IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,0); DRAWTEXT(极品逃亡,70 ,'★ <-极品逃亡’),coloryellow,linethicki;DRAWTEXT(88>0 and ref(o,1)/ref(c,1)>1.04 and ref(l,1)<=688 and o>ref(c,1)and c<ref(o,1)and c/o>=1.01,l-l*0.02,' ★ <--极品绝底初现 '),linethick1;DRAWTEXT(c-o>=0 and o/l>1.05 and l<=llv(l,20),l,' ★<--极品绝底 '),colorblue, linethick1; q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; q3:=SMA(q2, 9, 1); q4:=SMA(q3, 3, 1);特殊会员专用 :3*q3-2*q4,colorwhite,linethick2; q8:=HHVBARS(HIGH, 50);q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100; 跨越 :EMA(q3, 3),COLORRED;DRAWTEXT(CROSS( 特殊会员专用 , 8) AND q10<-13,20,'* 大底来 '),coloryellow,linethick5; DRAWTEXT(CROSS( 特殊会员专用 , 93) AND q10<-13,40,'* 大底 '),linethick5;DRAWTEXT(CROSS(跨越,特殊会员专用)AND ref(特殊会员专用,1)>80, ref(特殊会员专 用,3), '* 顶'),COLORRED,linethick5;Var12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; 机构做空能量线 : SMA(Var12,3,1),colorgreen,linethick2; 大底来 : 0,POINTDOT; 大底: 0,POINTDOT; DRAWTEXT(cross( DRAWTEXT(cross( DRAWTEXT(cross( 路遥 7:38:02 0000VAR1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1))); VAR2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));AND跨越 ,机构做空能量线 ) ,大底 +40,'进入强势区域'),coloryellow,linethick1; 特殊会员专用 ,跨越 ) ,大底 +20,'进入拉升区域 '),linethick1; 跨越,特殊会员专用 ) ,大底+70,'注意调整VAR3:=SUM(V AR1,5);VAR4:=SUM(V AR2,5);VAR5:=IF(VAR3>V AR4,(V AR3-V AR4)/V AR3,IF(VAR3=V AR4,0,(V AR3-V AR4)/V AR4));VAR6:=MA(V AR5,5);VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VARA:=SUM(V AR8,3);VARB:=SUM(V AR9,3);VARC:=IF(VARA>VARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB));VARD:=MA(VARC,3);火: BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),COLORRED;VARE:=HHV(CLOSE,2);VARF:=BARSLAST(V ARE<REF(VARE,2));VAR10:=IF(VARF>=1,LLV(V ARE,V ARF),LOW);VAR11:=VAR10+V AR10*V ARF*0.5/100;VAR12:=IF(VAR11<REF(V AR11,1),MA(LOW,3),V AR11);VAR13:=V AR10+V AR10*(V ARF-1)*1.618/100;山: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR16:=SUM(VAR8,3);VAR17:=SUM(VAR9,3);VAR18:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB));VAR19:=MA(V ARC,3); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;买入或持股 : STICKLINE( 山>0,火 ,0,2,0), COLORRED;VAR1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR1C:=SUM(V AR8,3);VAR1D:=SUM(V AR9,3);VAR1E:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(VARA=V ARB,0,(V ARA-VARB)/V ARB)); VAR1F:=MA(V ARC,3);下跌7抛出:STICKLINE(山 >0,火,山,2,1), COLORFOFOOO;VAR20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR22:=SUM(VAR8,3);VAR23:=SUM(VAR9,3);VAR24:=IF(VARA>V ARB,(VARA-VARB)/VARA,IF(V ARA=VARB,0,(VARA-VARB)/VARB));VAR25:=MA(V ARC,3);观望: STICKLINE( 山=0 AND 火=0,0,1,4,1), COLORBLUE; VAR26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1))); VAR27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR28:=SUM(VAR8,3);VAR29:=SUM(VAR9,3);VAR2A:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-VARB)/V ARB));VAR2B:=MA(VARC,3);植被 : STICKLINE( 山 <火,火,山,1,0), COLOR00FF00; VAR2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR2E:=SUM(V AR8,3);VAR2F:=SUM(V AR9,3);VAR30:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB)); VAR31:=MA(V ARC,3);VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10; VAR33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR35:=SUM(VAR8,3);VAR36:=SUM(VAR9,3);VAR37:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB)); VAR38:=MA(V ARC,3);路遥 7:38:22黑马起爆洗钱 A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱 B:=SMA( 洗钱A,13,1);洗钱 C:SMA( 洗钱 B,5.5,1.5),POINTDOT;洗钱 D:3* 洗钱 B-2* 洗钱 C;洗钱E:4*洗钱C-3*洗钱B;量 1:=EMA( 洗钱 A,3);量 2:=EMA( 洗钱 A,5);量 3:=EMA( 洗钱 A,7);STICKLINE( 量 1>量 2,量 3,量 1,8,1),COLORRED;STICKLINE( 量 1<量 2,量 3,量 1,8,1);T1:=量 2>量 3 AND 量 1<REF(量 1,1);路遥 7:38:39绝佳买点 Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; Var2:=2*ABS(Var1); Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA (SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(Var5-MA(Var5,14))/(0.015*A VEDEV(Var5,14));Var7:=(Var5-MA(Var5,70))/(0.015*A VEDEV(Var5,70));Var8:=IF(Var6>=150 AND V ar6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8); VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,。
【股票指标公式下载】-【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)
【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)-指标公式源码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操盘(买线、卖线、指导线)-指标公式效果图(文档来源:若水财经社区)。
大智慧黑牛超跌指标公式程序源码及编程思路破译
大智慧黑牛超跌指标公式程序源码及编程思路破译编程思路破译A4赋值:((收盘价-21日内最低价的最低值)/(21日内最高价的最高值-21日内最低价的最低值))*100输出趋势线:(3*A4的6日[1日权重]移动平均-2*A4的5日[1日权重]移动平均的5日[1日权重]移动平均的2日简单移动平均),画绿色看底选股赋值:((收盘价-21日内最低价的最低值)/(21日内最高价的最高值-21日内最低价的最低值))*100的13日[8日权重]移动平均的13日[8日权重]移动平均的向上舍入-((21日内最高价的最高值-收盘价)/(21日内最高价的最高值-21日内最低价的最低值))*100-10的21日[8日权重]移动平均<-65输出看底:(如果看底选股,返回10,否则返回0),画白色,DOTLINEN1赋值:20输出VAR2:((3 * (((收盘价-N1日内最低价的最低值)/(N1日内最高价的最高值-N1日内最低价的最低值))*100)的5日[1日权重]移动平均) - (2 * (((收盘价-N1日内最低价的最低值)/(N1日内最高价的最高值-N1日内最低价的最低值))*100)的5日[1日权重]移动平均的3日[1日权重]移动平均)),画红色程序源码A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),COLORGREEN;看底选股:=CEILING(SMA(SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,13,8),13,8))-SMA(((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10,21,8)<-65;看底:(IF(看底选股,10,0)),COLORWHITE,DOTLINE;N1:=20;VAR2:((3 * SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE -LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1),3,1))),COLORRED;。
大智慧公式多年收集的大智慧指标公式(源码)
漓江渔歌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;。
【股票指标公式下载】-【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)
【股票指标公式下载】-【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)预览说明:预览图片所展示的格式为文档的源格式展示,下载源文件没有水印,内容可编辑和复制【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)-指标公式源码A:=(VOL * CLOSE);B:=(SUM(A,1) / SUM(VOL,1));B1:=EMA(B,17);趋势线:(B - B1) * 100 / B,COLORFF00FF;强弱分界线:0,COLORFFFFCC;AA:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);CC:=(AA - BB);DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);EE:=(((CC < 3) AND (DD < 0.5)) AND (OPEN <> LOW));A1:=DYNAINFO(6);A2:=IF((LOW > A1),0,IF((HIGH < A1),1,(((A1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));A3:=(VOL / WINNER(LOW));A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=((100 * (CLOSE - A5)) / (A4 - A5));A7:=((A2 > 0) OR (A2 = 1));A8:=((A7 AND ((A3 / REF(A3,3)) >= 3)) AND (A6 < 80));A9:=(((REF(A8,1) OR REF(A8,2)) OR REF(A8,3)) OR REF(A8,4));A10:=(A8 AND A9);A11:=IF(FILTER(A8,3),5,0);A12:=IF((FILTER(A10,3) OR EE),10,0);进场:STICKLINE(A11,0,5,5,0),COLORFF7700;加仓:STICKLINE(A12,0,15,5,0),COLORFF00FF;STICKLINE(A11,0,5,5,0),COLORFF7700;STICKLINE(A11,0,5,4.5,0),COLORFF8800;STICKLINE(A11,0,5,4,0),COLORFF9900;STICKLINE(A11,0,5,3.5,0),COLORFFAA00;STICKLINE(A11,0,5,3,0),COLORFFBB00;STICKLINE(A11,0,5,2.5,0),COLORFFCC00;STICKLINE(A11,0,5,2,0),COLORFFDD00;STICKLINE(A11,0,5,1,0),COLORFFEE00;STICKLINE(A12,0,15,4.5,0),COLOR102099;STICKLINE(A12,0,15,4,0),COLOR1020AA;STICKLINE(A12,0,15,3.5,0),COLOR1020BB;STICKLINE(A12,0,15,3,0),COLOR1020CC;STICKLINE(A12,0,15,2.5,0),COLOR1020DD;STICKLINE(A12,0,15,2,0),COLOR1020EE;STICKLINE(A12,0,15,1,0),COLOR1020FF;DRAWTEXT(A11,8,'进场'),COLORFFFF00;DRAWTEXT(A12,17,'加仓'),COLORFFFFFF;【大智慧】主力加仓(进场、趋势线、强弱分界线、加仓)-指标公式效果图(文档来源:若水财经社区)。
大智慧主图公式--顶底背离解读
大智慧主图公式--顶底背离大智慧主图公式--顶底背离顶底, 公式, 智慧, 背离大智慧主图公式--顶底背离,融合了KDJ、MACD、RSI三个指标推荐大家一个大智慧主图公式,顶底背离。
本人感觉可以,融合了KDJ、MACD、RSI三个指标,大家可以参考一下。
用法如下:K线:{蓝-持币} {红-持股} {绿-洗盘} {白-买进} {黄-加码}M底:{MACD底背离} K底:{KDJ底背离} R底:{RSI底背离} M顶:{MACD顶背离} K顶:{KDJ顶背离} R顶:{RSI顶背离}公式如下,导入即可:Var1:=EMA(C,3);Var2:=EMA(C,5);Var3:=EMA(C,10);Var4:=EMA(C,20);Var5:=E MA(C,30);Var6:=(Var2+Var3+Var4+Var5)/4;Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;Var9:=EMA(Var7,8);STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COL ORBLUE;{蓝-持币}STICKLINE(Var7<1*REF(Var7,1),o,c,5,1),COLORBLUE;STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;{红-持股}STICKLINE(Var7>1*REF(Var7,1),o,c,5,1),COLORRED;STICKLINE(Var7<1*REF(Var7,1) ANDVar9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;{绿-洗盘}STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),o,c,5,1),COLORGREEN;买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;{白-买进}STICKLINE(买进条件,o,c,6,0),colorwhite,linethick2;加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;{黄-加码}STICKLINE(加码条件,o,c,6,0),coloryellow,linethick2;X1:EMA(C,7),color0088ff;X2:EMA(c,2 1),coloree00ee;X3:EMA(X2,21),colorwhite;x4:ema(x3,27),color009900;x5: ema(x2,100),colorFFAA00;x6:ema(x5,100),color009999;v1:ema(close,5);v2 :ema(ema(close,29)*1.01,10);DRAWICON(cross(v1,v2),v2,1);LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 逃 :if(CROSS(84,RSI) , HIGH,high+1),pointdot,linethick7,COLORYELLOW ;high+1,pointdot,linethi ck7,COLOR000000;DIFF:=EMA(CLOSE,12) -EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C ANDREF(DIFF,A1+1)<DIFF ANDCROSS(DIFF,DEA);DRAWICON(FILTER(B1>0,5),L*0.94,10);DRAWTEXT(FILTER(B1 >0,5),L*0.94,#39;M底'),COLORGREEN;{MACD底背离}A2:=BARSLAST(REF(CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3)),1));B2:= REF(C,A2+1)>C AND REF(\"KDJ.K\"(9,3,3),A2+1)<\"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3));DRAWICON(FILTER(B2>0,5),L*0. 96,10);DRAWTEXT(FILTER(B2>0,5),L*0.96,#39;K底'),COLORYELLOW;{KDJ底背离}A3:=BARSLAST(REF(CROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24)),1));B3:=REF(C,A3+1)>C ANDREF(\"RSI.RSI1\"(6,12,24),A3+1)<\"RSI.RSI1\"(6,12,24) ANDCROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24));DRAWICON(FILTER(B3 >0,5),L*0.98,10);DRAWTEXT(FILTER(B3>0,5),L*0.98,#39;R底'),COLORFFFF00;{RSI底背离}C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C ANDREF(DIFF,C1+1)>DIFF ANDCROSS(DEA,DIFF);DRAWICON(FILTER(D1>0,5),H*1.07,12);DRAWTEXT(FILTER(D1 >0,5),H*1.07,#39;M顶'),COLOR0066FF;{MACD顶背离}C2:=BARSLAST(REF(CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3)),1));D2:= REF(C,C2+1)<C AND REF(\"KDJ.K\"(9,3,3),C2+1)>\"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3));DRAWICON(FILTER(D2>0,5),H*1. 05,12);DRAWTEXT(FILTER(D2>0,5),H*1.05,#39;K顶'),COLORRED;{KDJ顶背离}C3:=BARSLAST(REF(CROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24) ),1));D3:=REF(C,C3+1)<C ANDREF(\"RSI.RSI1\"(6,12,24),C3+1)>\"RSI.RSI1\"(6,12,24) ANDCROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24));DRAWICON(FILTER(D3 >0,5),H*1.03,12),;DRAWTEXT(FILTER(D3>0,5),H*1.03,#39;R顶'),COLORFF00FF;{RSI顶背离}2.jpg (58 KB)下载次数:0 2007-10-15 02:38。
【股票指标公式下载】-【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)
【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)-指标公式源码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;【大智慧】趋势主图(持股、持币、卖线、买线、看色买卖)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】智能K线(买线、卖线)
【大智慧】智能K线(买线、卖线)-指标公式源码MA5:MA(CLOSE,5),ColorCCCCCC;MA10:MA(CLOSE,10),Color00BBBB;MA20:MA(CLOSE,20),Color00AA00;MA30:MA(CLOSE,30),Color990099;MA40:=MA(C,40);MA60:MA(CLOSE,60),Color000088;MA120:MA(CLOSE,120),Color777700;买线:=ZIG(3,10);卖线:=MA(买线,3);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);drawtext(bu,l*0.95,'真'),linethick2,align1,color00aaff;DRAWICON(bu,l*0.97,7),ALIGN1,VALIGN1;drawtext(sel,h*1.06,'真'),linethick2,align1,color00ff00; DRAWICON(sel,h*1.02,8),ALIGN1,VALIGN1;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;VL:=REF(LOW,1);VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;VAR14:=MA(VAR12,13);VAR15:=LLV(LOW,34);VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7, 1),5,1);VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*1 6.18-VAR110*10.9;T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20); DRAWTEXT(T,LOW-0.4,'黎明前的黑暗'),COLORMAGENTA,ALIGN2;bu:=cross(high,SAR(3,1,20));sel:=cross(SAR(3,1,20),low);var1:=last(high<SAR(3,1,20));var2:=last(low>sar(3,1,20));drawflagtext(bu,high,'买入'),color00aaff,linethick2;drawflagtext(sel,low,'卖出'),colorgreen,linethick2;drawflagtext(high<SAR(3,1,20) and high>=ref(high,1),high,'明日突破'+forcast(sar(3,1,20),max(var1,2))+'建议关注');drawflagtext(high<SAR(3,1,20) and high<ref(high,1),high,'持币观望'); drawflagtext(low>SAR(3,1,20) and low<=ref(low,1),low,'明日跌破'+forcast(sar(3,1,20),max(var2,2))+'注意止盈');VAR1:=(C+H+O+L)/4;卖出:EMA(VAR1,25)*1.12,COLORGREEN,LINETHICK1;买入:EMA(VAR1,25)*0.918,COLORMAGENTA,LINETHICK1;EMA34多空平衡:EMA(C,34),COLORWHITE;DRAWTEXTREL(5,970,'主营收入同比增长:'+NUMTOSTRN(FINANCE2(11),2)+'%'+' 净利润同比增长:'+NUMTOSTRN(FINANCE2(10),2)+'%'),COLORMAGENTA; DRAWTEXTREL(5,920,'总股本:'+NUMTOSTRn(FINANCE2(35),0)+'万股' +' 流通A 股:'+NUMTOSTRn(FINANCE2(37),0)+'万股'+' 每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)),COLOR00FF00;DRAWTEXTREL(5,870,'所属板块:'+BKNAME),Colorwhite;DRAWTEXTREL(780,38,'股市如战场,6份股本分批杀入,分批撤离,勿贪。
大智慧买入基础主图指标公式
大智慧买入基础主图指标公式VA:=EMA(C,2);VA1:=EMA(REF(C,3),5);J:=SUM(AMOUNT/100,2)/SUM(V,2);VOK:=IF(CROSS(VA,VA1),1,0);VOK1:=IF(REF(C,1)<REF(C,2) AND O>REF(C,1) AND L>REF(L,1) AND C>REF(C,1)OR REF(C,1)<REF(O,1) AND O>REF(C,1) AND L>REF(L,1) AND C>REF(C,1),1,0);VSJ1:=BARSLAST(VOK=1 OR VOK1=1);MMA2:SUM(AMOUNT/100,2)/SUM(VOL,2),COLORRED,LINE THICK0;ZS:IF(VOK=1 OR VOK1=1,L,REF(L,VSJ1)),COLORRED,LINETHICK3;多:EMA(C,3),COLORYELLOW;空:EMA(C,5),COLOR00FF00;均衡:EMA(空,5),COLORWHITE;中:HHV(MA(H,13),13),COLORGREEN,LINETHICK1;VAR4A:=(LOW+HIGH+CLOSE)/3;操作:MA(VAR4A,5),COLORRED,LINETHICK2;拉升:=HHV(操作,13);拉升买:HHV(操作,13)*1,COLORYELLOW,LINETHICK0;强弱分界:EMA(CLOSE,60),COLOR438200,LINETHICK3;F0:EMA(C,20),LINETHICK0;F1:=SMA(F0,3,1);F2:=SMA(F0,5,1);DRAWICON(F0>F2,F2,10);STICKLINE(拉升买,拉升买+0.05,拉升买,3,0),COLORGREEN,LINETHICK2;STICKLINE(操作=拉升买,操作,操作+0.05,3,0),COLORRED,LINETHICK3;STICKLINE(操作<拉升买,操作,拉升买,6,1),COLORGREEN;STICKLINE(中>拉升买,拉升,拉升+0.05,6,1),COLORGREEN;STICKLINE(拉升>REF(拉升,1),拉升,拉升*1.02,3,0),COLORYELLOW,LINETHICK4;STICKLINE(F0<F2,H,L,1,1),COLORGREEN;STICKLINE(F0<F2,O,C,6,1),COLORGREEN;STICKLINE(操作=拉升买AND C>拉升买,操作,ZS,3,0),COLORRED,LINETHICK1;买入基础:=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1);VAR1:=EMA(INDEXC,5);VAR2:=EMA(INDEXC,10);VAR3:=EMA(INDEXC,20);VAR4:=VAR1>=REF(VAR1,1) AND 买入基础;VAR5:=VAR2>=REF(VAR2,1) AND 买入基础;VAR6:=VAR3>=REF(VAR3,1) AND 买入基础;VAR7:=EMA(INDEXV,5);VAR8:=EMA(INDEXV,10);VAR9:=EMA(INDEXV,20);VAR10:=VAR7>=REF(VAR7,1) AND 买入基础;VAR11:=VAR8>=REF(VAR8,1) AND 买入基础;VAR12:=VAR9>=REF(VAR9,1) AND 买入基础;GG:=ABS(O/F0-1);STICKLINE(VAR4 AND VAR5 AND VAR6 AND VAR10 AND VAR11 AND VAR12 AND 买入基础AND GG<0.05 AND 操作>REF(操作,1),操作,操作*1.03,6,0),COLORRED,LINETHICK1;。
【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)
【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式源码DRAWGBKLAST(1,STRIP(RgB(10,10,50),RGB(50,10,10),0)); MA3:MA(CLOSE,3); MA4:MA(CLOSE,4); MA5:MA(C,5),colorwhite;MA10:MA(C,10),COLORYELLOW; 警报:=CROSS(MA4,MA3);DRAWTEXT(警报,H*1.05,'↓'),LINETHICK6,ALIGN1,COLORFFFFFF;安全:=CROSS(MA3,MA4);DRAWTEXT(安全,L*0.95,'↑'),LINETHICK6,ALIGN1,colorRED; SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);{17}x9:FORCAST(c,9),Colorwhite,LINETHICK2;llx:=llv(FORCAST(c,9),2);PARTLINE(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0)),linethick3; MA21:MA(C,21),LINETHICK1,COLORE66878;VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);DRAWTEXTABS(15,71,'明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),COLOR0000FF;DRAWTEXTABS(15,90,'明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),COLORffff00;HHVALL(HIGH)*1.1,COLOR000000;LLVALL(LOW)*0.9,COLOR000000;{预测当天最低价公式}A1:=REF(O,1);A2:=ABS((REF(C,1)-A1)/A1);A3:=ABS((REF(H,1)-A1)/A1);A4:=ABS((REF(L,1)-A1)/A1);B1:=ABS((A2+A3+A4)/3);B2:=O*B1;今日最高:=O+B2;预测低一:O-B2,linethick0;{预测当天收盘价公式}开盘价1:=open;开盘价2:=REF(open,1);最高价1:=high;最高价2:=REF(high,1);最低价1:=low;最低价2:=REF(low,1);收盘价1:=CLOSE;收盘价2:=REF(CLOSE,1);AA:=最高价2;BB:=最低价2;CC:=开盘价2;DD:=收盘价2;EE:=(AA+BB+CC+2*DD)/5;AAA:=EE+(AA-BB);BBB:=2*EE-BB;CCC:=2*EE-AA;DDD:=EE-(AA-BB);上升突破价:=AAA;上升阻力价:=BBB;下跌支撑价:=CCC;下跌反转价:=DDD;EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;心理价:=EEE;FFF:=(EEE+开盘价1)/2;GGG:=(预测低一+FFF)/2;预测低二:GGG,colorffffff,LINETHICK0;高:=今日最高;收:=FFF;DRAWTEXTABS(15,35,'预测低一: '+NUMTOSTRN(预测低一,2)+'元'),COLORWHITE ,linethick1;DRAWTEXTABS(15,53,'预测低二: '+NUMTOSTRN(预测低二,2)+'元'),COLORWHITE ,linethick1;a:="[email=LTFunc5@FORLT2]LTFunc5@FORLT2[/email]";s1:="[email=LTFunc5@LT_S1]LTFunc5@LT_S1[/email]";p1:="[email=LTFunc5@LT_P1]LTFunc5@LT_P1[/email]";drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0; drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1 and ref(s1,1)=0 and(p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and(p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;{一品资料说明}WW:=BARSLAST(DISPSTATUS=1);低涨:(C/LLV(LOW,WW)-1)*100,COLOR0000FF,LINETHICK0,PRECIS2;天:BARSLAST(L=LLV(LOW,WW)),COLOR00FFFF,LINETHICK0,PRECIS0; DRAWTEXTABS(210,15,'◇低点至今上涨:'+NUMTOSTRN(低涨,2)+'%'+NUMTOSTRN(天,0)+'天'),COLOR0000FF;DRAWTEXTABS(210,32,'◇目前可见K线:'+NUMTOSTRN(WW+1,0)+'天'),COLORYELLOW;DRAWTEXTABS(15,15,'预测今日最高价: '+NUMTOSTRN(ref(今日最高,0),2)+'元'),COLORF00FF0,linethick1;DRAWTEXTREL(680,950,'预测今日收盘价: '+NUMTOSTRN(ref(FFF,0),2)+'元'),COLORF00FF0,linethick1;{43}DRAWGBK(c,'7' );Var3:=LLV(H,240);Var4:=100*(C-Var3)/Var3;Var5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;Var6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;{Var7:=0;}Var8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;Var9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;VarA:=BARSCOUNT(C);VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA(C,21)-EMA(C,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE);Var10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);Var13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A);Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);Var1D:=SQRT(SQRT(L*H*O*C));Var1E:=EMA(Var1D*0.97,3);Var1F:=(H+L+C)/3;Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));Var21:=CROSS(Var1E,L);买点1:=Var10;买点2:=(Var11+Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);Var22:=买点1 AND VarF AND VarC AND Var21 AND Var4<0AND Var5=0 AND Var6=0 AND Var20<(-110);DRAWTEXT(买点1>0,L-0.15,'B'),LINETHICK4,ALIGN1,colorred;{B} DRAWTEXT(买点2>0,L-0.25,{'B'}'买'),LINETHICK2,ALIGN1,COLOR00FFFF;{B} DRAWTEXT(卖点1>0,H+0.95,{'S'}'卖'),LINETHICK2,ALIGN1,COLOR33FF33;{S}闪:EMA(c+(h-l)*0.618,3),Color0099FF,LINETHICK0;进:EMA((o+h+l)/3,4),COLORCYAN,LINETHICK0;预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4; DRAWTEXTREL(250,0,' ◇测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),ColorGREEN,linethick1;预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618; DRAWTEXTREL(15,0,'♂测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),Colorred,linethick1;{预测明日涨跌}C1:=REF(CLOSE,1);C2:=HHV(C1,2);C3:=LLV(C1,1);ET:=HHV(C1,2);ET1:=REF(ET,1);XB:=LLV(C1,1);XB1:=REF(XB,1);M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1)));M11:=REF(M,1);N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1)));N1:=REF(N9,1);M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1);N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1);ET2:=HHV(ET,M21);XB2:=LLV(XB,N2);A:=IF((((M - N9) > 0) AND (M11 <= N1)),1,IF((((N9 - M) > 0) AND (N1 <= M11)),0,2));H1:=IF(((M - N9) > 0),CLOSE,ET2);H2:=IF((A = 1),CLOSE,C2);H3:=IF(((M - N9) < 0),CLOSE,XB2);H4:=IF((A = 1),CLOSE,XB2);H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3);H6:=REF(H5,1);H7:=REF(H5,2);H8:=(H5 > H6);H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10);T9:=((H5 < H6) AND (H5 < REF(H5,2)));T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2)));T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1)));T12:=((H5 = REF(H5,1)) AND (H3 = H4));T13:=((H2 = REF(H2,1)) AND (H2 = H5));TW:=((((T9 OR T10) OR T11) OR T12) OR T13);PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); DRAWTEXT(((DISPSTATUS=2 AND W) AND (BBP < 96.5)),(H5 * 1.022),' 明日看涨'),MOVE1,colorFF00ff;DRAWTEXT(((DISPSTATUS=2 AND TW) AND (BBP > 1)),((H5 + H4) / 2),' 明日看跌'),MOVE0,colorffFF00;{支撑压力}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;下档线:=(((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)))){,LINET HICK2,COLORFFFFFF};底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF; DRAWTEXT(BARSTATUS=2 ,撑压位,' 撑压'),COLORFFFFFF,VALIGN1; STICKLINE(BARSTATUS=2 ,底,底,30,1),COLOR00FF00,LINETHICK1;【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】买卖成交(主动买盘、主动卖盘、买卖比)
【大智慧】买卖成交(主动买盘、主动卖盘、买卖比)-指标公式源码量5:MA(VOL,5),colorred;量10:MA(VOL,10);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交:VOL,ColorCD52FF,linethick0;主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLO SE-LOW)),VOL/2)),Color0000FF,STICK;主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(H IGH-LOW),VOL/2)),Color00E521,STICK;买卖比:主动买盘/主动卖盘;WJ:=(HIGH+LOW+CLOSE)/3;VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);VD6:=(VD1*VD5);VD7:=(VD2*VD5);VD8:=(VD3*VD5);VD9:=(VD4*VD5);买入量:=(VD9+VD8);卖出量:=(VD6+VD7);买入资金:=买入量*close/100;卖出资金:=卖出量*close/100;资金进出:=买入资金-卖出资金;买卖资金比:=买入资金/卖出资金;挂单买盘:=MA(主动买盘,3);挂单卖盘:=(MA(主动卖盘,3));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;DRAWTEXTABS(1,1,'【买卖盘解量(手)】');DRAWTEXTABS(1,30,'┃当日买卖量='+NUMTOSTR(VOL)),ColorFF00FF; DRAWTEXTABS(1,60,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00; DRAWTEXTABS(1,90,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow; DRAWTEXTABS(1,120,'┃当日买卖比='+NUMTOSTR(买卖比)),ColorFF00FF; DRAWTEXTABS(250,30,'┃买入资金累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;DRAWTEXTABS(250,60,'┃卖出资金累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;DRAWTEXTABS(250,90,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;DRAWTEXTABS(250,120,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;DRAWTEXTABS(1,150,'┃当日挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1;DRAWTEXTABS(250,500,'┃当日挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;【大智慧】买卖成交(主动买盘、主动卖盘、买卖比)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【大智慧】骑黑马(下轨道、阻挡、减仓、短期底部、均线)
【大智慧】骑黑马(下轨道、阻挡、减仓、短期底部、均线)-指标公式源码DRAWGBKLAST(v>0,STRIP(RGB(0,150,130),RGB(0,0,0),1));上:=(SMA(HIGH,21,2) * 1.05);DRAWTEXT(FILTER(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)),5),(HIGH + 0.05),'减仓'),COLORFFFFFF; 下轨道:(SMA(LOW,21,2) * 0.969),POINTDOT,COLOR00FFFF;BMA:=MA(CLOSE,118);阻挡:=(SMA(HIGH,21,2) * 1.05);RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100); K12:=SMA(RSV12,3,1);D12:=SMA(K12,3,1);J12:=((3 * K12) - (2 * D12));RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=((3 * K24) - (2 * D24));支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),COLOR00FF00 ;U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);RH1:=IF(((J < U2L) AND (REF(J,1) >=U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J <J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));RL1:=IF(((J > L2L) AND (REF(J,1) <= L2L)),LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),BARSLAST(((J > L2L) AND REF(J,1))))); RL4:=IF((LOW < RL1),HIGH,REF(HIGH,BARSLAST((LOW < RL1))));RL42:=IF((LOW < RL1),J,REF(J,BARSLAST((LOW < RL1))));RL5:=IF((((LOW < RL4) AND (J > RL42)) AND (J >J24)),LOW,REF(LOW,BARSLAST((((LOW < RL4) AND (J > RL42)) AND (J >J24)))));CB:=((AMOUNT / VOL) / 100);CD:=((CB > HIGH) OR (CB < LOW));黑马趋势:=MA(CLOSE,3);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,12),COLOR0000FF;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),(LOW - 0.07),'追击'),COLORD1E768;STICKLINE((((AA12 <= AA10) AND (BB12 >= 1)) AND (BB10 >=1)),AA10,AA12,4,0),COLOR0000FF;STICKLINE((((AA12 >= AA10) AND (BB10 <= 1)) AND (BB10 <=1)),AA10,AA12,4,0),COLOR00FF00;VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);支撑:=EMA(VARD,5);短期底部:=LLV(OPEN,30);DRAWTEXT(((((((CROSS(黑马趋势,短期底部) AND ((RL5 - REF(RL5,1)) > 0)) AND ((黑马趋势 - REF(黑马趋势,1)) > 0)) AND (黑马趋势 > 1)) AND (LOW <= 支撑位)) AND (CLOSE > 支撑位)) AND (HIGH < 压力位)),(LOW - 0.15),'黑马发现'),COLOR00FFFF;DRAWTEXT((((((((CROSS(黑马趋势,RL5) AND ((黑马趋势 - REF(黑马趋势,1)) > 0)) AND (HIGH < 压力位)) AND (LOW <= 短期底部)) AND (CLOSE > 支撑位)) AND (CD < 1)) AND (CLOSE > OPEN)) AND (CLOSE > RL5)),LOW,'短买'),COLOR00FF00; DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND ((CLOSE - REF(CLOSE,1)) > CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) > 0)) AND (WINNER(CLOSE) < 0.05)) AND (短期底部 = RL5)) AND (LOW <= RL5)) AND (HIGH < 压力位)),3),LOW,'机会难得'),COLORFFFFFF;历史大底:DRAWTEXT(FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) < 0.08)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)) AND (J < 80)) AND ((CLOSE / OPEN) > 1.08)),20),(LOW - 0.45),'历史大底');DRAWTEXT(FILTER(((((((((LOW <= 短期底部) AND (CLOSE > 压力位)) AND ((AA5 - REF(AA5,1)) > 0)) AND (J < 80)) AND (CLOSE > 支撑位)) AND ((黑马趋势- REF(黑马趋势,1)) > 0)) AND (WINNER(CLOSE) < 0.1)) AND (CLOSE > OPEN)),5),(LOW - 0.15),'黑马登天'),COLORCDEEC5;X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X2:=EMA(X1,10);X3:=REF(X2,1);X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X6:=REF(CLOSE,1);X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100); X8:=CROSS(79,X7);X9:=FILTER(X8,4);MAP1:=MA(CLOSE,60);均线30:=MA(CLOSE,30);均线89:=MA(CLOSE,89);均线:=MA(CLOSE,16);均线34:=MA(CLOSE,34);均线55:=MA(CLOSE,55);VAR1:=EMA(CLOSE,8);VAR2:=EMA(VAR1,20);VAR3:=CROSS(VAR1,VAR2);VAR4:=(VAR1 < MA(CLOSE,60));VAR5:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100); VAR6:=SMA(VAR5,5,1);VAR7:=SMA(VAR6,8,1);VAR8:=(CROSS(VAR6,VAR7) AND (VAR7 < 16));VAR9:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8); VARA:=IF((CLOSE > 1000),VAR8,VAR9);黑马起步:=(VAR3 AND VAR4);逃遁:=VARA;均线20:=MA(CLOSE,20);均线120:=MA(CLOSE,120);牛熊线:=MA(CLOSE,250);VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));VB:=(MA(CLOSE,20) > MA(CLOSE,120));VC:=CROSS(MA(CLOSE,120),MA(CLOSE,89));VD:=(MA(CLOSE,20) < MA(CLOSE,120));VE:=CROSS(MA(CLOSE,20),MA(CLOSE,250));VF:=(MA(CLOSE,20) > MA(CLOSE,250));VG:=CROSS(MA(CLOSE,250),MA(CLOSE,20));{DRAWTEXT(FILTER(((((((((OPEN > 均线120) AND (均线20 < 均线120)) AND (LOW <= 均线120)) AND ((均线20 - REF(均线20,1)) > 0)) AND (CLOSE > OPEN)) AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= 均线120)),15),LOW,'120跳马'),COLOR0089E0;DRAWTEXT((((VA AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE > OPEN)),LOW,'宝马望月'),COLORFFFFFF;}DRAWTEXT((((((均线 - REF(均线,1)) > 0) AND CROSS(均线20,均线120)) AND (LOW <= 均线120)) AND (CLOSE >= 均线120)),LOW,'三线开花'),COLORFFFFFF; 短期底部2:LLV(HIGH,30),LINETHICK2,COLOR0000FF;上轨:(SMA(HIGH,21,2) * 1.092),POINTDOT,COLORFFFFFF;中轨道:(SMA(HIGH,21,2) * 1.017),POINTDOT,COLORFFFFFF;DRAWTEXT(FILTER(((((LOW < 下轨道) AND (CLOSE > MA(CLOSE,15))) AND (CLOSE > 短期底部2)) AND (HIGH < 压力位)),10),LOW,'短线5%'),COLOR9DC522;DRAWTEXT(((((((HIGH >= 均线120) AND (CLOSE < REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)) AND (CLOSE < 均线120)),(HIGH + 0.05),'减仓'),COLOR00FF00;DRAWTEXT(FILTER(((HIGH > 阻挡) AND (CLOSE < 阻挡)),5),(HIGH + 0.15),'逃命');DRAWTEXT(((VE > VG) AND (HIGH < 阻挡)),(LOW - 0.65),'黑马短线'),COLOR00FFFF;DRAWTEXT(FILTER(((((((((((OPEN < X2) AND (CLOSE > X2)) AND ((支撑 - REF(支撑,1)) > 0)) AND ((支撑 - REF(支撑,1)) > 0)) AND (CLOSE < 阻挡)) AND ((均线 - REF(均线,1)) > 0)) AND (CLOSE >= 均线)) AND (HIGH < 阻挡)) AND ((AA10 - REF(AA10,1)) > 0)) AND ((阻挡 - REF(阻挡,2)) > 0)),11),(LOW - 0.11),'快马加鞭'),COLOR0000FF;DRAWTEXT(FILTER(((((((OPEN < X2) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE > X2)) AND ((X2 - REF(X2,1)) > 0)) AND (HIGH < 阻挡)) AND ((CLOSE -REF(CLOSE,1)) > 0.35)),4),(LOW - 0.05),'黑马狂奔'),COLORD18073; DRAWTEXT((((((((CROSS(支撑,均线) AND (HIGH < 中轨道)) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= X2)) AND (CLOSE >= X2)) AND CROSS(支撑,X2)),LOW,'黑马起步'),COLOR00FFFF; DRAWTEXT(CROSS(X4,X5),HIGH,'减仓'),COLOR00B4FF;DRAWTEXT(X9,(HIGH * 1.03),'出货'),COLOR9000F5;DRAWTEXT((((黑马起步 > 0) AND (LOW <= X2)) AND ((均线 - REF(均线,1)) > 0)),(LOW - 0.11),'黑马起步'),COLOR00FF00;DRAWTEXT((逃遁 > 0),(HIGH * 1.14),'逃命'),COLOR0000FF;RDV:=SMA(LOW,8,1);DRAWTEXT(((((CROSS(K,D) AND (CLOSE >= OPEN)) AND ((X2 - REF(X2,1)) > 0)) AND ((RDV - REF(RDV,1)) > 0)) AND (K <= 33)),(LOW - 0.08),'黑马初现'),COLOR8500DE;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 牛熊线)) AND (HIGH < 阻挡)) AND ((X2 - REF(X2,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH >= X3)),5),(LOW - 0.03),'黑马筑底'),COLOR85B256;RCK:=(SMA(LOW,21,2) * 0.95);趋势线:=SMA(LOW,5,1);大胆买入:DRAWTEXT(((CROSS(趋势线,RCK) AND (LOW <= X2)) AND ((X2 -REF(X2,1)) > 0)),LOW,'大胆买入'),COLORE50000;B1:=(((HIGH + LOW) + CLOSE) / 3);B6:=HHV(B1,(4 * 15));B7:=LLV(B1,(4 * 15));B8:=(B6 - B7);飞龙顶底线:=(MA(((B1 - B7) / B8),2) * 80);DRAWTEXT(FILTER(((((((飞龙顶底线 <= 1) AND (WINNER(CLOSE) < 0.02)) AND (HIGH < 趋势线)) AND (CLOSE > OPEN)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)),8),(LOW - 0.02),'黑马寻底'),COLORE7DD1F;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND (WINNER(CLOSE) < 0.015)) AND ((OPEN / CLOSE) > 0.99)) AND ((J - REF(J,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH < 支撑位)) AND (CLOSE > 短期底部)),25),(LOW - 0.09),'开始建仓'),COLOR00FFFF;DRAWTEXT(FILTER((((((((LOW <= 均线30) AND ((AA10 - REF(AA10,1)) > 0)) AND ((均线 - REF(均线20,1)) > 0)) AND ((趋势线 - REF(趋势线,1)) > 0)) AND (CLOSE >= 均线30)) AND (WINNER(CLOSE) < 0.15)) AND ((CLOSE / OPEN) > 1.01)),3),LOW,'天马奔月'),COLOR76B0FC;DRAWTEXT((((((OPEN <= 均线) AND ((均线30 - REF(均线30,1)) > 0)) AND (CLOSE > 均线89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)),LOW,'天马过桥'),COLORCC99FF;【大智慧】骑黑马(下轨道、阻挡、减仓、短期底部、均线)-指标公式效果图(文档来源:若水财经社区)。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【大智慧】黑马买卖(加仓、背离、钱龙、趋势)-指标公式源码R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);K:=EMA(R,3);D:=EMA(K,3);一年十二倍:=20;VAR1:=((-((100)*(HHV(HIGH,14) - CLOSE))/(HHV(HIGH,14) - LLV(LOW,14)))); VAR1A:=((-((100)*(HHV(HIGH,14) - CLOSE))/(HHV(HIGH,14) - LLV(LOW,14))) + 100);线:=(FORCAST(VAR1A,7));进一:0;狂喜:=(30)*(CROSS(VAR1,(-2)));STICKLINE(狂喜,0,20,3,1),colorRED;DRAWTEXT(狂喜,(5),'要涨停'),coloryellow;狂喜过望:=(50)*((VAR1 = 1));恐慌:=(20)*(VAR1 <-94);STICKLINE(恐慌,0,(20),4,1),ColorGREEN;DRAWTEXT(恐慌,(25),'恐慌'),ColorGREEN;极度恐慌:=(20)*(VAR1=(-100));STICKLINE(极度恐慌,0,(-20),5,0),ColorWHITE;DRAWTEXT(极度恐慌,(-13),'极度恐慌'),Color00FF00;加仓:=(30)*(CROSS(K,20) and (COUNT(极度恐慌,5) > 0));STICKLINE(加仓,0,20,6,1),ColorRED;DRAWTEXT(加仓,25,'加仓'),ColorRED;背离:=(COUNT(恐慌,2) > 0) and (CLOSE < REF(CLOSE,1)) and (VAR1 >REF(VAR1,1));DRAWICON(背离,0,1),ColorGRAY;drawtext(背离,-7,'(买)'),color00FFFF;DRAWICON(FILTER(CROSS(-"W&R.wr1"(14,14),(0 - 81)),10),0.1,1); WWWDE16:=(OPEN > WMA(CLOSE,233));VAR51:=(3)*(SMA(((CLOSE - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1));VAR62:=(3)*(SMA(((OPEN - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR75:=VAR62 - 100;VAR89:=VAR51 - 100;VAR886:=IF((YEAR >= 2308) and (MONTH >= 1),0,1);VAR557:=(3)*(SMA(((CLOSE - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR666:=(3)*(SMA(((OPEN - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR747:=VAR62 - 100;VAR855:=VAR51 - 100;财富股池:=(OPEN > WMA(CLOSE,233));WWWDE163:=(OPEN > WMA(CLOSE,233));VAR5:=(3)*(SMA(((CLOSE - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR6:=(3)*(SMA(((OPEN - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR7:=VAR6 - 100;VAR8:=VAR5 - 100;VAR88:=IF((YEAR >= 2308) and (MONTH >= 1),0,1);VAR55:=(3)*(SMA(((CLOSE - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR66:=(3)*(SMA(((OPEN - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR74:=VAR6 - 100;VAR85:=VAR5 - 100;RSV:=(((CLOSE - LLV(LOW,21))/(HHV(HIGH,21) -LLV(LOW,21)))*(100))*(VAR88);趋势:(MA((3)*(SMA(RSV,6,1)) -(2)*(SMA(SMA(RSV,5,1),5,1)),2))*(VAR88),Linethick2,coloryellow; VAR1:=(3)*(SMA(((CLOSE - LLV(LOW,89))/(HHV(HIGH,89) -LLV(LOW,89)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1),15,1));VAR2:=(3)*(SMA(((OPEN - LLV(LOW,89))/(HHV(HIGH,89) -LLV(LOW,89)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1),15,1));VAR3:=VAR2 - 100;VAR4:=VAR1 - 100;背离:(FORCAST(((-1))*(VAR3),21))*(VAR88),Linethick2,Color9933FF;晓柔:DRAWTEXT((CROSS(趋势,背离))*(VAR88),背离,'黑马'),colorred; RSV1:=((CLOSE - LLV(LOW,21))/(HHV(HIGH,21) - LLV(LOW,21)))*(100);中期:=SMA(RSV1,21,1);DE163:=SMA(中期,21,1);短期:=(3)*(中期) - (2)*(DE163);钱龙:DRAWTEXT((CROSS(背离,趋势))*(VAR88),背离,'●'),Color00FF00;晓柔2:DRAWTEXT(((趋势)/(背离) > (8)*(VAR88)) and (背离 < 10) and (趋势 > 80),(趋势)*(1.120000004768),'跑'),Color00FF00;RSV11:=((CLOSE - LLV(LOW,21))/(HHV(HIGH,21) - LLV(LOW,21)))*(100); 中1期:=SMA(RSV1,21,1);DE16:=SMA(中1期,21,1);短1:=(3)*(中1期) - (2)*(DE163);钱龙2:DRAWTEXT((背离 < (5)*(VAR88)) and (趋势 > (60)*(VAR88)),(趋势)*(1.120000004768),'跑'),Color00FF00;黑马跟踪天数:(BARSLAST((趋势 < 背离)))*(VAR88),colorred;VAR500:=(3)*(SMA(((CLOSE - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR600:=(3)*(SMA(((OPEN - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR700:=VAR600 - 100;VAR800:=VAR500 - 100;主力控盘:(CYW)*(VAR88),ColorStick,coloryellow;(CYW)*(VAR88),ColorStick,coloryellow;DE13:=(OPEN > WMA(CLOSE,233));VAR50:=(3)*(SMA(((CLOSE - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR60:=(3)*(SMA(((OPEN - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR70:=VAR60 - 100;VAR80:=VAR50 - 100;VAR880:=IF((YEAR >= 2308) and (MONTH >= 1),0,1);VAR550:=(3)*(SMA(((CLOSE - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR660:=(3)*(SMA(((OPEN - LLV(LOW,144))/(HHV(HIGH,144) -LLV(LOW,144)))*(100),20,1)) - (2)*(SMA(SMA(((OPEN -LLV(LOW,144))/(HHV(HIGH,144) - LLV(LOW,144)))*(100),20,1),15,1)); VAR740:=VAR60 - 100;VAR850:=VAR50 - 100;【大智慧】黑马买卖(加仓、背离、钱龙、趋势)-指标公式效果图(文档来源:若水财经社区)。