设为首页 收藏本站 切换语言

【A Neural Network EA】SpiNNaker - A Neural Network EA

| 发表于 2022-8-26 08:25:28 | 显示全部楼层 |复制链接
SpiNNaker - A Neural Network EA
This is an early version of a forward feeding perceptron with four inputs: Stochastics 5m, Stochastics 15m, ADX 5m, ADX 15m. It has two outputs: buy, sell.
A perceptron is the most basic kind of neural network you can find, or at least that is practical.
This is hopefully the beginning of a development cycle that will include forum member input from both users and programmers alike.
Training Using Optimization
You need to manually train this NN by optimizing all the NN weights and NN thresholds in the backtester. Please do not email me asking me how to teach you how to do this. There is good documentation on this forum to teach you how to do this.
You need to optimize both the buy and sell weights, for example w1b and w1s which correspond to "weight 1 buy" and "weight 1 sell", all the way to w4b and w4s. I suggest optimizing them from 0.1 to 0.9 for the buys and -0.1 to -0.9 for the sells in steps of 0.1 for each.
In fact, do not change the sell weights from negative. You will make the neural network give bad signals.
You also need to optimize ThresholdBUY and ThresholdSELL, for example try optimizing from 1.0 to 3.0 in steps of 0.1 for each.
When you are optimizing, both thresholds are being tested in the positive, but during use one of them is negative and the other is positive. The thresholds are inversely proportional and the trade signal comes from the one that is positive and past it's order placement threshold. The close order signal comes from an order existing and the output falling below your optimized threshold.
Pick a very short test period at first till you get used to it, say 3 or 4 trading days that look similar to whatever your charts look like right now. Under "Model" choose open prices only, since this EA trades on a new bar.
Timeframe
I wrote this EA with the intention that it be attached to a 5 minute chart, although it uses both 5 minute and 15 minute data.
Currency Pair
I wrote this EA with the EUR/USD in mind. That doesn't mean you won't be able to find another currency pair that it does well on.
Initial forward testing seems to indicate it does better during trending markets and less well in markets that are changing momentum.
Backtesting
Please don't post umpteen million backtests of this and that setting.
Forward Testing & .set files
Please share your forward test results and your .set files that correspond.
Development
It's taken me quite a while to understand how neural networks work and why they in fact do work. It probably longer than it should have but I've been raising my son and programming on the side.
I wanted to include everyone in the development of this EA in the hopes that it will provide benefits to people everywhere. As always, best of luck trading!
eur-usd-m15.gif
img_1491.jpg
QQ截图20220826082321.png

pinnacle_v0.51.mq4

10.58 KB, 下载次数: 3, 下载积分: 活跃度 -5 售价: 1 H币  [记录]  [下载]

SpiNNaker - A Neural Network EA

spinnaker_v0.50b.mq4

12.72 KB, 下载次数: 1, 下载积分: 活跃度 -5 售价: 1 H币  [记录]  [购买]

SpiNNaker - A Neural Network EA

评分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN    参与人数:0    我的评分:未评 下载时遇到问题?
举报

评论 使用道具

精彩评论9

Scao
DDD
| 发表于 2022-8-26 09:55:07 | 显示全部楼层
网格,不太容易理解,放回测会更好
举报

点赞 评论 使用道具

hyqfky
禁止访问
| 发表于 2022-8-26 10:18:33 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
举报

点赞 评论 使用道具

nikelwong
DDD
| 发表于 2022-8-26 13:17:48 | 显示全部楼层
上网https://www.mql5.com/en/forum/179653, 看起来是2009年的东西了。。。。。。。。。。。
举报

点赞 评论 使用道具

wuguorong
DD
| 发表于 2022-8-26 18:23:44 | 显示全部楼层
全是英文看不懂
举报

点赞 评论 使用道具

JOKEEBOSS
DD
| 发表于 2022-8-27 15:36:21 | 显示全部楼层
网格,不太容易理解,放回测会更好
举报

点赞 评论 使用道具

magmag
D
| 发表于 2022-8-28 02:42:05 | 显示全部楼层
有观摩吗
举报

点赞 评论 使用道具

kbit0928
D
| 发表于 2022-8-28 10:51:53 | 显示全部楼层
好像不错 有实盘看看吗
举报

点赞 评论 使用道具

kidphy
DDD
| 发表于 2022-8-28 13:14:42 | 显示全部楼层
效果不错可以反向操作
image.png
举报

点赞 评论 使用道具

v_wen128
DDD
| 发表于 2022-8-28 13:56:00 | 显示全部楼层
kidphy 发表于 2022-8-28 13:14
效果不错可以反向操作

哈哈哈 6666
举报

点赞 评论 使用道具

发新帖
EA交易
您需要登录后才可以评论 登录 | 立即注册

简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)