操盘线:MA(C,4),NODRAW,COLORRED;
安全线:MA(C,19),LINETHICK1,COLORYELLOW;
DRAWTEXT(CROSS(安全线,操盘线),H*1.01,' S 卖出'),COLOR00FF00;
DRAWTEXT(CROSS(操盘线,安全线),L*0.99,' B 买入'),COLOR00FFFF;
DRAWICON(CROSS(操盘线,安全线),L*0.98,1);
DRAWICON(CROSS(安全线,操盘线),H*1,2);
空:=EMA(CLOSE,5);{www.9m8.cn 九毛八公式指标网}
均衡:=EMA(空,0),COLORFFFFFF;
下趋势双线持币:HHV(MA(HIGH,3),2),LINETHICK1,COLORGREEN;
上趋势单线持股:LLV(MA(HIGH,3),1),LINETHICK1,COLORRED;
STICKLINE(CROSS(操盘线,安全线) AND BACKSET(CLOSE 操盘线,2) AND (操盘线 安全线) AND
(CLOSE 安全线),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(CROSS(操盘线,安全线) AND BACKSET(CLOSE 操盘线,2) AND (操盘线 安全线) AND
(CLOSE 安全线),H,L,0,0),COLORYELLOW;
VAR5:=FILTER(均衡 REF(均衡,1) AND 下趋势双线持币 REF(下趋势双线持币,1) AND CLOSE REF(CLOSE,1),11);
IF(VAR5 =1,L*0.996,DRAWNULL),COLORMAGENTA,CIRCLEDOT;