|
回復 21# 無無明
Crossed2 屬於 程式包裡面的自建函數 =1 表 上交叉 =2表下交叉
if Crossed2(10,5,1)=1 and AverageFC( (h+l)/2, 5)>AverageFC( (h+l)/2, 5)[1]
and Close>AverageFC( (h+l)/2, 5) then begin
buy("B1") 1 contracts next bar at market;
end;
if Crossed2(10,5,1)=2 and AverageFC( (h+l)/2, 5)<AVERAGEFC(
and Close<AVERAGEFC( 2, (h+l) begin
SellShort("S1") 1 contracts next bar at market;
end;
有沒有大大能翻成白話文...沒學過MC....怕誤解...謝謝 |
|