预警机(主图 源码)

2011-02-15 13:59:00来源:本站整理浏览:653

RSVLY:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KLY:=SMA(RSVLY,3,1),COLORWHITE;
DLY:=SMA(KLY,3,1),COLORYELLOW;
JLY:=3*KLY-2*DLY,COLORFF00FF;
JL1Y:=50;
RSVMLY:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KALY:=SMA(RSVMLY,3,1);
DALY:=SMA(KLY,3,1);
JALY:=3*KLY-2*DLY;
KL1Y:=1/3*RSVMLY+REF(KLY,1)/3*2,COLORYELLOW;
DL1Y:=1/3*KLY+REF(DLY,1)/3*2,COLORWHITE;
JJJLY:=3*KL1Y-2*DL1Y,COLORFF00FF;
JL11Y:=JLY;JL昨Y:=REF(JLY,1);JLXY:=IF(JL1Y=-50,JL11Y,IF(JL1Y=-49,JL昨Y,JL1Y));
XAY:=((9/7*-15-2*REF(KLY,1)+12/7*REF(DLY,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORRED,NODRAW;
XBY:=((9/7*JLXY-2*REF(KLY,1)+12/7*REF(DLY,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORRED,NODRAW;
XCY:=((9/7*105-2*REF(KLY,1)+12/7*REF(DLY,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORRED,NODRAW;
XDY:=((9/7*90-2*REF(KLY,1)+12/7*REF(DLY,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORRED,NODRAW;
脚Y:=REFDATE(XAY,DATE),POINTDOT,COLORRED,LINETHICK4;
腰Y:=REFDATE(XBY,DATE),POINTDOT,COLORMAGENTA,LINETHICK4;
头Y:=REFDATE(XCY,DATE),POINTDOT,COLORGREEN,LINETHICK4;
颈Y:=REFDATE(XDY,DATE),POINTDOT;
每股收益:FINANCE(33),COLORYELLOW,NODRAW;
净资产:=FINANCE(34),NODRAW;{元>=5}
公积金:=FINANCE(18),NODRAW;{元>=1}
未分配利润:FINANCE(32),NODRAW;{元>=0.5}
市赢率:=DYNAINFO(39),NODRAW;
涨家数:=INDEXADV,NODRAW,COLORRED;
跌家数:=INDEXDEC,NODRAW,COLORGREEN;
现金流:=FINANCE(26)/FINANCE(1),NODRAW;{元>=0.5}
总股本:=FINANCE(1)/100000000,NODRAW;{亿<10}
流通盘:=FINANCE(7)/100000000,NODRAW;{亿<3}
净资产优:= (净资产>= 5*0.75);
公积金优:= (公积金>= 1*0.75);
未分配利润优:= (未分配利润>=0.5*0.75);
现金流优:= (现金流>=0.5*0.75);
是小盘股的优:= (总股本<12.5 AND 流通盘<3.75);
其中一项优:=(净资产优 OR 公积金优 OR 未分配利润优 OR 现金流优) AND 是小盘股的优;
最优的选择:=(净资产优 AND 公积金优 AND 未分配利润优 AND 现金流优 AND 是小盘股的优);
DRAWTEXT(其中一项优 AND CURRBARSCOUNT=100 AND 最优的选择!=1,颈Y,'该股成长较好,QQ: 1322099877'),COLORYELLOW;
DRAWTEXT(最优的选择 AND CURRBARSCOUNT=100,颈Y,'该股的成长相当不错'),COLORRED;
外内差:=BUYVOL-SELLVOL,COLORYELLOW,NODRAW;
GJZC:=IF(C=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(V+0.01)/100);
明日阻力:=L+(GJZC-L)+(C-L);
明日支撑:=L+(C-GJZC);
今日阻力:=REF(明日阻力 , 1)*1.01,COLORGREEN,NODRAW;
今日支撑:=REF(明日支撑 , 1)*1.01,COLORRED,NODRAW;

MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
红轨道:=MA(MA(CLOSE,2),1),LINETHICK1,COLORYELLOW;
绿轨道:=MA(MA(CLOSE,3),3);
上升:IF(红轨道>=绿轨道,红轨道,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
加仓:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);
波段底:=(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));


A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
卖:=IF(HHV(DX,2)=HHV(DX,7) AND DX>50 AND CROSS(MA(DX,2),DX),1,0);
DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORWHITE;
买:=IF(LLV(DX,2)=LLV(DX,7) AND DX<0 AND CROSS(DX,MA(DX,2)),1,0);
{DRAWTEXT(FILTER(买=1,5),LOW-0.03,'买'),COLORRED;}
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
DRAWTEXT(注意 AND 卖!=1,HIGH*1.02,'减'),COLORFFFF50,NODRAW;
加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
{DRAWTEXT((CROSS(加仓A,0) OR CROSS(CLOSE,CB)) AND 买!=1,LOW-0.03,'加'),COLOR0080FF;}
MA18:=MA(C,18);
跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0);
买价:=((C-REF(MA5,1))/5+MA5)*1.004;
买条件:=CROSS(C,买价) AND 买价>REF(买价,1);
白K买进:=IF(买条件,L,H),COLORWHITE,POINTDOT;
STICKLINE(买条件,O,C,3,1),COLORWHITE,LINETHICK2;

GJD:((H+L+2*C)/4),COLORGREEN;
趋势Q:=XMA(GJD,24),LINETHICK1,COLORYELLOW;
下支撑1D:(趋势Q*0.918),LINETHICK2,COLORMAGENTA;
强支撑2D:(趋势Q*0.86),LINETHICK2,COLORRED;
XGD:=L<下支撑1D;
GJH:=(H+L+C)/3;
趋势H:=XMA(GJH,24),LINETHICK1;
上阻力1H:(趋势H*1.108),LINETHICK2,COLORGREEN;
强阻力2H:(趋势H*1.16),LINETHICK2,COLORBLUE;
XGH:=H>上阻力1H;

HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AAD:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QYD:=BACKSET(AAD,HIGHN+1);
CCD:=FILTER(QYD,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CCD,H*1.02,2);
AA1D:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1D:=BACKSET(AA1D,LOWN+1);
CC1D:=FILTER(QY1D,LOWN) AND L=LLV(L,LOWN+1);
DRAWICON(CC1D,L*0.98,1);

JJ:=(CLOSE+HIGH+LOW)/3;
AK:=EMA(JJ,10);
BK:=REF(AK,1);
STICKLINE(AK>BK,AK,BK,1,0),COLORYELLOW;
STICKLINE(AK<BK,AK,BK,1,0),COLORBLUE;

VAR1X:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
网语:=XMA((VAR1X-REF(VAR1X,1))/REF(VAR1X,1),7)*1000,COLOR0000FF,NODRAW;
语:=EMA(网语,27);
网之语:=EMA(网语-语,1),NODRAW;
VAR2X:=XMA(XMA(XMA(EMA(WINNER(C)*100,1),2),2),2),NODRAW;
DRAWTEXT(CROSS( 网之语,0),REF(CLOSE,1)-1.2,'转强'),COLORMAGENTA;
DRAWTEXT(CROSS(0, 网之语),REF(CLOSE,1)+1.1,'转弱'),COLORGREEN;

TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
短卖:=STICKLINE(CROSS(RSI1,80),60,95,2,0),COLORFF9900,LINETHICK1;
压力:= HHV(MA(RSI1,3),13),COLORGREEN;
支撑:=LLV(MA(RSI1,3),13),COLORYELLOW;
AADX:=REF(RSI1,3)=HHV(RSI1,2*3+1);
BBDX:=BACKSET(AADX,3+1);
CCDX:=FILTER(BBDX,3) AND RSI1=HHV(RSI1,3+1);
K1DX:=BARSLAST(REF(CCDX,1));
顶背离:=REF(CLOSE,K1DX+1)<CLOSE AND REF(RSI1,K1DX+1)>RSI1 AND CCDX;
DRAWTEXT(顶背离,REF(CLOSE,1)+1.4,'顶'),COLORYELLOW;

TD:=(CLOSE*2+LOW+HIGH)/4;
SLD:=(TD/REF(TD,1)-1)*1000;
快趋势D:=XMA(XMA(XMA(SLD,3),3),3);
慢趋势D:=XMA(XMA(XMA(SLD,5),5),5);
趋势D:=XMA(XMA(XMA(SLD,34),34),34),COLORLIBLUE,LINETHICK1;
QW2D:=趋势D>5;
DRAWTEXT(QW2D,REF(CLOSE,1)*1.1,'☆'),COLORRED;
XGDZ:=CROSS(快趋势D,慢趋势D) AND 慢趋势D>REF(慢趋势D,1);
DRAWTEXT(XGDZ,REF(CLOSE,1)-2.8,'小龙'),COLORYELLOW;
XGTD:=CROSS(慢趋势D,快趋势D) AND 慢趋势D<REF(慢趋势D,1);
DRAWTEXT(XGTD,REF(CLOSE,1)+1.8,'调'),COLORYELLOW;

A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);
RMAD:=EMA(CLOSE,7);
NMAD:=EMA(CLOSE,9);
涨势线:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMAD,RMAD))+1),LLV(L,BARSLAST(CROSS(NMAD,RMAD))+1),
H=HHV(H,BARSLAST(CROSS(RMAD,NMAD))+1),HHV(H,BARSLAST(CROSS(RMAD,NMAD))+1),0),LINETHICK1,COLORFF00FF;
跌势线:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMAD,NMAD))+1),HHV(H,BARSLAST(CROSS(RMAD,NMAD))+1),
L=LLV(L,BARSLAST(CROSS(NMAD,RMAD))+1),LLV(L,BARSLAST(CROSS(NMAD,RMAD))+1),0),LINETHICK1,COLORBLUE;
趋势区:=IF((EVERY(跌势线>=REF(跌势线,1),1)),4,2)COLOR0000FF,LINETHICK3;
低买:=(CROSS(趋势区,2.1));
DRAWTEXT(低买,REF(CLOSE,1)-3.8,'底部'),COLORYELLOW;

RSVL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KL:=SMA(RSVL,3,1),COLORWHITE;
DL:=SMA(KL,3,1),COLORYELLOW;
JL:=3*KL-2*DL,COLORFF00FF;
JL1:=50;
RSVML:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KAL:=SMA(RSVML,3,1);
DAL:=SMA(KL,3,1);
JAL:=3*KL-2*DL;
KL1:=1/3*RSVML+REF(KL,1)/3*2,COLORYELLOW;
DL1:=1/3*KL+REF(DL,1)/3*2,COLORWHITE;
JJJL:=3*KL1-2*DL1,COLORFF00FF;
JL11:=JL;JL昨:=REF(JL,1);JLX:=IF(JL1=-50,JL11,IF(JL1=-49,JL昨,JL1));
XA:=((9/7*-15-2*REF(KL,1)+12/7*REF(DL,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORRED,NODRAW;
XB:=((9/7*JLX-2*REF(KL,1)+12/7*REF(DL,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORRED,NODRAW;
XC:=((9/7*105-2*REF(KL,1)+12/7*REF(DL,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORRED,NODRAW;
脚:REFDATE(XA,DATE),POINTDOT,COLORRED,LINETHICK4;
腰:REFDATE(XB,DATE),POINTDOT,COLORMAGENTA,LINETHICK4;
头:REFDATE(XC,DATE),POINTDOT,COLORGREEN,LINETHICK4;

Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
YA:=H=HHV(H,BARSLAST(Q_4)+1);
YB:=HHV(H,BARSLAST(Q_4)+1);
YC:=L=LLV(L,BARSLAST(Q_3)+1);
YD:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(YA,YB,YC,YD,0);
X1:=LLV(Q_2,2)=LLV(Q_2,7) ;
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1)<REF(Q_B,2);
X5:=Q_A>REF(Q_B,1);
买进:=(X1 AND X2 AND X3) AND X4 AND X5;
TJ:=(Q_B<REF(Q_B,1) AND Q_B=Q_A);
XXGL:=REF(TJ,1)=0 AND TJ>=1;
DRAWTEXT(XXGL,REF(C,1)-3.6,'绝底'),COLORRED ;


XY1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
XY2:=EMA(XY1,10);
XY3:=REF(XY2,1);
XY4:=((REF(HIGH,1) + REF(LOW,1)) / 2);
XY5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
XY6:=REF(CLOSE,1);
XY7:=((SMA(MAX((CLOSE - XY6),0),7,1) / SMA(ABS((CLOSE - XY6)),7,1)) * 100);
XY8:=CROSS(79,XY7);
XY9:=FILTER(XY8,4);
DRAWTEXT(XY9,(HIGH * 1.05),'出货'),COLORMAGENTA;

RSVX:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
KXX:=SMA(RSVX,7,3),COLORWHITE;
DXX:=SMA(KXX,3,1),COLORYELLOW;
JXX:=4*KXX-3*DXX,COLORFF00FF;
SSS:=CROSS(JXX,0);
DRAWTEXT(SSS,REF(CLOSE,1)-4.2,'可进'),COLORMAGENTA;

VARK:=(4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3,1))/10;
DDZB:=MA(VARK,3);
SSK:=CROSS(0.5,VARK);
DRAWTEXT(SSK,REF(CLOSE,1)-4.8,'预备'),COLORRED;


WJQ:=DVOL/C;
VD1Q:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2Q:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJQ);
VD3Q:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4Q:=IF(HIGH=LOW,1,WJQ-MIN(CLOSE,OPEN));
VD5Q:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VD6Q:=(VD1Q*VD5Q);
VD7Q:=(VD2Q*VD5Q);
VD8Q:=(VD3Q*VD5Q);
VD9Q:=(VD4Q*VD5Q);
MRLQ:=(VD9Q+VD8Q),COLOR0066FF;
MCLQ:=(VD6Q+VD7Q),COLORCYAN;
MRZJQ:=MRLQ*WJQ/100000000000000,COLOR00FFFF;
MCZJQ:=MCLQ*WJQ/100000000000000,COLOR66FF00;
MUMA3:=MA(MRZJQ,3);
MUMA4:=EMA(MRZJQ,13);
XGL:=CROSS(MUMA3,100000);
AAF:=(EMA(DCLOSE,9)-EMA(DCLOSE,27))*100;
BBF:=EMA(AAF,5);
CCF:=2*(AAF-BBF);
JQV:=CCF>REF(CCF,1)*2.5 AND CCF>15;
NGQD:=XGL AND JQV;
DRAWTEXT(JQV,REF(CLOSE,1)-3.1,'小马'),COLORYELLOW;
DRAWTEXT(NGQD,REF(CLOSE,1)-4.8,'牛股启动'),COLORYELLOW;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
RMA:=EMA(C,3);
NMA:=EMA(C,27);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
MJA:=((LLV(A8,2)=LLV(A8,7) AND A8<0 AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1))=0;
GJ:=(H+L+C)/3;
运动趋势:=XMA(GJ,24);
良机区1:=运动趋势*0.928;
LJQ2:=运动趋势*0.908;
XGLS:=L<=良机区1 AND L>LJQ2 AND 运动趋势>=REF(运动趋势,1);
XGKL:=L<LJQ2 AND 运动趋势>=REF(运动趋势,1);
DHMXG:=XGLS AND JQV;
DRAWTEXT(DHMXG,REF(CLOSE,1)-1.1,'黑马'),COLORMAGENTA;
TT:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);
SL:=(TT/REF(TT,1)-1)*1000;
快趋势:=XMA(XMA(XMA(SL,3),3),3);
慢趋势:=XMA(XMA(XMA(SL,5),5),5);
XT:=快趋势-慢趋势;
趋势:=XMA(XMA(XMA(SL,29),29),29),COLORLIBLUE,LINETHICK1;
QW1:=趋势>REF(趋势,1);
趋势2:=XMA(XMA(XMA(SL,13),13),13),COLORGREEN,LINETHICK1;
QW2:=趋势>0;
趋势3:=XMA(XMA(XMA(SL,9),9),9);
QW3:=趋势3>趋势;
QA6:=趋势2>REF(趋势2,1);
XGBZ:=((FILTER(ATAN(EMA(快趋势,13)-REF(EMA(快趋势,13),1))>1 AND
EMA(快趋势,13)>REF(EMA(快趋势,8),1),10)) AND QA6 AND QW2
AND (ZIG(3,5)>MA(ZIG(3,5),2)));
STXG:=XGLS AND XGBZ;
DRAWTEXT(XGBZ,REF(CLOSE,1)-1.6,'飞龙'),COLORYELLOW;
DRAWTEXT(STXG,REF(CLOSE,1)+2.6,'强升'),COLORRED;
KLLS:=XGLS AND MJA;
{DRAWTEXT(MJA,REF(CLOSE,1)+0.8,'猛虎'),COLORYELLOW;}
DRAWTEXT(XGLS,REF(CLOSE,1)-4.2,'关注'),COLORYELLOW;
DRAWTEXT(XGKL,REF(CLOSE,1)-4.2,'狂龙'),COLORYELLOW;
DRAWTEXT(KLLS,REF(CLOSE,1)+1.8,'玉女'),COLORGREEN;
清仓:=1.66*MA(FORCAST(CLOSE,2),40),COLORRED;
出货:=1.36*MA(FORCAST(CLOSE,2),40),COLOR08FFFF;
高抛:=1.16*MA(FORCAST(CLOSE,2),40),COLORFF82FF;
低吸:=0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300;
满仓:=0.72*MA(FORCAST(CLOSE,2),40),COLORGREEN;
强通1:=清仓>REF(清仓,1),;
强通2:=出货>REF(出货,1),;
强通3:=高抛>REF(高抛,1),;
强通4:=低吸>REF(低吸,1),;
强通5:=满仓>REF(满仓,1),;
上升通道:=强通1 AND 强通2 AND 强通3 AND 强通4 AND 强通5,;
MA5C:=MA(CLOSE,5);
MA10C:=MA(CLOSE,10),;
MA20C:=MA(CLOSE,20);
MA30C:=MA(CLOSE,30);
MA60C:=MA(CLOSE,60);
五强:=MA5C>REF(MA5C,1),;
十强:=MA10C>REF(MA10C,1),;
二十强:=MA20C>REF(MA20C,1),;
三十强:=MA30C>REF(MA30C,1),;
六十强:=MA60C>REF(MA60C,1),;
小均强:=五强 AND 十强,;
均强:=十强 AND 二十强 AND 三十强,;
大均强:=十强 AND 二十强 AND 三十强 AND 六十强,;
JJD:=(H+L+C)/3;
强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60),COLORRED,LINETHICK2;
强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20),COLORWHITE,LINETHICK2;
强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10),COLORYELLOW,LINETHICK2;
强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13),COLORLIMAGENTA,LINETHICK2;
开始走强1:=强势线1>REF(强势线1,1),;
开始走强2:=强势线2>REF(强势线2,1),;
开始走强3:=强势线3>REF(强势线3,1),;
开始走强4:=强势线4>REF(强势线3,1),;
双强1:=开始走强1 AND 开始走强2,;
双强2:=开始走强2 AND 开始走强3,;
双强3:=开始走强2 AND 开始走强3,;
双强4:=开始走强3 AND 开始走强4,;
三强:=开始走强1 AND 开始走强2 AND 开始走强3,;
四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4,;
强势为王:=双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强 OR 四强,;
VV:=(C+L+H)/3;
DSA:=SMA(XMA(VV,15),2,1)LINETHICK3;
顶部1:=DSA*1.0888,COLORMAGENTA,LINETHICK1;
顶部2:=DSA*1.158,COLORBROWN,LINETHICK1;
顶部3:=DSA*1.218,COLORRED,LINETHICK1;
底部1:=DSA*0.9518,COLORLICYAN,LINETHICK1;
底部2:=DSA*0.888,COLORLIMAGENTA,LINETHICK1;
底部3:=DSA*0.8,COLORGREEN,LINETHICK1;
MA1C:=MA(CLOSE,5);
MA2C:=MA(CLOSE,10);
MA3C:=MA(CLOSE,20);
MA4C:=MA(CLOSE,60);
五日走强:=MA1C>REF(MA1C,1),;
十日走强:=MA2C>REF(MA2C,1),;
二十日走强:=MA3C>REF(MA3C,1),;
六十日走强:=MA4C>REF(MA4C,1),;
低位主升:=五日走强 AND 十日走强 AND 六十日走强,;
主升浪:=五日走强 AND 十日走强 AND 二十日走强,;
大主升浪:=十日走强 AND 二十日走强 AND 六十日走强,;
大主升浪2:=五日走强 AND 十日走强 AND 二十日走强 AND 六十日走强,;
总主升:=主升浪 AND 大主升浪 AND 大主升浪2,;
总主升浪:=低位主升 OR 主升浪 OR 大主升浪 OR 大主升浪2 OR 总主升,;
强势主升低买:=L<底部1 AND 总主升浪 AND 强势为王 AND C<DSA;
猎股小王:=L<底部1 AND C<DSA AND 强势为王;
猎股大王出击:=强势主升低买 AND 猎股小王 AND H<DSA;
AC:=MA(C,30);
A1C:=AC*1.1;
A4C:=AC*0.9;
A2C:=A1C-(A1C-A4C)*0.191;
持仓:=IF(HIGH*1.01>A2C OR REF(HIGH,1)>REF(A2C,1),A1C,A4C);
生命线:=IF(HIGH*1.01>A2C OR REF(HIGH,1)>REF(A2C,1),A2C,A4C);
主升持仓:=持仓>生命线,;
主升1:=持仓>REF(持仓,1),;
主升2:=生命线>REF(生命线,1),;
主升:=主升1 AND 主升2,;
主升猎股王:=(猎股大王出击 AND 主升持仓 AND 主升) OR (猎股小王 AND 主升持仓 AND 主升),;
JDZS:=(主升猎股王 AND 小均强) OR (猎股小王 AND 小均强);
AAFH:=(EMA(DCLOSE,9)-EMA(DCLOSE,27))*100;
BBFH:=EMA(AAFH,5);
CCFH:=2*(AAFH-BBFH);
JQH:=CCFH>REF(CCFH,1)*2.5 AND CCFH>15;
SSA:=IF(C>REF(C,1),AMOUNT,0);
SSB:=IF(C<REF(C,1),AMOUNT,0);
净流入H:=SUM(SSA,34)-SUM(SSB,34);
总额H:=SUM(AMOUNT,0);
JLRB:=(净流入H)/总额H*1000;
JLRBMA:=EXPMA(JLRB,3);
JLRBJX:=EMA(EMA(JLRB,3),3);
JCXG:=CROSS(JLRBMA,JLRBJX);
SLXG:=JQH AND JCXG;
JWW:=JDZS AND SLXG;
AAFF:=(EMA(DCLOSE,9)-EMA(DCLOSE,27))*100;
BBFF:=EMA(AAFF,5);
CCFF:=2*(AAFF-BBFF);
JQF:=CCFF>REF(CCFF,1)*2.5 AND CCFF>15;
JQXG:=JDZS AND JQF;
JTXG:=XGLS AND JDZS;
DRAWTEXT(SLXG,REF(CLOSE,1)-4,'速利'),COLORRED;
DRAWTEXT(JDZS,REF(CLOSE,1)-4.8,'猎庄'),COLORYELLOW;
DRAWTEXT(JWW,REF(CLOSE,1)+2.2,'金娃'),COLORYELLOW;
DRAWTEXT(JQXG,REF(CLOSE,1)+2,'捡钱'),COLORYELLOW;
DRAWTEXT(JTXG,REF(CLOSE,1)+3.2,'金童'),COLORYELLOW;

AL:=(2*C+L+H)/4;
AO:=SMA(AL,3,1)-SMA(AL,4,1);
BBD:=(AO-SMA(AO, 5,1))*100,COLORMAGENTA;
BBDA:=SMA(BBD,3,1),COLORBLUE,LINETHICK1;
BBDB:=EMA(BBD,9),COLORGREEN;
RSV1:=BBD;
RSV2:=BBDA;
SV2:=BARSLAST(REF(CROSS(RSV2,RSV1),1));
SV2A:=REF(CLOSE,SV2+1)<CLOSE AND REF(RSV1,SV2+1)>RSV1 AND CROSS(RSV2,RSV1);
下跌BBD:=IF(SV2A,RSV2,DRAWNULL),COLORFFFF00;
DRAWICON(((((LLV(BBD,3) > 0) AND (BBD < REF(BBD,1)))
AND (REF(BBD,1) > REF(BBD,2))) AND (REF(BBD,2) > REF(BBD,3)))
,H*1.02,12);
DRAWICON(((((HHV(BBD,3) < 0) AND (BBD > REF(BBD,1))) AND (REF(BBD,1) < REF(BBD,2))) AND (REF(BBD,2) <
REF(BBD,3))),L*0.98,11);

VAR2S:=(2*CLOSE+HIGH+LOW)/4;
VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4);
散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.8,'逢低吸'),COLORRED;


