 |
awhtox
中級會員
註冊日期: Mar 2006
來 自:
文章數量: 58 |
請問是否有更簡便的寫法?
版主好:
請問版主,我給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)
上述的寫法是否有更簡便的寫法呢?謝謝版主的幫助。
|
|
向版主報告此篇 |  |
|
2008-12-04 01:46 |
|
|
|  |
 |
cgjj
總版主

註冊日期: Oct 2003
來 自:
文章數量: 18166 |
回覆: 請問是否有更簡便的寫法?
引用: 最初由 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;
|
|
向版主報告此篇 |  |
|
2008-12-04 08:43 |
|
|
|  |
本站所有內容未經作者授權禁止轉貼節錄, 發表言論僅供參考勿作為投資決策依據。瀏覽本站請使用 IE 5.5 以上版本, 最佳瀏覽解析度 1024 x 768 全彩。
|
Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.
簡愛洋行 製作 Copyright 2003-. All Rights Reserved. 聯絡我們
|