奇狐社區論壇
在這個頁面顯示本主題全部的 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=10750)


由 awhtox 在 2008-12-04 01:46 發表:

請問是否有更簡便的寫法?

版主好:
請問版主,我給k線選股條件類似「紅三兵」的寫法除了原始的寫法如下:

c>ref(c,1) and ref(c,1)>ref(c,2) and h>ref(h,1) and ref(h,1)>ref(h,2) and
L>ref(L,1) and ref(L,1)>ref(L,2) and C>O and ref(C,1)>ref(O,1) and ref(C,2)>REF(O,2)

上述的寫法是否有更簡便的寫法呢?謝謝版主的幫助。


由 cgjj 在 2008-12-04 08:43 發表:

回覆: 請問是否有更簡便的寫法?

引用:
最初由 awhtox 發表
版主好:
請問版主,我給k線選股條件類似「紅三兵」的寫法除了原始的寫法如下:

c>ref(c,1) and ref(c,1)>ref(c,2) and h>ref(h,1) and ref(h,1)>ref(h,2) and
L>ref(L,1) and ref(L,1)>ref(L,2) and C>O and ref(C,1)>ref(O,1) and ref(C,2)>REF(O,2)

上述的寫法是否有更簡便的寫法呢?謝謝版主的幫助。



sum(c>ref(c,1) and h>ref(h,1) and L>ref(L,1),2)=2 and sum(C>O,3)=3;


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


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

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