『最佳拍檔』智能決策系統

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8947|回复: 6

請問如果搵最近3日出過裂口高開的股?

[复制链接]
发表于 2011-4-18 17:49:36 | 显示全部楼层 |阅读模式
請問如果搵最近3日出過裂口高開的股?
发表于 2011-4-18 22:09:10 | 显示全部楼层
裂口高開有很多個情況,
而最基本可以使用 Gapup() function

Function: Gap Up [gapup()]

SYNTAX      gapup()
FUNCTION      Plots a "+1" on the day a security's prices gap up. Otherwise a "0" is plotted. A gap up occurs if yesterday's high is less than today's low.


samples:
sum(gapup(),3)>=1



同類裂口低開可用 gapdown() function

Function: Gap Down [gapdown()]
SYNTAX      gapdown()
FUNCTION      Plots a "+1" on the day a security's prices gap down. Otherwise a "0" is plotted. A gap down occurs if yesterday's low is greater than today's high.
 楼主| 发表于 2011-4-18 22:54:51 | 显示全部楼层
thanks for your quick reply~

my way to set GAP UP is
H<Ref(L,-1)

but if i type that to replace the "gapup", I can't filter any stock...

almost all 1500 are listed...

what's wrong with me?
发表于 2011-4-19 17:50:47 | 显示全部楼层
比多D 資料我先得架...
我又睇唔到你個電腦畫面.... 點知發生咩野呢?

你自己試下對一對以下我做的與你做的有咩唔同?



Q&amp;A gapup.gif


Q&amp;A gapup02.gif


发表于 2017-4-17 16:11:05 | 显示全部楼层
請問如何找出3日內裂口高開10%以上的股票?
謝謝
发表于 2017-4-26 01:02:52 | 显示全部楼层
可以試試
info:=Sum(GapUp(),3) > 0 ;
info1:=( C - Ref(C,-1))/Ref(C,-1) >= 0.1 ;
info2:=( C - Ref(C,-2))/Ref(C,-2) >= 0.1 ;
info3:=( C - Ref(C,-3))/Ref(C,-3) >= 0.1 ;

info AND (info1 OR info2 OR info3); 
发表于 2017-4-27 23:39:19 | 显示全部楼层
Thanks for your reply
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|『最佳拍檔』智能決策系統

GMT+8, 2024-3-28 23:45 , Processed in 0.053625 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表