通达信飞龙副图指标

2016-02-16 11:04:00来源:本站整理浏览:216

通达信飞龙副图指标

源码

N:=5;

AA:=(C-REF(C,1))/REF(C,1)*1000;
TJ:=AA>10 AND LAST(REF(AA,1)<10,N,1);
T1:MA(AA,3),COLOR0000FF;
T2:MA(AA,89),COLOR00FFFF;
DRAWBAND(T1,RGB(200,50,55),T2,RGB(0,100,50));
遵:IF(T1>=T2,T1,DRAWNULL),COLORRED; 
守:IF(T2>=T1,T2,DRAWNULL),COLORFF9900;
纪:IF(T1>=T2,T2,DRAWNULL),COLOR00FFFF;
律:IF(T2>=T1,T1,DRAWNULL),COLOR00FF00;
STICKLINE(TJ,0,30,3,0),COLOR00FFFF;
DRAWTEXT(FILTER(TJ,3),30,"飞龙"),COLOR00FFFF;
TJ1:=FILTER(CROSS(T1,T2),5);
DRAWICON(TJ1,T2,23);

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式