1、抓住黑马,底部突破 A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF; A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100; A3:=EMA(C,5); 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)),LINETHICK2,coloryellow; A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100; DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00; DRAWTEXT(CROSS(A1,黑马线)AND 黑马线<A5,黑马线,'黑马'); DRAWTEXT(CROSS(黑马线,A5)AND 趋势线<80,黑马线,'追涨'); DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,5,'大黑马'); 底部:(A2<-10 AND A2>REF(A2,1))*25,colorred; DRAWICON(底部 AND A3>REF(A3,1),25,4); 机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0; 大势已去:IF(CROSS(黑马线,A1)AND 黑马线>70 AND 趋势线>80,90,100),COLORFF0000; 2、AI机构意愿,AI机构动力 IF ((MARKETTYPE == 16 AND (CODETYPE == 1 OR CODETYPE == 5 OR CODETYPE == 6)) OR (MARKETTYPE == 32 AND CODETYPE == 1)) { JF=jgjrda; IF (jgjrda=REF(jgjrda,1) AND jgrda=REF(jgrda,1) AND jggzda=REF(jggzda,1) AND jggzdb=REF(jggzdb,1) AND jgrdb=REF(jgrdb,1)) THEN DF=0; ELSE IF JF>100 THEN DF=100; ELSE IF JF>-100 THEN DF=JF; ELSE DF=-100; AI机构意愿:DF; JZ=jgrda; IF JZ>100 THEN DC=100; ELSE IF JZ>50 THEN DC=80+(JZ-50)/2.5; ELSE IF JZ>20 THEN DC=60+(JZ-20)/1.5; ELSE IF JZ>10 THEN DC=50+(JZ-10); ELSE DC=JZ*5; AI机构动力:DC; 极强线:80,colormagenta,DOTLINE; 活跃线:50,colorlired,DOTLINE; 平均线:20,colorwhite,DOTLINE; } ELSE { 提示:"本指标不适用于当前品种"; RETURN; } 3、空头多头( 顶尖财经 股票学院: http://www.58188.com ) BB1=BIGBUYCOUNT1+WAITBUYCOUNT1; SS1=BIGSELLCOUNT1+WAITSELLCOUNT1; BB2=BIGBUYCOUNT2+WAITBUYCOUNT2; SS2=BIGSELLCOUNT2+WAITSELLCOUNT2; r:=((BB1+BB2)-(SS1+SS2))/SHGZG*100; 大单净量:r; STICKLINE(r>0,0,r,8),color0000ff; STICKLINE(r<0,0,-r,8),color00ff00; r0:=((IF(ISNULL(BIGBUYCOUNT1+BIGBUYCOUNT2),0,(BIGBUYCOUNT1+BIGBUYCOUNT2))+IF(ISNULL(WAITBUYCOUNT1+WAITBUYCOUNT2),0,(WAITBUYCOUNT1+WAITBUYCOUNT2))) -(IF(ISNULL(BIGSELLCOUNT1+BIGSELLCOUNT2),0,(BIGSELLCOUNT1+BIGSELLCOUNT2))+IF(ISNULL(WAITSELLCOUNT1+WAITSELLCOUNT2),0,(WAITSELLCOUNT1+WAITSELLCOUNT2)))) /SHGZG*100; 大单流线:SUM(IF(r0>0,r0,0),5); f1:=MA(CLOSE,21); dt:=IF(CLOSE>f1,(CLOSE+HIGH)/2,f1); f2:=MA(dt,1); IF(REF(f1,1)=REF(f2,1) AND f2>f1) { DRAWTEXT(1,HHV(大单流线,100)*0.8,'多头'),colorred; VERLINE(1,1),colorred; } IF(REF(f1,1)<REF(f2,1) AND f2=f1) { DRAWTEXT(1,HHV(大单流线,100),'空头'),coloryellow; VERLINE(1,1),coloryellow; } |