想問multicharts 如何分開上下午下單的限制
各位大大好,我現在面對的問題是想分開上下午下單的限制比如說我上午0915至1200 只想最多下單三次
之後下午也是限制三次
應該如何用easylanguage 表達?
感激不盡!!!
vars: RecordNo(0);
if time >= 0915 and time <= 1200 and EntriesToday(date) <= 3 then Begin
Main Entry/Exit rule
RecordNo = EntriesToday(date) ;// 紀錄上午進場幾次
end ;
if time >= 1500 and time <= 2300 and EntriesToday(date) <= RecordNo + 3 then Begin
Main Entry/Exit rule
end ;
頁:
[1]