• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 8:04pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 8:04pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MT4 to Excel through Excel RTD (Finally!) 580 replies

MT4 Account History to Excel 2 replies

MT4 export to Excel? 8 replies

Account history to excel 3 replies

MT account history to excel 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 3
Attachments: Export account history mt4 with comment to excel
Exit Attachments

Export account history mt4 with comment to excel

  • Post #1
  • Quote
  • First Post: Mar 18, 2017 2:52pm Mar 18, 2017 2:52pm
  •  trader4711
  • | Joined Dec 2016 | Status: Member | 33 Posts
Hi, I am looking for a solution to export account histroy from my mt4 with comment to excel.
At the moment it looks like in my picture, so I can not sort by comment because line break.
I am very happy if someone can help me.
Thanks
Attached Image (click to enlarge)
Click to Enlarge

Name: comment.jpg
Size: 195 KB
  • Post #2
  • Quote
  • Mar 19, 2017 7:14am Mar 19, 2017 7:14am
  •  mladen
  • Joined Apr 2007 | Status: ... | 783 Posts
Quoting trader4711
Disliked
Hi, I am looking for a solution to export account histroy from my mt4 with comment to excel. At the moment it looks like in my picture, so I can not sort by comment because line break. I am very happy if someone can help me. Thanks {image}
Ignored
Use the attached (it is a script : just drag it to chart, if you want, shange the name of the file you want to use and that is all)
Attached File
File Type: mq4 Save history to csv.mq4   5 KB | 3,441 downloads
 
1
  • Post #3
  • Quote
  • Mar 19, 2017 7:55am Mar 19, 2017 7:55am
  •  trader4711
  • | Joined Dec 2016 | Status: Member | 33 Posts
Thank you very much Mr. mladen. Works fine.
 
 
  • Post #4
  • Quote
  • Jul 19, 2018 1:39am Jul 19, 2018 1:39am
  •  ferry678
  • | Joined Sep 2009 | Status: Member | 16 Posts
Dear Trader4711,
is there a script for ongoing Trade also? It's useful for analyzing all the open trades in Excel. Or could combine this function into your script also ?
 
 
  • Post #5
  • Quote
  • Jul 20, 2018 1:15am Jul 20, 2018 1:15am
  •  nondisclosure00
  • Joined Apr 2007 | Status: Gettin' kick in the nutz every day! | 835 Posts
Quoting ferry678
Disliked
Dear Trader4711, is there a script for ongoing Trade also? It's useful for analyzing all the open trades in Excel. Or could combine this function into your script also ?
Ignored
https://www.forexfactory.com/showthread.php?t=676853

You have to code the .mq4. But you can pass off whatever you want to Excel.
 
 
  • Post #6
  • Quote
  • Oct 12, 2018 1:58pm Oct 12, 2018 1:58pm
  •  Inveratech
  • | Joined Oct 2018 | Status: Member | 1 Post
Hi, one question, it does seem to be saving but i dont know where its saving to
 
 
  • Post #7
  • Quote
  • Oct 12, 2018 3:00pm Oct 12, 2018 3:00pm
  •  Nicholishen
  • Joined Jul 2005 | Status: zzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzz | 1,289 Posts
Quoting Inveratech
Disliked
Hi, one question, it does seem to be saving but i dont know where its saving to
Ignored
Your ./MQL4/Files/ directory
 
 
  • Post #8
  • Quote
  • Oct 12, 2018 3:33pm Oct 12, 2018 3:33pm
  •  lana234
  • | Joined Feb 2018 | Status: Member | 4 Posts
Does anyone know how to connect two different Metatrader application to the same Excel by using DDE ? How ?
 
 
  • Post #9
  • Quote
  • Oct 24, 2018 2:17am Oct 24, 2018 2:17am
  •  nondisclosure00
  • Joined Apr 2007 | Status: Gettin' kick in the nutz every day! | 835 Posts
Try this: https://www.forexfactory.com/showthread.php?t=676853
 
1
  • Post #10
  • Quote
  • Jan 3, 2020 9:42pm Jan 3, 2020 9:42pm
  •  a.banerji
  • | Joined Jan 2020 | Status: Junior Member | 1 Post
Quoting mladen
Disliked
{quote} Use the attached (it is a script : just drag it to chart, if you want, shange the name of the file you want to use and that is all) {file}
Ignored
Works like a charm! What I also added was headers to the top of the script. Send me a message if you want to me post it here.
 
 
  • Post #11
  • Quote
  • Jun 22, 2020 2:43pm Jun 22, 2020 2:43pm
  •  jbcdk
  • | Joined Dec 2016 | Status: Member | 4 Posts
Quoting a.banerji
Disliked
{quote} Works like a charm! What I also added was headers to the top of the script. Send me a message if you want to me post it here.
Ignored
Hi banerji, yes please. Thx
 
 
  • Post #12
  • Quote
  • Feb 10, 2021 5:28pm Feb 10, 2021 5:28pm
  •  time2stop
  • | Joined Jan 2021 | Status: Junior Member | 2 Posts
Not working, can I know why?
Attached Image (click to enlarge)
Click to Enlarge

Name: 8672b3574c341f553cbb9648cc513a9e.png
Size: 166 KB
 
 
  • Post #13
  • Quote
  • Aug 20, 2021 4:43am Aug 20, 2021 4:43am
  •  sagiv
  • | Joined Jun 2021 | Status: Junior Member | 7 Posts
Not working in my case either...

"
2021.08.20 11:42:04.611 Expert 'Save history to csv' is not custom indicator and will be removed
"

Please advise ?
 
 
  • Post #14
  • Quote
  • Dec 20, 2021 6:22am Dec 20, 2021 6:22am
  •  achab
  • | Joined Jan 2011 | Status: Member | 154 Posts
Quoting mladen
Disliked
{quote} Use the attached (it is a script : just drag it to chart, if you want, shange the name of the file you want to use and that is all) {file}
Ignored
Hi and thanks for this interesting feature. I noticed it doesn't export the seconds, just date and time (HH:MM): could I ask you ato add the seconds?

Thanks in advance.
/achab
 
 
  • Post #15
  • Quote
  • Dec 20, 2021 9:10am Dec 20, 2021 9:10am
  •  mladen
  • Joined Apr 2007 | Status: ... | 783 Posts
Quoting achab
Disliked
{quote} Hi and thanks for this interesting feature. I noticed it doesn't export the seconds, just date and time (HH:MM): could I ask you ato add the seconds? Thanks in advance. /achab
Ignored
Change line 35 from this :
Inserted Code
#define _dts(_arg) TimeToString(_arg,TIME_DATE|TIME_MINUTES)
To this
Inserted Code
#define _dts(_arg) TimeToString(_arg,TIME_DATE|TIME_MINUTES|TIME_SECONDS)
 
1
  • Post #16
  • Quote
  • Last Post: Aug 5, 2022 8:46am Aug 5, 2022 8:46am
  •  Fonty
  • | Joined Jul 2021 | Status: Junior Member | 1 Post
Just found this and it's really useful. Is there a way to have the comments in line with everything else with its own column header?

Thanks
 
 
  • Platform Tech
  • /
  • Export account history mt4 with comment to excel
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022