指标介绍: VAR2:=VAR1>REF(VAR1,1); VAR3:=REF(VAR1,BARSLAST(VAR1>REF(VAR1,1))); VAR4:=IF(VAR2,VAR1,VAR3); VAR5:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; VAR6:=(EMA(CLOSE,13)-REF(EMA(CLOSE,13),1))/REF(EMA(CLOSE,13),1)*10000; VAR7:=REF(LOW,BARSLAST(CROSS(VAR6,0))); 短线止损:IF(CLOSE VAR8:=起爆线=REF(起爆线,1); VAR9:=BARSLAST(NOT(VAR8)),NODRAW; IF(CLOSE>=短线止损,短线止损,DRAWNULL),COLOR8000FF,LINETHICK2; DRAWTEXT_FIX(C>O,0,0.07,0,'VAR8:VAR9'),COLORMAGENTA; STICKLINE(VAR5>=9.84,CLOSE,OPEN,3.4,0),COLOR00AAFF; STICKLINE(VAR5>=9.84,CLOSE,OPEN,2,0),COLOR00CCFF; STICKLINE(VAR5>=9.84,CLOSE,OPEN,0.5,0),COLORYELLOW; STICKLINE(VAR5>=9.84,CLOSE,OPEN,0.5,0),COLORRED; DRAWNUMBER(VAR8>=0,起爆线,VAR9+1),COLORRED;
|