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

奇狐社區論壇 (http://www.chiefox.com.tw/bbs/index.php)
- 問題交流 (http://www.chiefox.com.tw/bbs/forumdisplay.php?forumid=28)
-- 求幾個頂1 ? (http://www.chiefox.com.tw/bbs/showthread.php?threadid=11243)


由 mori868 在 2009-03-19 06:25 發表:

求幾個頂1 ?

A5:ZIG(3,0.5);

底5:=refx(A5,1) > C and C < ref(A5,1);
頂5:=refx(A5,1) < C and C > ref(A5,1);

ZA5:=barslast(底5);
ZB5:=barslast(頂5);

A1:ZIG(3, 0.1);

底1:=refx(A1,1) > C and C < ref(A1,1)
頂1:=refx(A1,1) < C and C > ref(A1,1);

ZA1:=barslast(底1);
ZB1:=barslast(頂1);

希望
在ZA5<ZB5 之間有多少個頂1 相反亦同

專程請幫忙賜教 謝謝


由 peter109 在 2009-03-19 08:48 發表:

COUNT(頂一,BARSLAST(ZA5<ZB5)+1);

__________________
至誠能勝天下至偽
至拙能勝天下至巧


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


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

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