通达信实用的宝塔线指标公式
2020/9/29 18:06:52
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 .kanguba.com
其它股票公式列表