通达信最新指标公式 通达信七均均线主图公式源码
2016-09-25 14:00 股票知识 zhishi.southmoney.com
一七均:EXPMA(C,7);
三七均:EXPMA(C,21);
六七均:EXPMA(C,42);
九七均:EXPMA(C,63),LINETHICK2;
十二七均:EXPMA(C,84);
十五七均:EXPMA(C,105);
五线条件:=O<十五七均 AND C>一七均 AND 一七均>三七均 AND 三七均>六七均;
STICKLINE(五线条件>0,O,C,2.5,0),COLORYELLOW;
TJ1:=O<一七均 AND O<三七均 AND O<六七均 AND O<九七均 AND O<十二七均 AND O<九七均 AND O<十五七均;
TJ2:=C>一七均 AND C>三七均 AND C>六七均 AND C>九七均 AND C>十二七均 AND C>九七均 AND C>十五七均;
一阳穿四线:=TJ1 AND TJ2 AND C>O;
DRAWTEXT(一阳穿四线,H*1.018,'【串串】'),COLORYELLOW;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK;
(股票知识网zhishi.southmoney.com)
三七均:EXPMA(C,21);
六七均:EXPMA(C,42);
九七均:EXPMA(C,63),LINETHICK2;
十二七均:EXPMA(C,84);
十五七均:EXPMA(C,105);
五线条件:=O<十五七均 AND C>一七均 AND 一七均>三七均 AND 三七均>六七均;
STICKLINE(五线条件>0,O,C,2.5,0),COLORYELLOW;
TJ1:=O<一七均 AND O<三七均 AND O<六七均 AND O<九七均 AND O<十二七均 AND O<九七均 AND O<十五七均;
TJ2:=C>一七均 AND C>三七均 AND C>六七均 AND C>九七均 AND C>十二七均 AND C>九七均 AND C>十五七均;
一阳穿四线:=TJ1 AND TJ2 AND C>O;
DRAWTEXT(一阳穿四线,H*1.018,'【串串】'),COLORYELLOW;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK;
(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。