文华财经改变背景色多空支撑压力高低画线指标公式源码:
VAR14:=ZIGZAG(C,5,1);
DRAWTEXT((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),LOW,’买支撑’),COLORRED;
DRAWTEXT((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),H,’卖压力’),COLOR66FF00;
STICKLINE((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),CLOSE,OPEN,6,0),COLORYELLOW;
STICKLINE((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),CLOSE,OPEN,5,0),COLORYELLOW;
DRAWLINE1((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),LOW – (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),LOW – (LOW)*(0.05),0),LINETHICK5,COLORRED;
DRAWLINE1((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),LOW – (LOW)*(0.05),(REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),LOW – (LOW)*(0.08),0),LINETHICK5,COLORGREEN;
DRAWGBK(1,RGB(0,64,0),RGB(0,64,0),0);
DRAWGBK1(BARSLAST((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)))<BARSLAST((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1))),RGB(64,0,0));
VERTLINE(REFX((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),1),COLOR66FF00);
VERTLINE(REFX((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),1),COLORRED);
//{云析赢指标公式网,指标公式,指标源码,指标编写教程、指标破解指标论坛。www.zbgs518.com}
DRAWSL(REFX((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14> REF(VAR14,1)),1),REF(LOW – (LOW)*(0.05),BARSLAST(CROSS((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),0.5))),0,-BARSLAST(CROSS((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),0.5)),0,COLORGREEN);