ENTERTIME赋值:时间 =091500 AND 时间 =145500
EXITTIME赋值:时间 =150000
HIGHEST赋值:昨日UPPER
LOWEST赋值:昨日LOWER
LONGCOND赋值:ENTERTIME AND 最高价 =HIGHEST
LONGPRICE赋值:HIGHEST和开盘价的较大值
SHORTCOND赋值:ENTERTIME AND 最低价 =LOWEST
SHORTPRICE赋值:LOWEST和开盘价的较小值
逻辑判断 HOLDING=0 THEN BEGIN 逻辑判断 LONGCOND THEN BUY(1,1,LIMITR,LONGPRICE)
END 逻辑判断 HOLDING=0 THEN BEGIN 逻辑判断 SHORTCOND THEN BUYSHORT(1,1,LIMITR,SHORTPRICE)
END 逻辑判断 HOLDING 0 THEN BEGIN 逻辑判断 EXITTIME THEN SELL(1,HOLDING,LIMITR,收盘价)
END 逻辑判断 HOLDING 0 THEN BEGIN 逻辑判断 EXITTIME THEN SELLSHORT(1,HOLDING,LIMITR,收盘价)
MYASSET赋值:ASSET
输出 资产:MYASSET,画红色,NOAXIS