if barfreq <> "Tick" then
RaiseRuntimeError("請設定頻率為TICK");
variable:BarNumberOfToday(0); if Date
<> Date[1] then BarNumberOfToday=1
else BarNumberOfToday+=1;{記錄今天的Bar數} 這一段用不到
IF
Close < q_RefPrice *1.02 and close > q_RefPrice and {股價上漲幅度在2%以內}//參考價代表的是昨天的收盤價乎?
Close> Close[1] and Close * Volume>250 and {觸發筆上漲且買進幅度超過25萬}
Close > close[10]*1.01
and {快速漲1%}
Close > close[5] and {連續漲升}//
Date[10] =currentdate and
timediff(time,time[10],"M")< 3{分鐘} {3分鐘內快速拉升}
沒有留言:
張貼留言