{指标介绍:
1、形态量能判断,判断个股和大盘的量能和形态的公式。
2、红柱代表个股形态是否健康;紫柱表示量能。这两个对个股和大盘都适用。
3、底部黄柱是表示大盘的环境是否有利,对大盘有效。
4、形态好,量能足,大盘环境好,三根柱子同时共振出现红色箭头考虑买入。}
VAR1:=crOSS(CLOSE,MA(CLOSE,5));
VAR2:=CROSS(CLOSE,MA(CLOSE,8));
VAR3:=CROSS(CLOSE,MA(CLOSE,24));
VAR4:=CROSS(CLOSE,MA(CLOSE,55));
VAR5:=CROSS(CLOSE,MA(CLOSE,60));
VAR6:=CROSS(CLOSE,MA(CLOSE,75));
VAR7:=CROSS(CLOSE,MA(CLOSE,120));
VAR8:=CROSS(CLOSE,MA(CLOSE,188));
VAR9:=CROSS(CLOSE,MA(CLOSE,240));
VAR10:=VAR1 AND VAR2 AND VAR3 OR VAR4 OR VAR5;
VAR11:=CROSS(obv,MA(OBV,5));
VAR12:=CROSS(MA(OBV,5),MA(OBV,10));
VAR13:=CROSS(MA(OBV,5),MA(OBV,20));
VAR18:=CROSS(MA(OBV,5),MA(OBV,60));
形态好:VAR10 OR VAR6 OR VAR7 OR VAR8 OR VAR9,NODRAW,COLORRED;
量能足:VAR11 OR VAR12 OR VAR13 OR VAR18,NODRAW,COLORFF00FF;
大盘环境好:INDEXC>REF(INDEXC,1),NODRAW,COLORYELLOW;
VAR19:=形态好 AND 量能足 AND 大盘环境好;
STICKLINE(形态好,1,1.5,1,0),COLORRED;
STICKLINE(量能足,0.5,1,2,0),COLORFF00FF;
STICKLINE(大盘环境好,0,0.5,3,0),COLORYELLOW;
DRAWICON(VAR19,1.59,38);