请教:如图,假如当前持有多单,我想在5日均线弯头向下(ma5<ref(ma5,1) and ema5<ref(ema5,1) )的时候,
if holding>0 and ma5<ref(ma5,1) and ema5<ref(ema5,1) and c-enterprice>5*mindiff then begin
sell(1,0,market);
buyshort(holding=0,1,market);
end
variable:hh=0;
if 开仓条件 then begin
开仓语句;
hh:=h;
end
if h>hh then hh:=h;
这个hh就是a点