DIFFV:=EMA(DCLOSE,9)-EMA(DCLOSE,27);
DEAV:=EMA(DIFFV,5);
A1V:=CROSS(DIFFV,DEAV);
底背离:=REF(CLOSE,A1V+1)>CLOSE AND DIFFV>REF(DIFFV,A1V+1) AND CROSS(DIFFV,DEAV);
DEA0:=EMA(DIFFV*100,9);
MACD0:=2*(DIFFV*100-DEA0);
黑马:=(MACD0>REF(MACD0,1)*2.5 AND MACD0>15);
LHT:=底背离 AND 黑马;
DRAWTEXT(LHT,REF(CLOSE,1)-4.5,'龙回头'),COLORLIBLUE;

LCV:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LCV,0),6,1)/SMA(ABS(CLOSE-LCV),6,1)*100;
顶部雷达:=CROSS(80,RSI)*38,LINETHICK2 ,COLORLIBLUE;
DRAWTEXT(CROSS(80,RSI),REF(CLOSE,1)+2.2,'险'),COLORLIBLUE;

AAFU:=(EMA(DCLOSE,9)-EMA(DCLOSE,27))*100;
BBFU:=EMA(AAFU,5);
CCFU:=2*(AAFU-BBFU);
JQU:=CCFU>REF(CCFU,1)*2.5 AND CCFU>15;
A9:=COUNT(JQU,3);
VARM:=EMA(EMA(CLOSE,7),13);
KP:=(VARM-REF(VARM,1))/REF(VARM,1)*1000;
A10:=CROSS(KP,0);
YZKP:=KP>=REF(KP,1) AND KP>0;
VAR1M:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
WY:=XMA((VAR1M-REF(VAR1M,1))/REF(VAR1M,1),7)*1000;
YY:=EMA(WY,27);
WZY:=EMA(WY-YY,1);
A11:=WZY>0;
WJ:=(HIGH+LOW+2*CLOSE)/4;
WJJ:=(OPEN+HIGH+LOW+CLOSE)/4;
DJJ:=(WJ+WJJ)/2;
DIFF:=EMA(DJJ,3)-EMA(DJJ,9);
DEA:=EMA(DIFF,3);
MACD:=2*(DIFF-DEA);
X1B:=EMA(DIFF,3)*50;
X2A:=(EMA(CLOSE,3)-EMA(CLOSE,7))*50;
A12:=X2A>-1 AND X2A>REF(X2A,1);
QDZS:=YZKP AND A11 AND A12 AND A9;
DRAWTEXT(QDZS,REF(CLOSE,1)-1.5,'短启'),COLORLIBLUE;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式