Trailing Stop does not work can you fix it ? In-fact non of the trade settings are enforced?
A neural network Expert Advisor based on two moving averages with the training mode. Train the Expert Advisor on selected examples and make a profit in real life. The EA can work on any instrument and in any timeframe.
Two moving averages are analyzed by the neural network core, which produces commands to buy or sell.
the values of two moving averages, fast (FMA) and slow (SMA), are provided to the first layer, at the second layer it calculates two neurons responsible for Buy (N buy) and Sell (N sell), the decision to buy or sell is made at the third level.
Block diagram of the neural network is shown in the figure.
In the training mode the EA "remembers" the values of moving averages marked by the user on the chart of the currency instrument. In the future, during normal operation, it recognizes the values of the moving averages.
To train the EA mark at least one long and one short trade on the chart. To indicate a long trade use the "Buy" arrow, and for the short trade use the "Sell" arrow. You can place more arrows on the chart. The more arrows, the longer will be the process of training. Presence of any other objects on the chart other than the arrows is not desirable.
After the training, folder "NN 2MA" will be created in the common folder of the terminal. It will contain file "HHHHHH_NN_2MA.bin" with the settings of the trained neural network. XXXXXX in the file name is the name of the financial instrument. In normal operation, the EA loads the data from the file. If the file is not found, it will use the default settings. By default, the EA is trained at USDJPY and one-hour timeframe, the trades are selected in 2012.
The following input parameters are responsible for the EA training:
Examples of specifying trades for training the EA are available in the figure.
Settings of Moving Averages
You can adjust the settings of each moving average: the period, the price, the calculation mode.
Trade Settings
Settings of Neural Network
During training, the maximum values of the neurons will be shown in the comments on the chart. These values can be used as an activation value of the neuron.
An example is shown in the figure.
Other Settings
By default, the EA is trained on USDJPY H1 on two trades in 2012. The result of the Expert Advisor testing in 2013 is shown in the figure.
Trailing Stop does not work can you fix it ? In-fact non of the trade settings are enforced?
El usuario no ha dejado ningún comentario para su valoración
Usted acepta la política del sitio web y las condiciones de uso
🐱🚀🐱🚀🐱🚀