展开全部
PBX1:=(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;
PBX2:=(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;
PBX3:=(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;
PBX4:=(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
PBX5:=(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
PBX6:=(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;
HH:=MAX(PBX1,MAX(PBX2,MAX(PBX3,MAX(PBX4,MAX(PBX5,PBX6)))));
LL:=MIN(PBX1,MIN(PBX2,MIN(PBX3,MIN(PBX4,MIN(PBX5,PBX6)))));
X:REF(LL=PBX1,1) AND HH=PBX1;
PBX的相关参数就不多说了,
注意:别因为没有设置参数(M1-----M6)使得公式不能通过
PBX2:=(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;
PBX3:=(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;
PBX4:=(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
PBX5:=(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
PBX6:=(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;
HH:=MAX(PBX1,MAX(PBX2,MAX(PBX3,MAX(PBX4,MAX(PBX5,PBX6)))));
LL:=MIN(PBX1,MIN(PBX2,MIN(PBX3,MIN(PBX4,MIN(PBX5,PBX6)))));
X:REF(LL=PBX1,1) AND HH=PBX1;
PBX的相关参数就不多说了,
注意:别因为没有设置参数(M1-----M6)使得公式不能通过
追问
没有M6的啊!能不能加上M6
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询