DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite,LINETHICK1;
DEA : EMA(DIFF,M),LINETHICK1;
中心:0 ,colorgray,LINETHICK1;
多头区:IF( 2*(DIFF-DEA) >中心 AND 2*(DIFF-DEA) > 0,2*(DIFF-DEA), DRAWNULL ), colorred,LINETHICK2;
空头区:IF( 2*(DIFF-DEA) < 中心 AND 2*(DIFF-DEA)< 0,2*(DIFF-DEA),DRAWNULL ), colorgreen,LINETHICK2;
建仓:=DIFF,牛熊,colorwhite,LINETHICK1;
DRAWTEXT(CROSS(DIFF,0),-0.03,'建仓'), colorred;
次金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
DRAWTEXT(次金叉,DIFF,'次叉') ,coloryellow;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
放量金叉=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWTEXT(放量金叉,-0.11,'金叉'),colormagenta;
DRAWICON(放量金叉,DEA*0.30,1) ;
A1=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
底背=DRAWLINE(A1=0,DEA,底背离,DEA,0),colorwhite,LINETHICK4;
DRAWTEXT(底背离,DIFF,' 底背离') ,colorlired;
A2=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离=REF(CLOSE,A2+1)
顶背=DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorwhite,LINETHICK4;
DRAWTEXT(顶背离,DEA,'顶背离') ,colorwhite;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
卖量:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
主力拉升:
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
卖点雷达:CROSS(85,RSI1)*30;
DRAWTEXT(CROSS(85,RSI1),80,'顶');
Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
Vard:=BARSCOUNT(CLOSE);
买点雷达:(Varb< 20 AND Varc< 25 AND Vard> 50 AND AR<70 AND VOL
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5;
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;
DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-60,'升');
DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1) OR CROSS(主力,散户) AND 散户<-35 ,-15,222);
DRAWTEXT(CROSS(RSI1,20)AND 散户<-20 AND 买点雷达 ,-60,'底');
正负量比:1200*(WINNER(C)-WINNER(O));
STICKLINE(100*V/CAPITAL>= 3 AND 100*V/CAPITAL<7,100*V/CAPITAL*2,100,7,0);
STICKLINE(100*V/CAPITAL>= 7,100,100*V/CAPITAL*2,7,0);
穿云第三箭(顶尖财经 股票学院: ):
MA1:=MA(C,20);
MA2:=MA(C,30);
MA3:=MA(C,60);
A1:=O
A3:=V/MA(V,30)>1.2;
A4:=C/REF(C,1)>1.049;
穿云第三箭:A1 AND A2 AND A3 AND A4;