通达信实用的宝塔线指标公式
2020/9/29 18:38: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;
投股 票网 www.tou1 8.cn
股市公式下载推荐