COCO研究院

 找回密碼
 註冊
搜索
查看: 26050|回復: 0

[範例程式碼] 請問

[複製鏈接]
發表於 12-8-17 23:03 | 顯示全部樓層 |閱讀模式
這如何修改:才能通過
var :buy1(0),buy2(0),buy3(0);
if marketposition <> 1 and condition1 then begin
buy1 = medianprice[2];
buy2 = 0;
buy3 = true;
end;
if buy2 > 1 then
buy3 = false else
buy2 = buy2 + 1;
if marketposition = 1 then begin
buy3 = false;
exitlong next bar at market;
end;
if buy3 then
buy next bar at market;
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|站長信箱|廣告洽詢|COCO研究院

GMT+8, 24-12-21 19:34

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回復 返回頂部 返回列表
理財討論網站 |