通达信:=(C-MA(CLOSE,13))*100;
红机构强游资:EMA(MA(通达信,7),1),COLORWHITE;
机构库存:EMA(红机构强游资,7),COLORYELLOW;
DRAWBAND(红机构强游资,RGB(220,160,230),机构库存,RGB(110,90,150));
MACD:(红机构强游资-机构库存)*2,COLORSTICK;{通达信公式-通达信指标www.gs6699.com}
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0,0),COLORMAGENTA;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,0,0),COLORGREEN;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,0,0),COLORYELLOW;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0,0),COLORRED;
指标公式:IF(CROSS(红机构强游资,机构库存) AND 红机构强游资<-0.1,15,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;
IF(CROSS(红机构强游资,机构库存) AND 红机构强游资<-0.1,15,DRAWNULL),COLORYELLOW,LINETHICK4,POINTDOT;
JCCOUNT:=COUNT(CROSS(红机构强游资,机构库存),BARSLAST(机构库存>=0));
ccdds1:IF(CROSS(红机构强游资,机构库存) AND 机构库存<0 AND COUNT(JCCOUNT=2,21)=1,28,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;
A1:=BARSLAST(REF(CROSS(红机构强游资,机构库存),1));
ccdds2:IF(REF(CLOSE,A1+1)>CLOSE AND 红机构强游资>REF(红机构强游资,A1+1) AND CROSS(红机构强游资,机构库存),40,DRAWNULL),COLORRED,LINETHICK4,CROSSDOT;
势:DRAWLINE(A1=0,机构库存,ccdds2,机构库存,0),COLORGREEN;{,COLORRED;}
A2:=BARSLAST(REF(CROSS(机构库存,红机构强游资),1));
ccdds3:=REF(CLOSE,A2+1)<CLOSE AND REF(红机构强游资,A2+1)>红机构强游资 AND CROSS(机构库存,红机构强游资),COLORWHITE;
ccdds3_:IF(REF(CLOSE,A2+1)<CLOSE AND REF(红机构强游资,A2+1)>红机构强游资
AND CROSS(机构库存,红机构强游资),66,DRAWNULL)
,COLORF08000,LINETHICK4,CROSSDOT;
ccdds4:DRAWLINE(A2=0,机构库存,ccdds3,机构库存,0),COLORFFBB99;
ccdds5:=CROSS(红机构强游资,机构库存) AND 机构库存<0;
ccdds7:IF(FILTER(COUNT(ccdds5,21)=2,10),53,DRAWNULL)
,COLORWHITE,LINETHICK4,CROSSDOT;