{天下无双主图源码如下}
{AND BBIAS3<-14 AND SJ<10 AND SD<10}
{AND (C-REF(C,15))/REF(C,15)*100<20 }{15日涨幅<20%}
{AND NOT (C-REF(C,60))/REF(C,60)*100<20}{去除60日涨幅<20%}
{REF(C<0.9*REF(C,5),5)};{5日总跌幅>10%}
总换手:=VOL*10000/FINANCE(7),NODRAW;
上影:=(H/MAX(O,C)-1)*100;
下影:=(MIN(C,O)/L-1)*100;
SRSV:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
SK:=SMA(SRSV,8,1);
SD:=SMA(SK,8,1);
SJ:=3*SK-2*SD;
BBIAS1:=(C-MA(C,7))/MA(C,7)*100;
BBIAS2:=(C-MA(C,14))/MA(C,14)*100;
BBIAS3:=(C-MA(C,28))/MA(C,28)*100;
BBIAS4:=(C-MA(C,55))/MA(C,55)*100;
BBIAS5:=(C-MA(C,89))/MA(C,89)*100;
BBIAS6:=(C-MA(C,166))/MA(C,166)*100;
SKRSV:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
SKK:=SMA(SKRSV,8,1);
SKD:=SMA(SKK,13,1);
SKJ:=3*SKK-2*SKD;
PRSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
PK:=SMA(PRSV,9,1),COLORGREEN;
PD:=SMA(PK,9,1),COLORFFFFFF;
快速J:=3*PK-2*PD,COLOR633333;
{AND BBIAS3<-14 AND SJ<10 AND SD<10}
{AND BBIAS3>21 AND SJ>90 AND SD>72}
{AND (C-REF(C,15))/REF(C,15)*100<20 }{15日涨幅<20%}
{AND NOT (C-REF(C,60))/REF(C,60)*100<20}{去除60日涨幅<20%}
{REF(C<0.9*REF(C,5),5)};{5日总跌幅>10%}
一日换手率%:= SUM(V/CAPITAL*100,1),COLORFF99FF;
五日换手率%:= SUM(V/CAPITAL*100,5),COLORFF66FF;
十日换手率%:= SUM(V/CAPITAL*100,10),COLORFF33FF;
二十日换手率%:=SUM(V/CAPITAL*100,20),COLORFF00FF;
六十日换手率%:=SUM(V/CAPITAL*100,60),COLORFF4499;
去次新股:=FINANCE(42)>120;{AND 去次新股}
ZTTJ:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)=4,0.2,0.1)));
月涨停:=FINANCE(42)>89 AND COUNT(ZTTJ,45)>=3;
AE:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
低位首板:=FILTER(AE,28) AND((C-REF(C,4))/REF(C,4)*100>2 OR SD<21);
天下无双:=(CLOSE/REF(CLOSE,1)>1.068 OR EVERY(C>O,9)OR H=HHV(H,34)) AND (HSL<10 OR SD<18) AND COUNT(ZTTJ,34)<2 AND H=HHV(H,4)AND C>O AND 上影<0.81 AND (((C-REF(C,60))/REF(C,60)*100>-5 AND(C-REF(C,89))/REF(C,89)*100>-5 AND(C-REF(C,260))/REF(C,260)*100>-20)OR (C-REF(C,1))/REF(C,1)*100>7.8 OR EVERY(C>O,9)) AND (((C-REF(C,4))/REF(C,4)*100>2 AND(C-REF(C,8))/REF(C,8)*100>0 AND (C-REF(C,9))/REF(C,9)*100>0) OR EVERY(C>O,6))AND ((C-REF(C,1))/REF(C,1)*100>4 OR EVERY(C>O,6)) AND (C-REF(C,34))/REF(C,34)*100<25 AND (C-REF(C,60))/REF(C,60)*100<25 AND (C-REF(C,89))/REF(C,89)*100<30 AND (C-REF(C,180))/REF(C,180)*100<35 AND (C-REF(C,89))/REF(C,89)*100<25 AND (C-REF(C,250))/REF(C,250)*100<50;
天下第一:=(CLOSE/REF(CLOSE,1)>1.068 OR EVERY(C>O,9)) OR 低位首板 AND 上影<0.81 AND SD<63 AND (HSL<13 OR COUNT(ZTTJ,55)<2) AND COUNT(ZTTJ,34)<2 AND H=HHV(H,3) AND H=HHV(H,4)OR (低位首板 AND SD<54 )AND C>O AND (C-REF(C,89))/REF(C,89)*100<30 AND (C-REF(C,180))/REF(C,180)*100<35 AND (C-REF(C,89))/REF(C,89)*100<25 AND (C-REF(C,250))/REF(C,250)*100<50 OR 天下无双 AND (HSL<7 OR (C-REF(C,1))/REF(C,1)*100>8.1 OR (C-REF(C,7))/REF(C,7)*100>0)AND (C-REF(C,2))/REF(C,2)*100>0 AND(HSL<10 OR SD<18 OR SJ<13)AND HSL>0.81;
限制H:=(EVERY(C>O,4) OR ((C-REF(C,1))/REF(C,1)*100>6.8 AND 上影<0.34))AND (EVERY(C>O,7) OR (C-REF(C,1))/REF(C,1)*100>2.1)AND (C-REF(C,180))/REF(C,180)*100<40 AND SD<63 AND SJ<72 AND(EVERY(C>O,3)OR SD<45)AND (EVERY(C>O,6) OR (C-REF(C,1))/REF(C,1)*100>3)AND (EVERY(C>O,5) OR ((C-REF(C,1))/REF(C,1)*100>4.5 AND 上影<0.34)OR ((C-REF(C,1))/REF(C,1)*100>6.8 AND 上影<0.81))AND H=HHV(H,3) AND H=HHV(H,21)AND SD<63 AND (C-REF(C,89))/REF(C,89)*100<30 AND (C-REF(C,180))/REF(C,180)*100<35 AND 上影<1.3;
神龙:=((((C-REF(C,1))/REF(C,1)*100>6.8 AND 上影<1.3)OR((C-REF(C,1))/REF(C,1)*100>5.4 AND (C-REF(C,4))/REF(C,4)*100>3 AND 上影<0.81)OR (H=HHV(H,34)AND (C-REF(C,1))/REF(C,1)*100>4.5 AND SD<54) OR EVERY(C>O,8))AND (SD<34 OR (SD<54 AND SJ<54)) AND (C-REF(C,3))/REF(C,3)*100>0)AND(SD<21 OR(C-REF(C,4))/REF(C,4)*100>2)AND (C-REF(C,4))/REF(C,4)*100<18 AND (C-REF(C,5))/REF(C,5)*100<25 AND (C-REF(C,6))/REF(C,6)*100<18 AND ((C-REF(C,13))/REF(C,13)*100<13 OR (C-REF(C,1))/REF(C,1)*100>6.8)AND (C-REF(C,89))/REF(C,89)*100<30 AND (C-REF(C,144))/REF(C,144)*100<35 AND (C-REF(C,180))/REF(C,180)*100<35 AND (C-REF(C,250))/REF(C,250)*100<60 AND(HSL<10 OR SD<18 OR SJ<13)AND C>O AND COUNT(ZTTJ,18)<=2 AND H=HHV(H,3) AND HSL>0.81 OR
天下第一 AND (EVERY(C>O,4) OR 上影<1.3)AND 上影<2.5;
{MACD}
RC:=DYNAINFO(3)*1.1;
DK:="MACD.MACD"(55,144,21)*2;
控盘:=DK;
{STICKLINE(控盘<0 AND SD>=18,控盘+RC,RC,1,1),COLORLIBLUE;
STICKLINE(控盘<0 AND SD<18,控盘+RC,RC,1,1),COLORWHITE;
STICKLINE(SKJ>=63 AND 控盘>0,控盘+RC,RC,1,1),COLORRED;
STICKLINE(SKJ<63 AND 控盘>0,控盘+RC,RC,1,1),COLORF99999;}
{超跌反弹原码}{加在主图即可}
KS:=(C-MA(C,13))/MA(C,13)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02;
超跌:STICKLINE(KS>=8 AND SD<34 AND BBIAS4<-18 OR BBIAS4<-25,H,L,1,1),COLORWHITE,LINETHICK1;
STICKLINE(KS>=8 AND SD<34 AND BBIAS4<-18 OR BBIAS4<-25,O,C,7,1),COLORWHITE,LINETHICK1;
反弹:STICKLINE(MLS=1 AND (C-REF(C,2))/REF(C,2)*100>1 AND SD<13 AND BBIAS4<-25 OR BBIAS4<-30,H,L,1,1),COLORMAGENTA,LINETHICK1;
STICKLINE(MLS=1 AND (C-REF(C,2))/REF(C,2)*100>1 AND SD<13 AND BBIAS4<-25 OR BBIAS4<-30,O,C,7,1),COLORMAGENTA,LINETHICK1;
{主图显示}
所属板块:=STRCAT(' ',STRCAT(STRCAT(STRCAT('【行业】 ',HYBLOCK),STRCAT(' 【地域】 ',DYBLOCK)),STRCAT(' 【概念】 ',GNBLOCK)));
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');
全流通:=STRCAT(' 流通比例(%): ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000)*100,2));
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');
股本市值:=STRCAT(' ',STRCAT(STRCAT(STRCAT(总股本, 流通盘), 全流通), 市值));
{业绩}
净资收益率:=STRCAT('净资收益率(%): ',CON2STR(FINANCE(29)/FINANCE(19)*100,2));
毛利率:=STRCAT(' 毛利率(%): ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
主营利润率:=STRCAT(' 主营利润率(%) ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
财务业绩:=STRCAT(' ',STRCAT(STRCAT(净资收益率,毛利率),主营利润率));
DRAWTEXT_FIX(ISLASTBAR,0.001,0.06,0,所属板块),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.001,0.12,0,股本市值),COLORFF66FF;
DRAWTEXT_FIX(ISLASTBAR,0.001,0.18,0,财务业绩),COLORDDBBBB;
ZT:=C=ZTPRICE(REF(C,1),0.1) AND C=H;
ZT1:=C=ZTPRICE(REF(C,1),0.2) AND C=H;
DT:=C=DTPRICE(REF(C,1),0.1) AND C=L;
DT1:=C=DTPRICE(REF(C,1),0.2) AND C=L;
STICKLINE(DT OR DT1 OR(C-REF(C,1))/REF(C,1)*100<-6.3 AND SJ>54,H,L,1,1),COLORGREEN;
STICKLINE(DT OR DT1 OR(C-REF(C,1))/REF(C,1)*100<-6.3 AND SJ>54,O,C,5,1),COLORGREEN;
MA5:=MA(CLOSE,5);
DIR2:=ABS(CLOSE-REF(CLOSE,30));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),30);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
AMA2:=EMA(DMA(CLOSE,CQ2),3),COLOR808000,LINETHICK1;
中枢线:AMA2,COLOR808000,LINETHICK1;
AMA3:=IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORBLUE,LINETHICK1;
AMA4:=IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK1;
M168:=MA(C,168),COLORRED,LINETHICK2;
XX1:=C>中枢线 AND 中枢线>REF(中枢线,1);
DRAWTEXT_FIX(ISLASTBAR AND XX1,0.08,0.01,0,'【牛区持股】'),COLORRED;
XX2:=C<中枢线 AND 中枢线<=REF(中枢线,1);
DRAWTEXT_FIX(ISLASTBAR AND XX2,0.08,0.01,0,'【熊区观望】'),COLOR00EE00;
AA1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
AA2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),AA1);
牛熊分界:EMA(AA2,500)*0.99 ,LINETHICK3,COLORYELLOW;
DRAWTEXT(神龙>0 AND REF(神龙,1)=0,L*0.95,'●突破'),COLORYELLOW;
内容加载中..