真正的庄家:=EMA(CLOSE, 9);
出货进货:=((真正的庄家 - EMA(CLOSE, 5)) < 0);
指标公式:=((真正的庄家 - EMA(CLOSE, 5)) > 0);
CCCDD:=BARSLAST(出货进货);
CCCDE:=BARSLAST(指标公式);{通达信公式-通达信指标www.gs6699.com}
CCCDF:=IF((CCCDE > 0),(CLOSE - REF(CLOSE, 1)) / REF(CLOSE, 1) * 100,0);
EEEDD0:=SUM(CCCDF,0);
EEEDD1:=IF((CCCDD > 0),(0 - 2),0);
EEEDD2:=IF((CCCDE > 0),SUM((CLOSE - REF(CLOSE, 1)) / REF(CLOSE, 1) * 100,CCCDE),0);
EEEDD3:=EEEDD2 / CCCDE;
EEEDD5:=EMA(EMA(EMA(CLOSE, 3), 3), 3);
SDSD1:((EEEDD5 - REF(EEEDD5, 1)) + EEEDD5)COLOR0000FF,LINETHICK2;FDFDFD:MA(SDSD1, 15)COLORFF49FF;
IF(SDSD1>REF(SDSD1,1),SDSD1,DRAWNULL),COLORFFFFCC,LINETHICK4,POINTDOT;
IF(FDFDFD>REF(FDFDFD,1),FDFDFD,DRAWNULL),COLOR00FFFF,LINETHICK4,POINTDOT;
STICKLINE((SDSD1 > FDFDFD),FDFDFD,SDSD1, 0, 0)COLOR00FFFF;
STICKLINE((FDFDFD > SDSD1),SDSD1,FDFDFD, 0, 0)COLORFF0000;
DRAWTEXT(CROSS(FDFDFD,SDSD1),SDSD1 * 1.03,'卖点')COLOR00FF00;
DRAWTEXT(CROSS(SDSD1,FDFDFD),FDFDFD * 0.98,'买点')COLOR0000FF;
DRAWICON(((REF(EEEDD1, 1) = (0 - 2)) AND (EEEDD1 = 0)),LOW, 5);
DRAWICON(((REF(CCCDE, 1) > 0) AND (CCCDE = 0)),HIGH, 6);