宝塔线叠加主图通达信公式 主图 源码 K线图_通达信主图指标_通达信软件

MACD精确背离通达信公式 副图 源码 K线图

AT:=REF(C*1.392,1);
HH:=MAX(C*1.392,AT);
LL:=MIN(C*1.392,AT);
ZY:=REF(C*1.392,1)>REF(LL,1);
ZD:=REF(C*1.392,1)<REF(HH,1);
STICKLINE(C*1.392>=AT,LL,HH,2.7,0),COLORRED;
STICKLINE(C*1.392<AT,LL,HH,2.7,0),COLOR008000;
STICKLINE(ZY AND C*1.392>=REF(AT,1),LL,HH,2.7,0),COLORRED;
STICKLINE(ZY AND C*1.392<REF(AT,1),HH,REF(AT,1),2.7,0),COLORRED;
STICKLINE(ZY AND C*1.392<REF(AT,1),REF(AT,1),C*1.392,2.7,0),COLOR008000;
STICKLINE(ZD AND C*1.392<=REF(AT,1),LL,HH,2.7,0),COLOR008000;
STICKLINE(ZD AND C*1.392>REF(AT,1),LL,REF(AT,1),2.7,0),COLOR008000;
STICKLINE(ZD AND C*1.392>REF(AT,1),REF(AT,1),C*1.392,2.7,0),COLORRED;
 

通达信线性回归分析主图