做分时选股分笔K线的源码介绍
做分时选股分笔K线的源码
DRAWTEXTREL(300,150,' 1.30分钟六线直线以下。'),COLORYELLOW;
DRAWTEXTREL(300,200,' 2.价格在5分以内。'),COLORYELLOW;
流通盘大小:=FINANCE2(37)/10000;
DRAWTEXTABS(300,200,'流通盘大小:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,ColorYELLOW;
EMA5:EMA(C,5),LINETHICK0,ColorFFFFFF;
EMA10:EMA(C,12),LINETHICK0,ColorFFFFFF;
EMA30:EMA(C,30),LINETHICK0,ColorFFFFFF;
EMA60:EMA(C,60),LINETHICK0,ColorFFFFFF;
EMA90:EMA(C,90),LINETHICK0,ColorFFFFFF;
EMA120:EMA(C,120),LINETHICK0,ColorFFFFFF;
EMA250:EMA(C,250),LINETHICK0,ColorFFFFFF;
M1:=1000*EMA30/EMA120<=1015 AND 1000*EMA30/EMA120>=975;
M2:=1000*EMA60/EMA120<=1020 AND 1000*EMA60/EMA120>=980;
M3:=1000*EMA90/EMA120<=1015 AND 1000*EMA90/EMA120>=985;
B1:=1000*EMA60/EMA250<=1015 AND 1000*EMA60/EMA250>=975;
B2:=1000*EMA90/EMA250<=1020 AND 1000*EMA90/EMA250>=980;
B3:=1000*EMA120/EMA250<=1015 AND 1000*EMA120/EMA250>=985;
DRAWICON(M1 AND M2 AND M3 AND CROSS(EMA30,EMA60),L-0.20,1);
DRAWICON(B1 AND B2 AND B3 AND CROSS(EMA30,EMA60),L-0.20,3);
老庄:=M1 AND M2 AND M3 AND CROSS(EMA30,EMA60);
DRAWTEXT(老庄,LOW,'牛'),LINETHICK4,coloryellow;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+7/100)*DD;
通道4:=(1-7/100)*DD;
MID:=MA(C,12);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,12);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
BOLL:=REF(MID,1);
UB:REF(UPPER,1),linethick2,COLORblue;
LB:=REF(LOWER,1);
BB:=V>MA(V,5) ;
DD1:=V<MA(V,5);
PARTLINE(UB,bb=0,RGB(255,0,)),linethick4,colorWHITE;
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
CG:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));
年线:=EMA(C,250);
A:=CG-(EMA(C,3)-CG);
QQ:EMA((年线-(EMA(C,3)-年线)),5),linethick4,colorBLUE;
DRAWICON( CROSS(cg,qq),qq,10);
DRAWICON( CROSS(UPPER,qq),qq,4);
vertline(CROSS(UPPER,qq),0),LINETHICK3,colorwhite;
突1:=CROSS(cg,qq);
突:=CROSS(UPPER,qq);
上突:FILTER(突,0),LINETHICK0,ColorFFFFFF;
vertline(突1,0),LINETHICK3,coloryellow;
买入:SUM(上突>0,1),LINETHICK0,ColorFFFFFF;
gd25464