1.求開倉前1K的高點的價格及引用該K線
2.開多后的最高點所在棒,到現在小于8周期時, 最高點跌5平倉, 大于8周期時跌6點平倉
1,h1:ref(h,enterbars+1);
2,h2:hhv(h,enterbars+1);
n1:hhvbars(h,enterbars);
if n1<8 and h2-l>=5 then sell(holding>0,holding,market);
if n1>8 and h2-l>=6 then sell(holding>0,holding,market);
3,什么點到改點大于15點?
[此貼子已經被作者于2014/9/9 9:05:38編輯過]