通达信趋势宝典主图指标公式
通达信趋势宝典主图指标公式
SHORT:=12;
LONG:=26;
MID:=9;
RMACD:="MACD.MACD";
H3:=REF(RMACD,3);
H2:=REF(RMACD,2);
H1:=REF(RMACD,1);
H0:=RMACD;
买:H2<0 AND H3>H2 AND H2>H1 AND H0>H1;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN;
IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED;
IF(DEA<REF(DEA,1),DEA,DRAWNULL),LINETHICK2,COLORGREEN;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),LINETHICK2,COLORRED;
A:STICKLINE(MACD<REF(MACD,1),0,MACD,1,0),COLORGREEN;
B:STICKLINE(MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2),0,MACD,1,0),COLORYELLOW;
绿面:10*IF (MACD<0,SUM(MACD,BARSLAST(MACD>0)),0),LINETHICK0,COLOR00FF00,NODRAW;
红面:10*IF (MACD>0,SUM(MACD,BARSLAST(MACD<0)),0),LINETHICK0,COLORRED,NODRAW;
(股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--)
【股票资源馆】股票软件破解,大智慧软件破解,通达信软件破解,指南针软件破解,大智慧策略投资终端破解版,大智慧沪深10档L2数据,理想论坛,公式指标编写。
通达信骗线均线主图指标公式
通达信骗线均线主图指标公式