SHORT:=12;LONG:=26;MID:=9;
M12:=EMA((((HIGH-REF(LOW,1))-(LOW-REF(HIGH,1)))/2)+C,SHORT);
M26:=EMA((((HIGH-REF(LOW,1))-(LOW-REF(HIGH,1)))/2)+C,LONG);
DIFF:(M12-M26)/2; DEA:EMA(DIFF,MID);
HISTOGRAM:(DIFF-DEA)*2,COLORSTICK;
{ GUPANG.COM 股-旁-网_通达信股票指标公式}
STICKLINE(HISTOGRAM0,0,HISTOGRAM,-2,0),COLORLIGREEN;
STICKLINE(HISTOGRAMSTICKLINE(HISTOGRAM>REF(HISTOGRAM,1)AND HISTOGRAM,0,HISTOGRAM,-2,0),COLORLIRED;
STICKLINE(HISTOGRAM>REF(HISTOGRAM,1)AND HISTOGRAM>0,0,HISTOGRAM,-3,0),COLORLIMAGENTA;
DRAWBAND(DIFF,RGB(250,250,250),DIFF,RGB(250,250,250));
DRAWBAND(DEA,RGB(250,250,0),DEA,RGB(250,250,0));
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!