1.
if l<=hhv(h,enterbars+1)-10 then 平倉語句;
2.
variable:hh;=0;
if 開倉條件 and holding=0 then begin
開倉語句;
hh:=h;
end
if h>hh then hh:=h;
if l<hh-10 then 平倉語句;
上面的思路都是記錄開倉后的最高價然后用當前的最低價做比對。
這個回落是一種思路,你要的了解是怎么用的,而不是記錄所謂全部的寫法。