同花顺双线判断涨跌趋势的指标-价均线差源码免费公式
m=MA(CLOSE,2);
A=MA(CLOSE,5);
B=MA(CLOSE,10);
d=MA(CLOSE,20);
e=MA(CLOSE,30);
F=MA(CLOSE,60);
AA=MAX(ABS(A-m),ABS(B-m));
BB=MAX(ABS(d-m),ABS(e-m));
aaa=IF(AA》BB,AA,BB);
bbb=IF(aaa》ABS(F-m),aaa,ABS(F-m));
t=bbb;
STICKLINE(((REF(t,1)》=REF(HHV(t,35),1) AND A《MA(CLOSE,1) AND F》A AND t《REF(t,1)) OR (REF(t,1)》=REF(HHV(t,35),1) AND C-A》REF(C,1)- REF(A,1) AND F》A AND t《REF(t,1))),1,t,4),coloryellow;
STICKLINE(COUNT(((REF(t,1)》=REF(HHV(t,35),1) AND A《MA(CLOSE,1) AND F》A AND t《REF(t,1)) OR
(REF(t,1)》=REF(HHV(t,35),1) AND C-A》REF(C,1)- REF(A,1) AND F》A AND t《REF(t,1))),7)》=1 AND t》MA(T,7) AND 2*MA(T,7)-REF(MA(T,7),1)+REF(t,1)-t》=T,MA(T,7),t,10),coloryellow;
N:MA(T,7),colorred;
P:bbb,colorgreen;
q:MA(t,3),colorwhite;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!