1分钟周期,日内,本周期限价交易。集合竟价不参与交易。
交易时间9:00到14:50,14:50全部平仓后,停止交易。
当价格向上突破10分钟高点时开多单,向下突破5分钟低点时平多单,
向下突破10分钟低点时开空单,向上突破5分钟高点时平空单。
t1:= time>090100 and time<145000;
if h>ref(hhv(h,10),1) and t1 then buy;
if l<ref(llv(l,5),1) and t1 then sell;
if l<ref(llv(l,10),1) and t1 then buyshort;
if h>ref(hhv(h,5),1) and t1 then sellshort;
H:=REF(HHV(H,X),1);
l:=REF(LLV(L,X),1);
通不过?
[变量名H不能为系统保留字]
麻烦金蛰把这个模型写完整,好吗?我自己写不来!
辛苦了!!!