通达信三逃指标
2016-02-16 11:04:00来源:本站整理浏览:189
通达信三逃指标
源码
N1:=5;N2:=10;
SHI:=REF(CLOSE,1);
SHOU:SMA(MAX(CLOSE-SHI,0),N1,1)/SMA(ABS(CLOSE-SHI),N1,1)*100;
TOU:SMA(MAX(CLOSE-SHI,0),N2,1)/SMA(ABS(CLOSE-SHI),N2,1)*100;
DRAWBAND(SHOU,RGB(255,150,0),TOU,RGB(0,130,50));
清仓:95,COLORGREEN;
减仓:90,COLORCYAN;
均线:45,COLORYELLOW;
警觉:80,COLORMAGENTA;
抄底:10,COLORRED;
DRAWTEXT(ISLASTBAR,清仓,'清仓');
DRAWTEXT(ISLASTBAR,减仓,'减仓');
DRAWTEXT(ISLASTBAR,警觉,'警觉');
- 上一篇公式:通达信PDI上穿20线选股公式
- 下一篇公式:通达信MACD量价公式