逻辑判断 HOLDING=0 THEN BEGIN 逻辑判断 LONGCOND THEN BUY(1,1,LIMITR,收盘价)
ENDIF HOLDING=0 THEN BEGIN 逻辑判断 SHORTCOND THEN BUYSHORT(1,1,LIMITR,收盘价)
ENDIF HOLDING 0 THEN BEGIN 逻辑判断 SHORTCOND THEN BEGIN SELL(1,HOLDING,LIMITR,收盘价)
BUYSHORT(1,1,LIMITR,收盘价)
ENDENDIF HOLDING 0 THEN BEGIN 逻辑判断 LONGCOND THEN BEGIN SELLSHORT(1,HOLDING,LIMITR,收盘价)
BUY(1,1,LIMITR,收盘价)
输出 ENDEND盈亏:ASSET,NOAXIS,画洋红色
输出次数:TOTALTRADE,线宽为0
输出胜率:PERCENTWIN,线宽为0
输出连亏:MAXSEQLOSS,线宽为0
输出连赢:MAXSEQWIN,线宽为0