由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Stock版 - 有没有做机的请帮个忙
相关主题
这是股市自从2002年以来最糟糕的第二季度 ZTWeekly Review: DRYS
我看见一个Tradable Bottom香港曾特首为什么会警告香港经济会出现双底衰退?
今天是Follow through!!!关于指数future 和option的思考
This is the bottom(Tradable) Contigent Value Rights
The real bottom of crude oil is likely neara lot a lot opportunities
这次不是stv这个算双底形成吗?
MM也怕周末VIX双底了,吼吼
Distribution day trading rule感觉周五会双底
相关话题的讨论汇总
话题: 底数话题: ea话题: eb话题: e1话题: orz
进入Stock版参与讨论
1 (共1页)
b*******e
发帖数: 6389
1
判断双底的算法该如何写啊?任何语言都OK。谢谢!
b*******e
发帖数: 6389
2
顶。
b*******e
发帖数: 24532
3
呵呵你是让别人告诉你算法? 牛刀兄弟,你得把
peusudecode给出来吧?
用啥语言是次要的:)

【在 b*******e 的大作中提到】
: 判断双底的算法该如何写啊?任何语言都OK。谢谢!
b*******e
发帖数: 6389
4
做个双底的算法应该不难吧,我就是想夜间睡个好觉。:(
难道没人肯说?55555

【在 b*******e 的大作中提到】
: 呵呵你是让别人告诉你算法? 牛刀兄弟,你得把
: peusudecode给出来吧?
: 用啥语言是次要的:)

b*******e
发帖数: 24532
5
呵呵,要不你说个,抛砖一下?

【在 b*******e 的大作中提到】
: 做个双底的算法应该不难吧,我就是想夜间睡个好觉。:(
: 难道没人肯说?55555

a*o
发帖数: 19981
6
底数=0;
while (true) {
if(底=true) 底数++;
if(底数==2) {
print "同志们冲啊~~~双低来啦!";
底数=0;
}
}

【在 b*******e 的大作中提到】
: 判断双底的算法该如何写啊?任何语言都OK。谢谢!
l*******r
发帖数: 3799
7
one line code in R
b*******e
发帖数: 6389
8
我的想法很简单,假设已经做空。等待找机会cover,不想盯着。
1. 记住上次低点。前后一小时都没有更低的点,就定义为低点。
2. 等到价格跌到上次低点,就开始计时。
3. 如果从低点反弹上去一点,或者超过15分钟没有跌下去,就cover。
简单到幼稚,欢迎砸砖。

【在 b*******e 的大作中提到】
: 呵呵,要不你说个,抛砖一下?
b*******e
发帖数: 6389
9
大牛给个link! Orz

【在 l*******r 的大作中提到】
: one line code in R
b*******e
发帖数: 24532
10
haha, Amo,发觉你越来越牛了,哈

【在 a*o 的大作中提到】
: 底数=0;
: while (true) {
: if(底=true) 底数++;
: if(底数==2) {
: print "同志们冲啊~~~双低来啦!";
: 底数=0;
: }
: }

相关主题
这次不是Weekly Review: DRYS
MM也怕周末香港曾特首为什么会警告香港经济会出现双底衰退?
Distribution day trading rule关于指数future 和option的思考
进入Stock版参与讨论
b*******e
发帖数: 24532
11
其实这个不一定是双底,可以在支撑处徘徊,然后掉下去啊。

【在 b*******e 的大作中提到】
: 我的想法很简单,假设已经做空。等待找机会cover,不想盯着。
: 1. 记住上次低点。前后一小时都没有更低的点,就定义为低点。
: 2. 等到价格跌到上次低点,就开始计时。
: 3. 如果从低点反弹上去一点,或者超过15分钟没有跌下去,就cover。
: 简单到幼稚,欢迎砸砖。

l*******r
发帖数: 3799
12
you first need to smooth your data by local fitting (loess()), and use a
function from pastecs library to find the turning points, then compare the
position of turning points.
Well, not one line code, but it is pretty straight-forward. The tricky
thing is to tune the parameter.

【在 b*******e 的大作中提到】
: 大牛给个link! Orz
b*******e
发帖数: 24532
13
Orz:)

【在 l*******r 的大作中提到】
: you first need to smooth your data by local fitting (loess()), and use a
: function from pastecs library to find the turning points, then compare the
: position of turning points.
: Well, not one line code, but it is pretty straight-forward. The tricky
: thing is to tune the parameter.

