通达信试底选股指标公式
2021/3/7 18:52:42
MA1:=EMA(CLOSE,12);
MA2:=EMA(CLOSE,50);
CC:=CROSS(MA1,MA2);
BB:=BARSLAST(CC);
CC1:=CROSS(MA1,L) AND C>MA1 AND BB AND MA1>MA2 AND MA2>REF(MA2,1);
CC2:=CROSS(MA2,L) AND C>MA2 AND BB AND MA1>MA2 AND MA2>REF(MA2,1);
选股:CC OR CC1 OR CC2;
投 股票网 www .tou18.cn
[源码翻译]通达信软件动态翻译的结果
MA1赋值:收盘价的12日指数移动平均
MA2赋值:收盘价的50日指数移动平均
CC赋值:MA1上穿MA2
BB赋值:上次CC距今天数
CC1赋值:MA1上穿最低价 AND 收盘价>MA1 AND BB AND MA1>MA2 AND MA2>1日前的MA2
CC2赋值:MA2上穿最低价 AND 收盘价>MA2 AND BB AND MA1>MA2 AND MA2>1日前的MA2
输出选股:CC OR CC1 OR CC2
股市公式下载推荐