安装后如下图
友情提示(指标只是辅助,不作建议)
所有程序均为免费分享。
成交量:=VOL,VOLSTICK;
AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*0.8,LINETHICK0;
主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAA*(HIGH-LOW),0-VOL/2))*0.9,LINETHICK0;
主力净量:=(主买-主卖),LINETHICK0;
主买%:主买/成交量*100,COLORRED,LINETHICK0;
主卖%:主卖/成交量*100,COLOR00FF00,LINETHICK0;
STICKLINE(CURRBARSCOUNT=1 AND 100>0,100,0,3.3,1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND 主买%>0,主买%,0,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=1 AND 主卖%>0,主卖%,0,2.8,0),COLORBLUE;
DRAWTEXT(CURRBARSCOUNT=1,主买%+5,'____*主买'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,主卖%+5,'____*主卖'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,22,'----20'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,32,'----30'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,42,'----40'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,52,'----50'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,62,'----60'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,72,'----70'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,82,'----80'),COLORFFFFFF;
VAR6:=((((2 * CLOSE) + HIGH) + LOW) / 4);
VAR8:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((((VAR6 - VAR8) / (VAR11 - VAR8)) * 100),5);
VAR13:=EMA(((0.667 * REF(VAR12,1)) + (0.333 * VAR12)),2);
低位绿变红看多:EMA(VAR13,2), COLORRED;
高位红变绿减仓:EMA(VAR12,1), COLOR00FF00;
STICKLINE(((VAR12 - VAR13) > 0),VAR12,VAR13,12,0), COLORRED;
STICKLINE(((VAR12 - VAR13) < 0),VAR12,VAR13,8,0), COLOR00FF00;
VAR15:=EMA(VAR12,1);
VAR16:=EMA(VAR13,2);
VAR18:=CROSS(MA(CLOSE,230),MA(CLOSE,10)) AND VAR15<20 ;
STICKLINE(FILTER(VAR18,5)=1,0,20,10,0),COLORLIRED ;
DRAWTEXT(FILTER(VAR18,5)=1,20,'抄底'),LINETHICK2 ;
VAR19:=CROSS(VAR15,VAR16) AND VAR15<73 AND VAR15>20 AND VAR15-VAR16>1.8 AND(MA(CLOSE,2)>MA(CLOSE,50))AND(MA(CLOSE,2)>MA(CLOSE,6));
DRAWTEXT(FILTER(VAR19,5)=1,低位绿变红看多,'潜伏'),COLORFF0000,LINETHICK2 ;
关注:=CROSS(MA(CLOSE,5),MA(CLOSE,150))AND VAR15>VAR16 AND VAR15-VAR16>8 AND VAR15<75 AND(MA(CLOSE,5)>MA(CLOSE,40));
STICKLINE(FILTER(关注,5)=1,0,30,10,0),COLORMAGENTA ;
DRAWTEXT(FILTER(关注,5)=1,50,'牛'),LINETHICK3 ;
DRAWTEXT_FIX(1,0.88,0,0,'--微信公众号:(程序化指标:爱指标源码) --'),COLORRED;
程序化指标:=CROSS(MA(CLOSE,5),MA(CLOSE,230)) AND VAR15>VAR16 AND VAR15-VAR16>8 AND VAR15<75 AND(MA(CLOSE,5)>MA(CLOSE,150));
STICKLINE(FILTER(程序化指标,5)=1,0,20,10,0),COLORBROWN, ;
DRAWTEXT(FILTER(程序化指标,5)=1,20,'牛启动'),LINETHICK2 ;
VAR22:=CROSS(VAR15,VAR16) AND VAR15<18 AND VAR15-VAR16>0.6 AND(MA(CLOSE,2)>MA(CLOSE,6));
DRAWTEXT(FILTER(VAR22,5)=1,低位绿变红看多,'潜伏'),COLORFF0000,LINETHICK2 ;
VAR23:=CROSS(MA(CLOSE,5),MA(CLOSE,40)) AND VAR15>VAR16 AND VAR15-VAR16>3 ;
DRAWTEXT(FILTER(VAR23,5)=1,低位绿变红看多,'买入'),LINETHICK2 ;
VAR24:=CROSS(MA(CLOSE,2),MA(CLOSE,5)) AND VAR15>80 AND VAR16>80 AND (MA(CLOSE,2)>MA(CLOSE,40)) AND VAR15>VAR16;
DRAWTEXT(FILTER(VAR24,5)=1,低位绿变红看多,'追涨'),LINETHICK2;
VAR25:=EMA(VAR12,2) AND VAR16>83 AND VAR15>VAR16 ;
DRAWTEXT(FILTER(VAR25,5)=1,低位绿变红看多,'减仓'),COLORFFFF00,LINETHICK2 ;