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

奇狐社區論壇 (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=18386)


由 tiger890318 在 2014-03-14 17:11 發表:

在公式中指定日期

我想要列表的自設指標
寫一個5日內大漲5%以上有幾天的公式

aa:=c>ref(c,1)*1.05;
dd:=count(aa,5);
dd

能跑
但是我想要指定日期
例如:2014年01月2日

aa:=c>ref(c,1)*1.05;
dd:=count(aa,5(date=1140102));
dd
卻說括弧不對稱

請問

如何指定日期


由 cgjj 在 2014-03-14 17:27 發表:

回覆: 在公式中指定日期

引用:
最初由 tiger890318 發表
我想要列表的自設指標
寫一個5日內大漲5%以上有幾天的公式

aa:=c>ref(c,1)*1.05;
dd:=count(aa,5);
dd

能跑
但是我想要指定日期
例如:2014年01月2日

aa:=c>ref(c,1)*1.05;
dd:=count(aa,5(date=1140102));
dd
卻說括弧不對稱

請問

如何指定日期



aa:=c>ref(c,1)*1.05;
dd:=count(aa,5);
sp:=barslast(date=1140102);
ref(dd,sp);


由 tiger890318 在 2014-03-15 10:50 發表:

謝大大

謝大大


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


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

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