COCO研究院

 找回密碼
 註冊
搜索
查看: 2815|回復: 2

請問一下~新手發問

[複製鏈接]
發表於 11-7-22 11:49 | 顯示全部樓層 |閱讀模式
想請問一下各位大大~ 程式這樣~他為什麼 在0850就會有動作~
感覺他沒有引用到  value3 可以幫我看一下嗎?~謝謝大大的指導


if Date <> date[1] then dbar = 0;
dbar=dbar +1;

Value2=Minlist(dbar,10);

value3= pivothighvs(1,high,5,5,value2);

if  marketposition = 0 and time>=0845 and time <=1315   then begin
if  high > value3  then
buy next bar at value3 stop;
end;
發表於 11-7-22 13:36 | 顯示全部樓層
time>=0845 and time <=1315

0850 有沒有 大於 0845 ?  您說呢 .
發表於 11-7-23 05:31 | 顯示全部樓層
PivotHighVS (Function)
...
Returns (Double)

A numeric value containing the price of the high pivot bar, with variable strength sides. A value of -1 is returned if there is no high pivot, within the length specified...
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

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

GMT+8, 24-5-6 18:23

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回復 返回頂部 返回列表
理財討論網站 | AI繪圖AI超擬真美女AI beauty AI Stable DiffusionAI正妹AI Lookbook