通达信箭上必是强势股
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA涨:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),
STICK,COLORRED,LINETHICK1;
AAA跌:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
买入线:15;{股票指标网}
房子:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(房子,买入线),买入线,1);
未来函数检测结果如下:
该公式包含未来函数:DCLOSE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
DIF1赋值:D收盘价的12日指数移动平均-D收盘价的26日指数移动平均
DEA1赋值:DIF1的9日指数移动平均
AAA1赋值:(DIF1-DEA1)*2*60
输出
AAA涨:IF(AAA1>1日前的AAA1,AAA1,DRAWNULL),
STICK,画红色,LINETHICK1
输出
AAA跌:IF(AAA1<1日前的AAA1,AAA1,DRAWNULL),STICK,画黄色,LINETHICK1
输出
买入线:15
输出{股票指标网}
房子:AAA1-1日前的AAA1,画红色
DRAWICON(房子上穿买入线,买入线,1)