通达信主力进场指标公式源码
发布日期: 2025-08-11 | 阅读量:34
ABC1 := (C * 2 + H + L) / 4 * 10;
ABC2 := EMA(ABC1, 13) - EMA(ABC1, 34);
ABC3 := EMA(ABC2, 5);
ABC4 := 2 * (ABC2 - ABC3) * 5.5;
{ 主力进场指标WWWW.WYCXHZB.COM }
ZHULIJIN := IF(ABC4 >= 0, ABC4 * 3, 0), COLORRED;
DRAWBAND(ZHULIJIN, RGB(200,10,10), 0, RGB(10,200,10));
D := (CLOSE - LLV(LOW,34)) / (HHV(HIGH,21) - LLV(LOW,34)) * 100;
ZHULIXIAN := (EMA(D,3) - 50) * 2, COLORGRAY;
CHAODIXIAN := -85, COLORCYAN, POINTDOT;
JIANDINGXIAN := 95, COLORGREEN, POINTDOT;
{ 趋势判断:EXPMA10 与 EXPMA60 交叉 }
STICKLINE(EXPMA(C,10) < EXPMA(C,60), 0, 10, 2.0, 0), COLORGREEN;
STICKLINE(EXPMA(C,10) > EXPMA(C,60), 15, 25, 2.0, 0), COLORMAGENTA;
DRAWICON(ZHULIJIN > 20 AND ZHULIXIAN > 0, 0 * 1.002, 1);
