胡氏短线次日结果提前计算
专门用来辅助胡氏短线指标的
IF (CURRBARSCOUNT > 0)
{
T1 := (REFX(&CLOSE, 1) * 2 + REFX(&HIGH, 1) + REFX(&LOW, 1)) / 4;
}
ELSE
{
IF (DEFAULT == 1)
{
IF (FEN == 1)
{
T1 := (CLOP * 2 + HIGP + LOWP ) / 400;
}
ELSE
{
T1 := (CLOP * 2 + HIGP + LOWP ) / 4;
}
}
ELSE
{
T1 := CLOSE;
}
}
T2 := EMA(EMA(EMA(T1, 4), 4), 4);
J : (T2 - REF(T2, 1)) / REF(T2, 1) * 100;
D : MA(J, 3);
K : MA(J, 1);
DRAWGBK(K >= D), RGB(40, 10, 10);