您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通信达公式导入 通达信中线波段主图公式源码(2)

2017-04-07 09:36    股票知识   zhishi.southmoney.com
    

VAR3:=(MA(C,5)-Z)/Z;
VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);
D1:DRAWTEXT(CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) ,0.99*LOW ,'★B'),COLORRED;
D2:DRAWTEXT(REF(VAR4,1)<7 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.1,0.99*LOW ,'★B'),COLORGREEN;
D3:DRAWTEXT(CROSS(VAR4,5) AND VAR3<-0.3,0.99*LOW ,'★B'),COLORBLUE;
VAR33:=(MA(H,5)-Z)/Z;
VAR44:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
D11:DRAWTEXT(CROSS(95,VAR44) AND VAR33>0.3,1.01*HIGH ,'★S'),COLORRED;
D22:DRAWTEXT( CROSS(93,VAR44) AND HHV(H,30)/LLV(L,30)>1.1 AND REF(Z,1)/Z>0.997 ,1.01*HIGH ,'★S'),COLORGREEN;
D33:DRAWTEXT(CLOSE<Z AND Z<REF(Z,1) AND REF(VAR44,1)>90 AND VAR44<REF(VAR44,1) AND REF(VAR44,1)>REF(VAR44,2) ,1.01*HIGH,'★S'),COLORBLUE;
A5:=(MA(CLOSE,4)+MA(CLOSE,5))/2;
A9:=MA(CLOSE,9);
A36:=MA(CLOSE,36);
A153:=MA(CLOSE,153);
ZQ:=PERIOD;
MX:=IF(ZQ=10,A5,IF(ZQ=7,A9,IF(ZQ=6,A36,A153)));
FJTJ:=(ZQ>4)AND (ZQ!=8)AND (ZQ!=9)AND (ZQ!=11);
牛红:DRAWICON(CROSS(CLOSE,MX)*FJTJ,LOW*0.998,17);

 


更多股票公式相关资讯请关注南方财富网


 

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号