奇狐社區論壇
在這個頁面顯示本主題全部的 2 個文章

奇狐社區論壇 (http://www.chiefox.com.tw/bbs/index.php)
- 問題交流 (http://www.chiefox.com.tw/bbs/forumdisplay.php?forumid=28)
-- [問題] (http://www.chiefox.com.tw/bbs/showthread.php?threadid=22960)


由 cffyz168 在 2021-05-04 00:44 發表:

[問題]

CK:=date<>ref(date,1); //每日第一根當起算點
VHP:=HHVBARS(V,barslast(CK)+1);
VLP:=LLVBARS(V,barslast(CK)+1);
MH:=ref(H,barslast(VHP=0)) colorred linethick0;
ML:=ref(L,barslast(VLP=0)) colorgreen linethick0;
STICKLINE(1,MH,MH,8,10) colorgreen linedot;
STICKLINE(1,ML,ML,8,10) colorred linedot;
請問版主,若此公式要用在日線(有K棒歷史以來)
該如何修改,謝謝。


由 cgjj 在 2021-05-04 08:45 發表:

回覆: [問題]

引用:
最初由 cffyz168 發表
CK:=date<>ref(date,1); //每日第一根當起算點
VHP:=HHVBARS(V,barslast(CK)+1);
VLP:=LLVBARS(V,barslast(CK)+1);
MH:=ref(H,barslast(VHP=0)) colorred linethick0;
ML:=ref(L,barslast(VLP=0)) colorgreen linethick0;
STICKLINE(1,MH,MH,8,10) colorgreen linedot;
STICKLINE(1,ML,ML,8,10) colorred linedot;
請問版主,若此公式要用在日線(有K棒歷史以來)
該如何修改,謝謝。



VHP:=HHVBARS(V,0);
VLP:=LLVBARS(V,0);
MH:=ref(H,barslast(VHP=0)) colorred linethick0;
ML:=ref(L,barslast(VLP=0)) colorgreen linethick0;
STICKLINE(1,MH,MH,8,10) colorgreen linedot;
STICKLINE(1,ML,ML,8,10) colorred linedot;


全部時間均為台灣時間, 現在時間為05:41
在這個頁面顯示本主題全部的 2 個文章


Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.

簡愛洋行 製作 Copyright 2003-. All Rights Reserved.