VAR1 := IF((YEAR >= 2014) AND (MONTH > 12),0,1);
BBI := (((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4;
UPR := BBI + (1.88 * STD(BBI,9));
DWN := BBI - (1.88 * STD(BBI,9));
拉升线 : (MA(UPR,12) * 1.06) * VAR1,COLORWHITE,LINETHICK3;
IUYG := MA(DWN,12) * 0.938;
RSV := ((CLOSE - LLV(LOW,40)) / (HHV(HIGH,40) - LLV(LOW,40))) * 100;
KQQ := SMA(RSV,9,1);
DQQ := SMA(KQQ,9,1);
趋势 : ((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4) * VAR1;
突破线 : HHV(CLOSE,5) * VAR1,COLORGREEN;
STICKLINE(CROSS(突破线,拉升线) * VAR1,O,C,1,0),COLORYELLOW;
DRAWTEXT(CROSS(突破线,拉升线) * VAR1,L,1),COLORYELLOW;
X : (IF(拉升线 <= HHV(CLOSE,5),拉升线,DRAWNULL)) * VAR1,COLORMAGENTA,LINETHICK3;