Backpropagation in MQL4 Neural Network EA

Job finished

Execution time 2 days
Feedback from customer
It was a pleasure working with Mehmet. Nothing was too much trouble. Professional and punctual and understands the subject (Neural networks and backpropagation in my case) I would recommend him.

Specification

I need the backpropagation fixed in a Neural Network of an existing EA that will be used to take trades.


* Neural Network experience is essential * 
* Do not apply if you do not understand Backpropagation, Calculus (the chain rule), (Stochastic) Gradient descent and error functions *

95% of the code described below already exists.

The input features already exist in the code.

Neural network structure:
One input layer
Three hidden layers
One Output layer (2 to 4 outputs depending on activation)

REQUIREMENTS:
Backpropagation using stochastic gradient descent
Loss/Error function
Update gradients
Update weights and biases in file
The network must learn
The weights and biases gradients must not explode or vanish
possible regularisation and normalization adjustments
The MQL4 code must compile with no errors and no warnings (property strict) 

Clean existing code:
No libraries
No includes
No Errors
No Warnings
Clear well documented code
Variable names: use readable like trainingInputs[] rather than ti[] or x1[]

-------
The Existing code works like this:
Initialize:
Create random weights & biases in arrays
Write weights and biases to csv files

Train:
1) Load weights and biases from files into arrays (on each iteration)
2) Feed forward through NN (process input features)
3) Get a Buy or Sell signal (0 - 1) - EA takes a trade
4) Copy Feed Forward arrays to use at close of trade
(nothing happens until the trade closes)
5) When the trade closes, get the trade History Classify/Label the trade as buy/sell, profit/loss
6) Calculate error/cost function (using copied arrays)
7) Backpropagation (overwrite new adjusted weights and biases from updated arrays into files)
Repeat the process.

Trade:
Take trades using trained network
-------

Display on screen:
Trade quantity (considered as one labeled training example)
Last trade Ticket No.
Network output (predicted) eg. (0.2 | 0.8)
Actual (expected) output eg. ( 0 | 1) 
Trade type: Buy/Sell/Hold
Trade result: M15 - GBPUSD | win/loss (1.2% SL and TP = 2.6 * SL) (12 pips SL and 32 pips TP)
% Error over the epoch - Loss/Trade quantity (I want to see if the network is learning)

Write to file:
Write the cost/iteration No. to file stats.csv (new line for each with epoch No.)  so I can see or use the data to plot a graph in excel of the learn rate

I would like the code written in the same or similar style to mine.. (so I can understand the code and make any small changes in the future)

95% of the code already exists.

Timeframe: 2 days from start of job. Only take the job if and when you can start and complete in 2 days.
The budget is $150 - $200.
PAYMENT ON COMPLETION OF WORKING CODE ONLY.
Request the MQL4 file

Responded

1
Developer 1
Rating
(30)
Projects
55
22%
Arbitration
12
67% / 8%
Overdue
2
4%
Free
Similar orders
I want to develop bot for MT4 and i will send pdf to explain in detail and you have any questions on it https://drive.google.com/drive/folders/1TPtn-THkqbLqf6kL_w09OD4vcmhOerIc?usp=sharing I will be looking for great developer to bid for it best regard
I need a trading robot that is automated and trades US30, NAS100 and GER30. It should work on M1, M5 and M15. It should also be able to trade the news(fundamentals). The accuracy of the robot should should be atleast 80% and risk 75% of the available balance
I want to convert TV pine script into mt4 EA. TV screen shots attached for reference. Based on TV indicators convert into mt4 indicators and then develop EA. Further details will be discuss once project starts
2USD AT 0.01 30+ USD
Rule Lot size 0.01 start immediate Buy at every 2 USD PRICE change for Example 2300 2298 2296 2294.................& take profit at every 2 usd & no stop loss Sell at every 2 USD PRICE change for Example 2300 2302 2304 2306................. .& take profit at every 2 usd & no stop loss Maximum orders 60
Hey, I would like an indicator based on calculation with the last price, sort of fib. The lines will auto update based on actual price. I want you to create 3x this block(of line), lines positions will be diferent as the multiplier of the 3 blocks will not be the same. I want you to create a signal based on the price that will be at the same zone(inside 2 lines) in 3 blocks at same time. check the intruction.txt
I need a AI signal generating bot for forex trading. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame whether they are buying or selling. If it is buying the arrow should be green and if it is
I need an expert who can combine bands, buy and sell arrows and 60% fibonaci retracement into a bot. I will send the rest of the specs to the selected applicant PLEASE KINDLY NOTE THAT I DONT HAVE THE SOURCE CODE FOR THE INDICATORS These are what I want the bot to look like for now; • When going for buys, price must touch the lower band, the buy arrow should appear on a candle, wait for that candle to close, then it
News filter. Check that auto GMT works properly Stop Loss: there are 3 types. Make sure they work correctly Debug/clean up the code. Remove the lines that are not in use. Question regarding the maximum open buy/sell, if it is connected to the Martingale/recovery trades. I have 2 versions that should be similar but they do not open the same trades. What is the difference between them? Make sure the EA works properly
Looking for a great developer to develop an EA to send alerts to telegram . Alerts will be send from my mt5 indicator. More information will be provided to selected developer
Hello great developer here am looking for expert developer will convert convert this Trading View Code to Mt4 Indicator and this is a simple indicator i will be expecting your bid peace be unto you

Project information

Budget
150 - 200 USD
For the developer
135 - 180 USD
Deadline
from 1 to 3 day(s)