Discussing the article: "How to create a trading journal with MetaTrader and Google Sheets" - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The codes of Google Sheet and the program that are in Metatrader are sensitive to the smallest change. All uppercase and lowercase letters must be respected.
In the previous comment, the code related to Apps Script is placed. Use it carefully.
This code: https://github.com/jamiewilson/form-to-google-sheets
Do the steps "Create a new Google Sheet" to "How to post (write) data to google Spreadsheets" again. If you are not successful in these steps, you cannot go to the next steps.
All the code and MY JOURAN are a sample. you must do the steps by yourself.
Hello Sara,
I finally had time to look into this.
For multiple times I've tried to make it work, following the instructions very carefully, but I still get no trades logging on the Google sheet from MT5 data.
The App Scritp works when I enter the data manually thought the html. The Mt5 code (that I've downloaded from here) gives me no errors nor warnings - I carefully inserted my web app URL to it.
Chatgpt suggested to add my App Script URL in the the Expert Advisor "Allow WebRequest for listed URL." But that did not help.
I noticed that the issue is that when I apply the EA to the chart, it looks active on the top right corner, but if I look into Expert in the bottom window, it does NOT say "Expert Advisor Initialized" (as it usually does with other EAs)
Is there anything else I could try? I'd really like to use this.
Thanks a lot
EDIT:
After a lot of tweaking with AI also to add other parameters, I managed to make it work! YES! I love it. Thank you.
EDIT:
After a lot of tweaking with AI also to add other parameters, I managed to make it work! YES! I love it. Thank you.
I am happy and pleased that this article was useful to you.
Your efforts are commendable. Because there were really many details and nuances in this work.
Good luck.
Got a compile error for this line, pointing to an undefined variable 'str'
Error Description:
lvalue expected AutoJournal.mq5 49 55
could be one of 2 function(s) AutoJournal.mq5 49 8
built-in: int WebRequest(const string,const string,const string,const string,int,const uchar&[],int,uchar&[],string&) AutoJournal.mq5 49 8
built-in: int WebRequest(const string,const string,const string,int,const uchar&[],uchar&[],string&) AutoJournal.mq5 49 8
Amazing work, I really appreciate the time and effort to share this tutorial. Thank you very much.
I got a compilation error for this line, pointing to an undefined variable 'str'
Error description:
lvalue expected AutoJournal.mq5 49 55
could be one of 2 functions AutoJournal.mq5 49 8
built-in: int WebRequest(const string,const string,const string,const string,int,const uchar&[],int,uchar&[],string&) AutoJournal.mq5 49 8
built-in: int WebRequest(const string,const string,const string,int,const uchar&[],uchar&[],string&) AutoJournal.mq5 49 8
It is very likely that the problem is with your MetaTrader version. Please update it.
It's already using latest build 5572 when I got the error.
Version: 5.00 build 5572
30 Jan 2026
It's already using latest build 5572 when I got the error.
Version: 5.00 build 5572
30 Jan 2026