if barfreq <> "Min" then
RaiseRuntimeError("請設定頻率為分鐘");
var:PV(0),NV(0);
{計算價量背離定義之正向量與負向量}
if Date <> Date[1] then
if
Close > Close[1] then PV=volume else if Close < Close[1] then NV=Volume
else
if
Close > Close[1] then PV+=volume else if Close < Close[1] then
NV+=Volume;
if
currenttime > 123000 and
{12:30以後}
q_last < q_DailyHigh *0.98 and Close < q_RefPrice and Close[1] >= q_RefPrice and
{從高點往下跌2%破平盤}//這條件要不要改成開始急殺破開盤價
NV > PV *3 {價量背離}
沒有留言:
張貼留言