N:=28;M:=48;现价:C,COLOR80FFFF,LINETHICK2;:MA(现价,N),COLOR0080FF,LINETHICK2;均价M:MA(现价,M),COLOR800080,LINETHICK2;PJ:=(均价*2+均价M)/3;SJ1:=BARSLASTCOUNT(现价>=均价);SJ2:=BARSLASTCOUNT(均价>=现价);:MAX(SJ1,SJ2),NODRAW;HH:=H*0.99;LL:=(L*3+C)/4;GD:=HHV(HH,时间);DD:=HHV((PJ*3+C)/4,时间);ZS0:=(GD-DD)/GD>0.5;ZS1:=(GD-DD)/GD>0.30;ZS2:=(GD-DD)/GD>0.25;ZS3:=(GD-DD)/GD>0.2;ZS4:=(GD-DD)/GD>0.15;ZS5:=(GD-DD)/GD>0.1;操作率:IF(ZS0,0.91,IF(ZS1,0.926,IF(ZS2,0.937,IF(ZS3,0.947,IF(ZS4,0.956,IF(ZS5,0.964,0.971))))))*10,NODRAW;高点:=HHV(HH