HGW1:=MA(CLOSE,5);
HGW2:=MA(CLOSE,10);
HGW3:=MA(CLOSE,30);
HGW4:=MA(CLOSE,60);
HGW5:=MA(CLOSE,120);
HGW6:=0;
指标平台:=MAX(MAX(MAX(HGW1,HGW2),MAX(HGW3,HGW4)),HGW5);
股朋指标网:=MIN(MIN(MIN(HGW1,HGW2),MIN(HGW3,HGW4)),HGW5);
XG:BARSLAST(O<=股朋指标网 AND C>=指标平台 )=HGW6;