找回密码
 注册
搜索
查看: 1594|回复: 17

SPY日线趋势

[复制链接]
发表于 2024-7-27 02:16 PM | 显示全部楼层 |阅读模式


本人是这个论坛上的老股民了,从大家的帖子里学到了不少东西,特别是班长十几年如一日的统计分析。但是炒股投机始终不太成功,经常把一段时间积累的筹码在一两次豪赌中输光。痛定思痛,决心要想办法减少情绪对自己判断的影响。最近写了些代码以便比较客观地找出价格走势的趋势,自己觉得结果不错,想跟大家分享讨论一下。

简单解释一下过程:
1. 先找出大趋势,再把大趋势分解成小趋势。
2. 趋势的中轴是线性回归;轨道跟方差有关,但不一定是平行线。
3. 计算采用比较精确的数据(5分钟线,1分钟线)然后画到更大的timeframe上(日线,小时线)来辅助人工判断。

准备以后每个交易日在这里贴一下SPY的日线趋势和我对日跌涨的判断,看能坚持多久

7/26/2024: SPY close 544.38, next day up
240726.JPG

评分

8

查看全部评分

发表于 2024-7-28 01:05 PM | 显示全部楼层
鼓励大佬 大家接力棒

蛇大地盘很包容 蛇大以身作则 大家能坚持多久就多久  无论时间长短都是贡献
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-7-29 03:25 PM | 显示全部楼层
7/29/2024: SPY close $544.76, accumulated profit $0.38, next day up
7/26/2024: SPY close $544.38, accumulated profit $0, next day up
240729.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-7-30 03:28 PM | 显示全部楼层
MSFT季报后跌,估计明天又错了

7/30/2024: SPY close $541.91, accumulated profit $-2.47, next day up
7/29/2024: SPY close $544.76, accumulated profit $0.38, next day up
7/26/2024: SPY close $544.38, accumulated profit $0, next day up
240730.JPG

评分

1

查看全部评分

回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-7-31 04:01 PM | 显示全部楼层
7/31/2024: SPY close $550.41, accumulated profit $6.03, next day up
7/30/2024: SPY close $541.91, accumulated profit $-2.47, next day up
7/29/2024: SPY close $544.76, accumulated profit $0.38, next day up
7/26/2024: SPY close $544.38, accumulated profit $0, next day up
240731.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-1 04:55 PM | 显示全部楼层
8/01/2024: SPY close $543.01, accumulated profit -$1.37, next day down
7/31/2024: SPY close $550.41, accumulated profit $6.03, next day up
7/30/2024: SPY close $541.91, accumulated profit -$2.47, next day up
7/29/2024: SPY close $544.76, accumulated profit $0.38, next day up
7/26/2024: SPY close $544.38, accumulated profit $0, next day up
240801.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-2 03:38 PM | 显示全部楼层
8/02/2024: SPY close $532.98, accumulated profit $8.66, next day down
8/01/2024: SPY close $543.01, accumulated profit -$1.37, next day down
7/31/2024: SPY close $550.41, accumulated profit $6.03, next day up
7/30/2024: SPY close $541.91, accumulated profit -$2.47, next day up
7/29/2024: SPY close $544.76, accumulated profit $0.38, next day up
7/26/2024: SPY close $544.38, accumulated profit $0, next day up
240802.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-5 03:57 PM | 显示全部楼层
8/05/2024: SPY close $517.43, accumulated profit $24.21, short
8/02/2024: SPY close $532.98, accumulated profit $8.66, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240805.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-6 03:44 PM | 显示全部楼层
8/06/2024: SPY close $522.19, accumulated profit $19.45, short
8/05/2024: SPY close $517.43, accumulated profit $24.21, short
8/02/2024: SPY close $532.98, accumulated profit $8.66, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240806.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-7 06:39 PM | 显示全部楼层
8/07/2024: SPY close $518.64, accumulated profit $23.00, short
8/06/2024: SPY close $522.19, accumulated profit $19.45, short
8/05/2024: SPY close $517.43, accumulated profit $24.21, short
8/02/2024: SPY close $532.98, accumulated profit $8.66, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240807.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-8 03:27 PM | 显示全部楼层
8/08/2024: SPY close $530.62, accumulated profit $11.02, short
8/07/2024: SPY close $518.64, accumulated profit $23.00, short
8/06/2024: SPY close $522.19, accumulated profit $19.45, short
8/05/2024: SPY close $517.43, accumulated profit $24.21, short
8/02/2024: SPY close $532.98, accumulated profit $8.66, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240808.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-9 03:32 PM | 显示全部楼层
一个星期又回到原位

8/09/2024: SPY close $532.91, accumulated profit $8.73, short
8/08/2024: SPY close $530.62, accumulated profit $11.02, short
8/07/2024: SPY close $518.64, accumulated profit $23.00, short
8/06/2024: SPY close $522.19, accumulated profit $19.45, short
8/05/2024: SPY close $517.43, accumulated profit $24.21, short
8/02/2024: SPY close $532.98, accumulated profit $8.66, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240809.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-12 05:26 PM | 显示全部楼层
8/12/2024: SPY close $533.26, accumulated profit $8.38, short
8/09/2024: SPY close $532.91, accumulated profit $8.73, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240812.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-13 04:20 PM | 显示全部楼层
8/13/2024: SPY close $542.02, accumulated profit -$0.38, short
8/12/2024: SPY close $533.26, accumulated profit $8.38, short
8/09/2024: SPY close $532.91, accumulated profit $8.73, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240813.JPG

评分

1

查看全部评分

回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-14 03:26 PM | 显示全部楼层
8/14/2024: SPY close $543.78, accumulated profit -$2.14, short
8/13/2024: SPY close $542.02, accumulated profit -$0.38, short
8/12/2024: SPY close $533.26, accumulated profit $8.38, short
8/09/2024: SPY close $532.91, accumulated profit $8.73, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240814.JPG

评分

1

查看全部评分

回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-15 03:22 PM | 显示全部楼层
最近的判断错大了,总觉得那个小的上涨轨道成不了气候。现在又是清楚的上升趋势了,但是这里总该停顿一下?

8/15/2024: SPY close $553.07, accumulated profit -$11.43, short
8/14/2024: SPY close $543.78, accumulated profit -$2.14, short
8/13/2024: SPY close $542.02, accumulated profit -$0.38, short
8/12/2024: SPY close $533.26, accumulated profit $8.38, short
8/09/2024: SPY close $532.91, accumulated profit $8.73, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240815.JPG
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2024-8-16 03:57 PM | 显示全部楼层
8/16/2024: SPY close $554.23, accumulated profit -$12.59, short
8/15/2024: SPY close $553.07, accumulated profit -$11.43, short
8/14/2024: SPY close $543.78, accumulated profit -$2.14, short
8/13/2024: SPY close $542.02, accumulated profit -$0.38, short
8/12/2024: SPY close $533.26, accumulated profit $8.38, short
8/09/2024: SPY close $532.91, accumulated profit $8.73, short
...
7/26/2024: SPY close $544.38, accumulated profit $0, long
240816.JPG
回复 鲜花 鸡蛋

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|www.hutong9.net

GMT-5, 2024-9-28 03:14 PM , Processed in 0.075499 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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