在线检测未来函数

通达信行业概念指标公式

来源:Internet,编辑:股旁网,2011-04-11

N:=2;
K:=(DATE<1341230);
XD1:=INDEXO;
XD2:=INDEXH;
XD3:=INDEXL;
XD4:=INDEXC;
对应指数开:INDEXO,COLOR0000FF,NODRAW;
{盘:INDEXO,COLOR0000FF,NODRAW;}
盘中最高:INDEXH,NODRAW;
盘中最低:INDEXL,NODRAW;
收盘点:INDEXC,NODRAW;
{位:INDEXC,NODRAW;}
大盘资金增减:(100*((INDEXV/REF(INDEXV,1))-1)),COLORFFFF00,NODRAW;
JJ:=(XD4+XD2+XD3)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
{买卖}
决策点位:B,COLORFFFFFD,NODRAW;
当日换:SUM(100*V/CAPITAL,1),NODRAW;
五日换:SUM(100*V/CAPITAL,5),NODRAW;
{短线macd}
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR2:=EMA(VAR1,50);
VAR3:=2*(VAR1-VAR2);
FD:=2*(VAR2-VAR1);
MACD渐弱:IF(VAR3<REF(VAR3,1)&&VAR3>0,VAR3,0),COLORYELLOW,LINETHICK4,STICK;
MACD强势:IF(VAR3>=REF(VAR3,1) AND VAR3>0,VAR3,0),COLORRED,LINETHICK4,STICK;
MACD走强:IF(VAR3>REF(VAR3,1) AND VAR3<0,VAR3,0),COLORFFC8FF,LINETHICK4,STICK;
MACD走弱:IF(VAR3<=REF(VAR3,1) AND VAR3<0,VAR3,0),COLORFFCC66,LINETHICK4,STICK;
{STICKLINE(VAR3<REF(VAR3,1) AND VAR3>0,0,VAR3,2,1),COLORYELLOW;
STICKLINE(VAR3>=REF(VAR3,1) AND VAR3>0,0,VAR3,2,1),COLORRED;
STICKLINE(VAR3>REF(VAR3,1) AND VAR3<0,0,VAR3,2,1),COLORFFC8FF;
STICKLINE(VAR3<=REF(VAR3,1) AND VAR3<0,0,VAR3,2,1),COLORFFCC66;}
{股旁网-股票公式网站 www.GupaNG.com}
短趋:EMA(CLOSE,12)-EMA(CLOSE,26),COLORGREEN;
长趋:EMA(短趋,50),COLORFF00FF;
{简单基本面信息}
流通盘大小:=FINANCE(7)/1000000*100,NODRAW;{
销售毛利率:=FINANCE2(12);
净利润同比增长:=FINANCE2(10);}
吸筹:=BARSLAST(FILTER(crOSS("kd.K","KD.D") AND "KD.D"<30,13));
主力吸筹区:=IF(吸筹>0 AND 吸筹<61,吸筹,0);
介入时机:IF(VAR2<0.8 AND CROSS(0,FD),-0.3,DRAWNULL),COLORFF00FF,LINETHICK3,CROSSDOT;

通达信行业概念指标公式

相关文章