九毛八公式指标
VAR1:=(CLOSE*2+HIGH+LOW)/4; SK: EMA(VAR1,13)-EMA(VAR1,21); SD: EMA(SK,2); 多方能量: 2*(SK-SD)*3.8, LINESTICK; 空方能量:= (-2)*(SK-SD)*3.8, LINESTICK; 强弱分界:= 0, CIRCLEDOT; STICKLINE(CROSS(SK,SD),SK,0,1,0),LINETHICK2,COLORRED; DRAWTEXT((CROSS(SK,SD)),SK,'←短买'),LINETHICK2,COLORRED; STICKLINE((CROSS(ZIG(3,8),REF(ZIG(3,8),1))),SK,0,1,0),LINETHICK2,COLORYELLOW; DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),SK,'←备钱'),LINETHICK2,COLORYELLOW; DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),SK,9); DRAWICON((CROSS(SK,SD)),SK,1);
公式模块:
{短买}
VAR1:=(CLOSE*2+HIGH+LOW)/4; SK:=EMA(VAR1,13)-EMA(VAR1,21); SD:=EMA(SK,2); crOSS(SK,SD); {备钱} VAR1:=(CLOSE*2+HIGH+LOW)/4; SK: EMA(VAR1,13)-EMA(VAR1,21); CROSS(zig(3,8),REF(ZIG(3,8),1);