您好,請問一下
假設我使用2根K棒當進場依據,我要指定這2根K棒最高最低點當出場訊號,突破跌破後出場,這樣寫對嗎?
input:Length(2,"區間")
variable:highprice(0),lowprice(0),count(0);
if date <> date[1] then
count=0;
if count < 2 and time >= firsttime then begin
highprice = highest(high,Length);
lowprice = lowest(low,Length);
count = count+1;
end;
if close > highprice or close < lowprice then ret=1;
1 評論