同花顺主力潜伏{庄主}副图源码
-
相关简介:本指标含有未来函数,可看图操作,但不作为买卖依据,请谨慎使用。 N3:=4;N4:=6; 快:COUNT(CLOSEREF(CLOSE,2),N3)/N3*100,colorgreen; 慢:COUNT(CLOSEREF(CLOSE,2),N4)/N4*100,colorred; 买入: IF(REF(慢,1)=慢 AND REF(快,1)快 AND 快=0,100,0),colorred,linethick1; DRAWTEXT( 买入 AND REF(买入 ,1)=0,100,'明'); 关
-
文章来源:股海网作者:股海网发布时间:2018-01-04浏览次数:
本指标含有未来函数,可看图操作,但不作为买卖依据,请谨慎使用。
N3:=4;N4:=6;
快:COUNT(CLOSE>REF(CLOSE,2),N3)/N3*100,colorgreen;
慢:COUNT(CLOSE>REF(CLOSE,2),N4)/N4*100,colorred;
买入: IF(REF(慢,1)=慢 AND REF(快,1)>快 AND 快=0,100,0),colorred,linethick1;
DRAWTEXT( 买入 AND REF(买入 ,1)=0,100,'明');
关注: IF(慢=0 AND 快=0,60,0),colorred,linethick1;
DRAWTEXT( 关注 AND REF(关注 ,1)=0,60,'关注'),colorred;
0,colorgray;
100;
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(10,6);
VARA:="DMI.ADXR"(10,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0-"MACD.DIFF"(7,21,3);
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),colorwhite;
0,colorred;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,15,0),colorf00ff0;
STICKLINE(FILTER(VARF=1,5),50,0,8,0),coloryellow;
DRAWTEXT(FILTER(VARF=1,3),25,'主力潜伏'),colorred ;
STICKLINE(多空<-10,0,多空,0.85,0),coloryellow;
STICKLINE(多空>10,0,多空,0.95,0),colorred;