AMV0:=vol*(OPEN+CLOSE)/2;
AMV1:SUM(AMv0,5)/SUM(VOL,5);
AMV2:SUM(AMv0,10)/SUM(VOL,10);
AMV3:SUM(AMv0,20)/SUM(VOL,20);
AMV4:SUM(AMv0,30)/SUM(VOL,30);
S=(CLOSE
CY=IF(S,0,1)>0 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,30);
TM:=S;
TD:=CY;
TDC=BArslASTCOUNT(TD);
TDS=BARSLASTCOUNT(S);
IF(TDC=1)DRAWICON(CY,LOW,1);
IF(TDS=1)DRAWICON(S,HIGH,2);
收盘价:CLOSE;
开盘价:OPEN;
最高价:HIGH;
最低价:LOW;