长期布林带。仅作对比只用。没什么特别之处。仅适用于长期分析
MID :EMA(CLOSE,60);
UPPER: MID + 2*STD(CLOSE,60);
LOWER: MID - 2*STD(CLOSE,60);
zt1:=(CLOSE-CLOSE[1])/CLOSE[1]*100;
zt2:=(CLOSE+0.005-CLOSE[1])/CLOSE[1]*100;
zt=IF(zt1>=10 OR zt1<10 AND zt2>=10,1,0);
STICKLINE(C>=O,H,L,0,1), colorred;
IF zt THEN
STICKLINE(C>=O,C,O,6,1), coloryellow;
ELSE
STICKLINE(C>=O,C,O,6,1), colorred;
STICKLINE(C< O,H,L,0,0), ColorFFFF00;
STICKLINE(C< O,C,O,6,0),ColorFFFF00;