同花顺怎么加自选股?同花顺价均线差公式源码
2016-09-21 11:17 股票知识 zhishi.southmoney.com
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;
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;
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。