MID: 9 (1.00--200.00)当出现本预警时,根据1分钟K线的MACD指标,逢低买入,第二天逢高卖出。}
M1:=5;M2:=10;SHORT:=12;LONG:=26;MID:=9;
VAR0 := MA(C,M1);
VAR1 := MA(C,M2);
VAR2 := ((REF(C,2) - REF(C,3)) / REF(C,3)) 0.05;
VAR3 := EMA(C,SHORT) - EMA(C,LONG);
VAR4 := EMA(VAR3,MID);{www.9m8.cn 九毛八公式指标网}
VAR5 := (VAR3 - VAR4) * 2;
OK : ((((((((VAR2 AND ((VAR1 - REF(VAR1,1)) (REF(VAR1,1) - REF(VAR1,2)))) AND (REF(C,1) REF(OPEN,2))) AND ((VAR0 - REF(VAR0,1)) (REF(VAR0,1) - REF(VAR0,2)))) AND (REF(DYNAINFO(37),1) REF(DYNAINFO(37),2))) AND ((REF(DYNAINFO(37),1) / REF(DYNAINFO(37),2)) 0.85)) AND ((LOW - VAR0) 0.11)) AND (VAR0 VAR1)) AND (VAR0 REF(VAR0,1))) AND (REF(VAR0,1) REF(VAR0,2));
{请设置计算参数:
M1: 5 (1.00--100.00)
M2: 10 (1.00--1000.00)
SHORT: 12 (1.00--200.00)
LONG: 26 (1.00--200.00)
MID: 9 (1.00--200.00)当出现本预警时,根据1分钟K线的MACD指标,逢低买入,第二天逢高卖出。}
M1:=5;M2:=10;SHORT:=12;LONG:=26;MID:=9;
VAR0 := MA(C,M1);
VAR1 := MA(C,M2);
VAR2 := ((REF(C,2) - REF(C,3)) / REF(C,3)) 0.05;
VAR3 := EMA(C,SHORT) - EMA(C,LONG);
VAR4 := EMA(VAR3,MID);{www.9m8.cn 九毛八公式指标网}
VAR5 := (VAR3 - VAR4) * 2;
OK : ((((((((VAR2 AND ((VAR1 - REF(VAR1,1)) (REF(VAR1,1) - REF(VAR1,2)))) AND (REF(C,1) REF(OPEN,2))) AND ((VAR0 - REF(VAR0,1)) (REF(VAR0,1) - REF(VAR0,2)))) AND (REF(DYNAINFO(37),1) REF(DYNAINFO(37),2))) AND ((REF(DYNAINFO(37),1) / REF(DYNAINFO(37),2)) 0.85)) AND ((LOW - VAR0) 0.11)) AND (VAR0 VAR1)) AND (VAR0 REF(VAR0,1))) AND (REF(VAR0,1) REF(VAR0,2));