当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:自用组合主图(源码)
软件名称:[B]自用组合主图(源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2010-11-21 15:49:14
软件简介:
KS:=((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(-100);
趋势线:=EMA(KS/10+EMA(CLOSE,10),3);
AA:= -100*(趋势线-CLOSE)/趋势线;
AC:=EMA(AA,5);
SSL:=EMA(CLOSE,3);
MMV:=EMA(SLOPE(CLOSE,22)*20+CLOSE,55);
MM:=1;
SA:=0.985;
SS1:=MA(CLOSE,5);
DD:=MA(CLOSE,13);
GG:=MA(CLOSE,21);
空方:IF(SSL>MM,MA(MMV,8),SA),LINETHICK1,COLORFFFFFF;
多方:IF(SSL>MM,MA(MMV,16),SA),LINETHICK2,COLORFF00FF;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)>0 OR REF(SS,1)<0,REF(SS,1),IF(REF(SS,2)>0 OR REF(SS,2)<0,REF(SS,2),IF(REF(SS,3)>0 OR REF(SS,3)<0,REF(SS,3),IF(REF(SS,4)>0 OR REF(SS,4)<0,REF(SS,4),IF(REF(SS,5)>0 OR REF(SS,5)<0,REF(SS,5),IF(REF(SS,6)>0 OR REF(SS,6)<0,REF(SS,6),IF(REF(SS,7)>0 OR REF(SS,7)<0,REF(SS,7),0)))))));
宝塔线:IF(REF(SS,1)>0 OR REF(SS,1)<0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLORGREEN,LINETHICK1;
STICKLINE(C>O,HIGH,LOW,0,0),COLORRED;
STICKLINE(C<O,HIGH,LOW,0,0),COLOR00BB00;
STICKLINE(C>宝塔线,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(C<宝塔线,CLOSE,OPEN,2,1),COLOR00BB00;
VAR51:=(HIGH+LOW+OPEN+CLOSE)/4;
VAR53:=2*EMA(LLV(VAR51,7),10)-VAR51;
乾坤线:3*VAR53-2*SMA(VAR53,10,1),COLORRED;
趋势线:=EMA(KS/10+EMA(CLOSE,10),3);
AA:= -100*(趋势线-CLOSE)/趋势线;
AC:=EMA(AA,5);
SSL:=EMA(CLOSE,3);
MMV:=EMA(SLOPE(CLOSE,22)*20+CLOSE,55);
MM:=1;
SA:=0.985;
SS1:=MA(CLOSE,5);
DD:=MA(CLOSE,13);
GG:=MA(CLOSE,21);
空方:IF(SSL>MM,MA(MMV,8),SA),LINETHICK1,COLORFFFFFF;
多方:IF(SSL>MM,MA(MMV,16),SA),LINETHICK2,COLORFF00FF;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)>0 OR REF(SS,1)<0,REF(SS,1),IF(REF(SS,2)>0 OR REF(SS,2)<0,REF(SS,2),IF(REF(SS,3)>0 OR REF(SS,3)<0,REF(SS,3),IF(REF(SS,4)>0 OR REF(SS,4)<0,REF(SS,4),IF(REF(SS,5)>0 OR REF(SS,5)<0,REF(SS,5),IF(REF(SS,6)>0 OR REF(SS,6)<0,REF(SS,6),IF(REF(SS,7)>0 OR REF(SS,7)<0,REF(SS,7),0)))))));
宝塔线:IF(REF(SS,1)>0 OR REF(SS,1)<0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLORGREEN,LINETHICK1;
STICKLINE(C>O,HIGH,LOW,0,0),COLORRED;
STICKLINE(C<O,HIGH,LOW,0,0),COLOR00BB00;
STICKLINE(C>宝塔线,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(C<宝塔线,CLOSE,OPEN,2,1),COLOR00BB00;
VAR51:=(HIGH+LOW+OPEN+CLOSE)/4;
VAR53:=2*EMA(LLV(VAR51,7),10)-VAR51;
乾坤线:3*VAR53-2*SMA(VAR53,10,1),COLORRED;
[url=http://www.70822.com/soft/sort013/sort05/down-27340.html]自用组合主图(源码)[/url]