程序化指标主力布局选股公式源码
发布日期: 2025-08-26 | 阅读量:22
EMA3 := EMA(C, 3);
EMA5 := EMA(C, 5);
EMA7 := EMA(C, 7);
EMA12 := EMA(C, 12);
EMA20 := EMA(C, 20);
EMA30 := EMA(C, 30);
趋势线 := EMA(EMA(C, 13), 13);
控盘力 := (趋势线 - REF(趋势线, 1)) / REF(趋势线, 1) * 1000;
有庄控盘 := 控盘力 > REF(控盘力, 1) AND 控盘力 > 0;
主力布局: (有庄控盘 AND CROSS(EMA3, EMA5) AND C > O AND C > REF(C,1) AND C/REF(C,1) >= 1.018) OR
(CROSS(EMA3, EMA12) AND C > O AND C > REF(C,1) AND C/REF(C,1) >= 1.018)
OR (CROSS(EMA5, EMA7) AND C > O AND C > REF(C,1) AND C/REF(C,1) >= 1.018)
OR(CROSS(EMA3, EMA7) AND C > O AND C > REF(C,1) AND C/REF(C,1) >= 1.018 AND CROSS(EMA3, EMA12));
