通达信密码分时主图公式

2016-01-18 09:49:00来源:本站整理浏览:221

通达信密码分时主图公式

源码

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2,COLORSTICK;

K1:=IF(PERIOD=0 ,"分时引.密码3#DAY",DRAWNULL);

D1:=IF(PERIOD=0 ,"分时引.密码1#DAY",DRAWNULL);

F1:=IF(PERIOD=0 ,"分时引.密码4#DAY",DRAWNULL);

J1:=IF(PERIOD=0 ,"分时引.密码2#DAY",DRAWNULL);

昨收:=IF(PERIOD=0 ,"分时引.ZS#DAY",DRAWNULL);

RCC:=昨收;

STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),RCC*1,MACD*5+RCC*1,0,0),COLOR992299,LINETHICK3;

STICKLINE(MACD>=0 AND MACD< REF(MACD,1),RCC*1,MACD*5+RCC*1,0,0),COLOR774422,LINETHICK3;

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),RCC*1,MACD*5+RCC*1,0,0),COLOR064499,LINETHICK3;

STICKLINE(MACD<0 AND MACD< REF(MACD,1),RCC*1,MACD*5+RCC*1,0,0),COLOR774422,LINETHICK3;

IF(PERIOD=0 ,C,DRAWNULL)LINETHICK1,COLORCCCCCC;

分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW;

J1,COLORYELLOW,LINETHICK1;

D2:D1+(昨收-K1),DOTLINE,COLORWHITE,LINETHICK1;

J2:J1+(昨收-F1),COLORWHITE,LINETHICK1;

{所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.08,0.01,1,DYBLOCK),COLORYELLOW;

所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.1,0.01,0,HYBLOCK),COLORYELLOW;};
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式