Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
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!
to see which trading period , whcih currencies pairs that it really work -- which one does not
there will be underlying assumptions for each sydtem that we do not know from the description of each one
-- if we make the assumption that , indicator, EA we saw is PROVENed already, we are usually wrong (say 40% of the times) -- this refer to things we saw, in general, not any particular one
Thank you for the post.. I wonder if we can change the indicators in this. I haven't really given NN EA's a shot yet.
Sure, change the indicators to whatever you feel you can be productive with. I gave the source code so people could adapt any trading ideas and have a basic package that people can build things from.
I'm in the middle of working up a way to stay out of sideways markets by using ADX on the longer timeframes, say 4h or 1d even. I think I can help it stay away from times of changing momentum during the longer trend distribution phases where price action sometimes gets unpredictable like today with the EUR/USD.
Anyway, in the source code you'll see the section where to put your indicators and the section to get signals from those indicators. You can then feed those signals into the NN on whatever timeframe you want, you can even add more timeframes than was included in the original version I released.