短线计算 胡氏短线次日结果提前计算
2014-11-4 12:38:04点击:
胡氏短线次日结果提前计算
专门用来辅助胡氏短线指标的
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);
代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!