b*******e
发帖数: 6389
14
Orz,给俺个思路。:)

【在 b*******e 的大作中提到】
: 其实这个不一定是双底,可以在支撑处徘徊,然后掉下去啊。
b*******e
发帖数: 6389
15
果然经验老道。拜谢!

【在 l*******r 的大作中提到】
: you first need to smooth your data by local fitting (loess()), and use a
: function from pastecs library to find the turning points, then compare the
: position of turning points.
: Well, not one line code, but it is pretty straight-forward. The tricky
: thing is to tune the parameter.

b*******e
发帖数: 24532
16
\ /
\ /\ /
\/ \/
双底有三种,一种是higher low,一种是lower low, 一种是等底。
所以要写就要分开来写,每一种地tradable probability是不一样地。
higher low> same low> lower low.
呵呵

【在 b*******e 的大作中提到】
: Orz,给俺个思路。:)
b*******e
发帖数: 6389
17
你知我知天知地知,电脑不知怎么算。-_-

【在 b*******e 的大作中提到】
: \ /
: \ /\ /
: \/ \/
: 双底有三种,一种是higher low,一种是lower low, 一种是等底。
: 所以要写就要分开来写,每一种地tradable probability是不一样地。
: higher low> same low> lower low.
: 呵呵

b*******e
发帖数: 24532
18
呵呵,那我给一个好了
Double tops ~DTOP! and bottoms
~DBOT! are characterized by an initial local extremum E1 and subsequent
local extrema Ea and Eb such that
Ea [ sup$Ptk
* : tk
* . t1
* , k 5 2, . . . ,n%
Eb [ inf $Ptk
* : tk
* . t1
* , k 5 2, . . . ,n%
and
DTOP [ 5E1 is a maximum
E1 and Ea are within 1.5 percent of their average
ta
* 2 t1
* . 22
DBOT [ 5E1 is a minimum
E1 and Eb are within 1.5 percent of their average
ta
* 2 t1
* . 22
B. The Identification Algorithm
Our algorithm begins with a sample of

【在 b*******e 的大作中提到】
: 你知我知天知地知,电脑不知怎么算。-_-
l*******r
发帖数: 3799
19
niu

【在 b*******e 的大作中提到】
: 呵呵,那我给一个好了
: Double tops ~DTOP! and bottoms
: ~DBOT! are characterized by an initial local extremum E1 and subsequent
: local extrema Ea and Eb such that
: Ea [ sup$Ptk
: * : tk
: * . t1
: * , k 5 2, . . . ,n%
: Eb [ inf $Ptk
: * : tk

b*******e
发帖数: 6389
20
收到,谢谢兄弟。看来允许个小误差就好。:)

【在 b*******e 的大作中提到】
: 呵呵,那我给一个好了
: Double tops ~DTOP! and bottoms
: ~DBOT! are characterized by an initial local extremum E1 and subsequent
: local extrema Ea and Eb such that
: Ea [ sup$Ptk
: * : tk
: * . t1
: * , k 5 2, . . . ,n%
: Eb [ inf $Ptk
: * : tk

相关主题
(Tradable) Contigent Value RightsVIX双底了,吼吼
a lot a lot opportunities感觉周五会双底
stv这个算双底形成吗?双底
进入Stock版参与讨论
b*******e
发帖数: 24532
21
Orz:)

【在 l*******r 的大作中提到】
: niu
b*******e
发帖数: 24532
22
Orz, not by me:)

【在 l*******r 的大作中提到】
: niu
b*******e
发帖数: 24532
23
check your mailbox hehe

【在 b*******e 的大作中提到】
: 收到,谢谢兄弟。看来允许个小误差就好。:)
c*********y
发帖数: 32
24
这就叫计算机算命!
1 (共1页)
进入Stock版参与讨论
相关主题
感觉周五会双底The real bottom of crude oil is likely near
双底这次不是
EROC questions, please helpMM也怕周末
vix 很可怕Distribution day trading rule
这是股市自从2002年以来最糟糕的第二季度 ZTWeekly Review: DRYS
我看见一个Tradable Bottom香港曾特首为什么会警告香港经济会出现双底衰退?
今天是Follow through!!!关于指数future 和option的思考
This is the bottom(Tradable) Contigent Value Rights
相关话题的讨论汇总
话题: 底数话题: ea话题: eb话题: e1话题: orz