ma5:MA(C,5);
ma30:MA(C,30);
STICKLINE(ma5>ma30 AND
ma5>=REF(ma5,1) AND
ma30>REF(ma30,1),ma5,ma30,0.8,0),colorred;//看多做多
STICKLINE(ma5>ma30 AND ma5<REF(ma5,1)
AND
ma30>=REF(ma30,1),ma5,ma30,0.8,0),coloryellow;//看多不做多
STICKLINE(ma5<ma30 AND
ma5<=REF(ma5,1) AND
ma30<REF(ma30,1),ma5,ma30,0.8,0),colorgreen;//看空做空
STICKLINE(ma5<ma30 AND ma5>REF(ma5,1)
AND
ma30<=REF(ma30,1),ma5,ma30,0.8,0),colorcyan;//看空不做空
STICKLINE(ma5>ma30 AND ma5>REF(ma5,1)
AND
ma30<=REF(ma30,1),ma5,ma30,0.8,0),colormagenta;//準備做多
STICKLINE(ma5<ma30 AND ma5<REF(ma5,1)
AND
ma30>=REF(ma30,1),ma5,ma30,0.8,0),colorblue;//準備做空
|