背离警戒
2011-03-11 08:53:00来源:本站整理浏览:84
LC:=REF(CLOSE,1);
RS1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BTR:=MAX(MAX((RS1-RS1),ABS(REF(RS1,1)-RS1)),ABS(REF(RS1,1)-RS1));
ATR:=MA(BTR,15);
RS:=MA(RS1,6),COLOR0000FF,NODRAW;
UP:=RS+2.3*ATR,COLORAABB00,NODRAW;
DN:=RS-2.1*ATR,COLORBBAA00,NODRAW;
背离:RS,LINETHICK2,COLORRED;
RSI:RS1,COLORWHITE;
警戒:85,COLORBLUE;
安全:15,COLORBLUE;
PA2:=BARSLAST(CLOSE=HHV(CLOSE,150));
PA1:=BARSLAST(CLOSE=LLV(CLOSE,150));
DRAWICON(CROSS(PA1,PA2),RS,5);
DRAWICON(CROSS(PA2,PA1),RS,6);
- 上一篇公式:天地分时(操盘、持股、支撑)
- 下一篇公式:十指金叉改进版--个指标不可靠,所有指标发生共振的时候趋势已经不可扭转