编写要求:
CB:=AMOUNT*0.01/VOL; M1:EMA(EMA(CB,4),2); M2:EMA(EMA(CB,6),2); M3:EMA(EMA(CB,8),2); M4:EMA(EMA(CB,10),2); M5:EMA(EMA(CB,12),2); M6:EMA(EMA(CB,14),2); M7:EMA(EMA(CB,16),2); M8:EMA(EMA(CB,18),2);
公式在线网解答:
CB:=AMOUNT*0.01/VOL;
M1:=EMA(EMA(CB,4),2);
M2:=EMA(EMA(CB,6),2);
M3:=EMA(EMA(CB,8),2);
M4:=EMA(EMA(CB,10),2);
M5:=EMA(EMA(CB,12),2);
M6:=EMA(EMA(CB,14),2);
M7:=EMA(EMA(CB,16),2);
M8:=EMA(EMA(CB,18),2);
粘合:BETWEEN(MAX(M1,MAX(M2,MAX(M3,MAX(M4,MAX(M5,MAX(M6,MAX(M7,M8)))))))/MIN(M1,MIN(M2,MIN(M3,MIN(M4,MIN(M5,MIN(M6,MIN(M7,M8))))))),1.01,1.001);