设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

股票的公式有哪些?通达信变盘点副图指标公式

2016-6-8 11:09:19 股票入门 http://rumen.southmoney.com

股票的公式有哪些通达信变盘点副图指标公式 附:通达信自用MACD共振副图指标公式  南方财富网小编为您提供


【通达信变盘点副图指标公式】

VAR1:=MA(CLOSE,5);
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR4:=MA(CLOSE,60);
VAR5:=EMA(COST(85),7);
VAR6:=EMA(COST(15),7);
VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8:=INTPART(VAR7*100)/100;
VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA:=INTPART(VAR9*100)/100;
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARF:=EMA(VARD,9);
放空段: IF(VARD>VARF,VARF,VARE),COLOR00FF00,LINETHICK2;
持股段: IF(VARD< VARF,VARF,VARE),COLORRED,LINETHICK2;
VAR10:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR11:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR12:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR13:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR14:=REF(VARF,1);
VAR15:=VARF;
VAR16:=VAR15-VAR14;
VAR17:=REF(VARD,1);
VAR18:=VARD;
VAR19:=VAR18-VAR17;
VAR1A:=OPEN;
VAR1B:=CLOSE;
变盘点: IF(VAR1A<=VAR1 AND VAR1A<=VAR2 AND VAR1A<=VAR3 AND VAR1B>=VAR1 AND VAR1B>=VARC AND VAR16>0 AND VAR19>0,0.5,0), STICK,COLORWHITE;
VAR1C:=IF(CROSS(VARD,VARF) AND VARD<0 AND VARF<-0.2 AND VAR11>45 AND VAR16>0,0.3,0);
买进1: IF(VAR1C,0.5,0),COLORYELLOW;
DRAWICON(买进1,0.5,1);
VAR1D:=(2*CLOSE+HIGH+LOW)/4;
VAR1E:=LLV(LOW,34);
VAR1F:=HHV(HIGH,34);
VAR20:=EMA((VAR1D-VAR1E)/(VAR1F-VAR1E)*100,13);
VAR21:=EMA(0.667*REF(VAR20,1)+0.333*VAR20,2);
VAR22:=REF(CLOSE,1);
VAR23:=SMA(MAX(CLOSE-VAR22,0),6,1)/SMA(ABS(CLOSE-VAR22),6,1)*100;
卖出: IF(CROSS(84,VAR23),0.5,0),COLOR00FF00;
DRAWICON(卖出,0.5,2);
持仓:0,COLORFF00FF;
空仓:0,COLORGREEN;
STICKLINE(VAR20>VAR21,0,-0.02,10,1),COLORFF00FF;
STICKLINE(VAR20< VAR21,0,-0.02,10,1),COLORGREEN;

附:【通达信自用MACD共振副图指标公式】

DIF周:=EMA(CLOSE,12*5)-EMA(CLOSE,26*5);
DEA周:=EMA(DIF周,9*5);
MACD周:=(DIF周-DEA周)*2;
DIF日:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA日:=EMA(DIF日,9);
MACD日:=(DIF日-DEA日)*2;
DIF60:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
DEA60:=EMA(DIF60,9/2);
MACD60:=(DIF60-DEA60)*2;
DIF30:=(EMA(CLOSE,12/4)-EMA(CLOSE,26/4));
DEA30:=(EMA(DIF30,9/4));
MACD30:=(DIF30-DEA30)*2;
STICKLINE(MACD周>=0,0,MACD周,3,1),COLORRED;
STICKLINE(MACD周<0,0,MACD周,3,1),COLORFFFF00;
STICKLINE(MACD日>=0,0,MACD日,1.8,0),COLORRED;
STICKLINE(MACD日<0,0,MACD日,1.8,0),COLORFFFF00;
STICKLINE(MACD60>=0,0,MACD60,1,0),COLORYELLOW;
STICKLINE(MACD60<0,0,MACD60,1,0),COLORFFFF00;
STICKLINE(MACD30>=0,0,MACD30,0.5,0),COLORFF00FF;
STICKLINE(MACD30<0,0,MACD30,0.5,0),COLORFFFF00;
MACD日0:REF(MACD日,BARSLAST(MACD日=HHV(MACD日,0))),COLORWHITE,LINETHICK1;
MACD周0:REF(MACD周,BARSLAST(MACD周=HHV(MACD周,0))),COLORGREEN,LINETHICK1;

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

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。