VARQS1:=SLOPE(EMA(CLOSE,2),5)*15+CLOSE;
VARQS2:=EMA(VARQS1,5);
VARQS3:=EMA(VARQS2,5);
VARQS4:=EMA(VARQS3,5);
VARQS5:=EMA(VARQS4,5);
VARQS6:=EMA(VARQS5,5);
VARQS7:=EMA(VARQS6,5);
VARQS8:=EMA(VARQS7,5);
VARQS9:=EMA(VARQS8,5);
VARQS10:=EMA(VARQS9,5);
VARQS11:=BARSLAST(CROSS(CLOSE,VARQS10));
VARQS12:=BARSLAST(CROSS(VARQS10,CLOSE));
STICKLINE(CLOSE>VARQS10 AND CLOSE>REF(CLOSE,VARQS11),REF(CLOSE,VARQS11),LOW*0.99,1,0),LINETHICK1,colorFF;
STICKLINE(CLOSE<VARQS10 AND CLOSE<REF(CLOSE,VARQS12),REF(CLOSE,VARQS12),HIGH*1.01,1,0),LINETHICK1,colorFF0000;
STICKLINE(CLOSE>VARQS10 AND CLOSE<REF(CLOSE,VARQS11),REF(CLOSE,VARQS11),LOW,1,0),colorFFFF;
红涨:STICKLINE(CLOSE>VARQS10,REF(CLOSE,VARQS11),REF(CLOSE,VARQS11),1,0),LINETHICK2,colorFF;
黄洗:STICKLINE(CLOSE>VARQS10 AND CLOSE<REF(CLOSE,VARQS11),REF(CLOSE,VARQS11),REF(CLOSE,VARQS11),1,0),LINETHICK2,colorFFFF;
蓝跌:STICKLINE(CLOSE<VARQS10,REF(CLOSE,VARQS12),REF(CLOSE,VARQS12),1,0),LINETHICK2,colorFF0000;