在线检测未来函数

通达信实用的宝塔线指标公式

来源:Internet,编辑:股旁网,2015-12-08

AA:=REF(C,1);
HH:=MAX(C,AA);
LL:=MIN(C,AA);
ZY:=REF(C,1)>REF(LL,1);
ZD:=REF(C,1)<REF(HH,1);
STICKLINE(C>=AA,LL,HH,2.7,1),COLOR4A4AFF;
STICKLINE(C<AA,LL,HH,2.7,0),COLOR919148;
STICKLINE(ZY AND C>=REF(AA,1),LL,HH,2.7,1),COLOR4A4AFF;
STICKLINE(ZY AND C<REF(AA,1),HH,REF(AA,1),2.7,1),COLOR4A4AFF;
STICKLINE(ZY AND C<REF(AA,1),REF(AA,1),C,2.7,0),COLOR919148;
STICKLINE(ZD AND C<=REF(AA,1),LL,HH,2.7,0),COLOR919148;
STICKLINE(ZD AND C>REF(AA,1),LL,REF(AA,1),2.7,0),COLOR919148;
STICKLINE(ZD AND C>REF(AA,1),REF(AA,1),C,2.7,1),COLOR4A4AFF;
N:=IF(BARSCOUNT(C)>=3,5,BARSCOUNT(C));
AMOV:=vol*(C+L+H)/3;
趋势:SUM(AMOV,N)/SUM(VOL,N),NODRAW;
持股:IF(C>=趋势, 趋势,DRAWNULL),COLOR5B5BFF;
持币:IF(C<趋势, 趋势,DRAWNULL),COLOR3D3D3D;

通达信实用的宝塔线指标公式

相关文章