通达信三逃指标

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,警觉,'警觉');




 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式