DislikedNothing, I just want to output data (FastClose FastOpen SlowClose SlowOpen) to excel, like pictures, the use of ExportHistory.mq4, but I do not know how to change.Ignored
Attached File(s)
MT4 to Excel through Excel RTD (Finally!) 612 replies
MT4 export to Excel? 8 replies
How do you Export MT4 price to Excel? 7 replies
Export to Excel 6 replies
Export OHLC to Excel 4 replies
DislikedNothing, I just want to output data (FastClose FastOpen SlowClose SlowOpen) to excel, like pictures, the use of ExportHistory.mq4, but I do not know how to change.Ignored
DislikedIs their any way to create a script, indicator that will export any indicator data
by placing the name of the custom indicator in the scriptIgnored
Dislikedhi all,
i've tried the ExportHistory hdmencn.mq4, it creates a ExportHistory hdmencn.ex4 but i see no results. i've tried attaching it to charts of many timeframes, and no luck. if i right-click on the chart i DO have the option to 'Remove Script' although that doesn't work either.
This is a fresh install of MT4. any advice is appreciated! as i am currently manually exporting about 10 sets of data every day (i would love to automate this whole process.).
cheers
markIgnored
DislikedI've heard that Vista somehow restricts writing files to any application installed under the Program Files folder. If you're running Vista, perhaps you could try installing MT4 elsewhere. I'm only guessing, but it might be worth a try.Ignored
DislikedI am running Win-XP, and all versions posted in this thread work correctly on my config here. The output file is created in the ....../experts/files folder. If you are running either Vista or Win-7, I can not troubleshoot problems.
I've heard that Vista somehow restricts writing files to any application installed under the Program Files folder. If you're running Vista, perhaps you could try installing MT4 elsewhere. I'm only guessing, but it might be worth a try.Ignored
03-24-2010,20:30,1.02316,1.02430,1.02284,1.02426,552,1.02386,1.02150,1.02166,1.02014 03-24-2010,20:00,1.02454,1.02456,1.02268,1.02317,920,1.02380,1.02140,1.02150,1.02004 03-24-2010,19:30,1.02561,1.02561,1.02394,1.02455,1031,1.02390,1.02121,1.02140,1.01989 03-24-2010,19:00,1.02448,1.02681,1.02382,1.02562,1660,1.02379,1.02095,1.02121,1.01970 03-24-2010,18:30,1.02636,1.02679,1.02441,1.02447,1580,1.02349,1.02073,1.02095,1.01955 03-24-2010,18:00,1.02643,1.02693,1.02579,1.02636,1420,1.02333,1.02039,1.02073,1.01932 03-24-2010,17:30,1.02607,1.02802,1.02567,1.02641,1886,1.02282,1.02003,1.02039,1.01909 03-24-2010,17:00,1.02331,1.02717,1.02326,1.02608,2327,1.02223,1.01966,1.02003,1.01886 03-24-2010,16:30,1.02255,1.02336,1.02176,1.02332,1639,1.02159,1.01944,1.01966,1.01872 03-24-2010,16:00,1.02238,1.02306,1.02102,1.02259,1758,1.02130,1.01925,1.01944,1.01859 03-24-2010,15:30,1.02350,1.02399,1.02235,1.02241,1913,1.02108,1.01906,1.01925,1.01847 03-24-2010,15:00,1.02353,1.02375,1.02215,1.02346,1416,1.02086,1.01879,1.01906,1.01830 03-24-2010,14:30,1.02221,1.02541,1.02176,1.02354,2199,1.02043,1.01851,1.01879,1.01813 03-24-2010,14:00,1.02182,1.02410,1.02114,1.02221,1087,1.01991,1.01828,1.01850,1.01800 03-24-2010,13:30,1.02219,1.02265,1.02155,1.02183,852,1.01953,1.01807,1.01828,1.01787 03-24-2010,13:00,1.02173,1.02217,1.02114,1.02217,588,1.01915,1.01782,1.01806,1.01773 03-24-2010,12:30,1.02149,1.02331,1.02135,1.02172,888,1.01865,1.01758,1.01781,1.01760 03-24-2010,12:00,1.01957,1.02157,1.01891,1.02148,1333,1.01813,1.01734,1.01758,1.01747
DislikedJust one thought...... It's an indicator, not a script, hence it should be installed in the ....../experts/indicators folder, and run accordingly.
I just dragged it (the version attached to post #41) onto a USDCAD,M30 chart. It took maybe 4-5 seconds to run, generated the comment "History export complete to file ...../experts/files/USDCAD,M30.csv" when it completed, and created a 755KB output file called USDCAD,M30.CSV in the ....../experts/files folder. An excerpt from the start of the file is shown below.
I don't...Ignored
Dislikedi'm not great with the MT4 language but i can edit & tweak.. would you tell me, if i wanted this indicator to run at regular intervals, overwriting the existing CSV, would it involve modifying the indi, or creating a script?Ignored
DislikedA script will run once, every time you drag it onto the chart.
The init() module of an indicator runs immediately you attach the indy to a chart, while the start() module runs once every time there's a new price tick. So if by 'regular intervals' you mean that you want the export to be re-run (for example) every 5 minutes, you'd check to see whether 5 minutes had elapsed since the last export, and if so, re-export the data.Ignored
DislikedTo possibly save you any programming bother........ the indy (attached to post #41) performs a fresh export every time the first tick on a new candle occurs on the chart to which it's attached. So if TimeFrame parameter is set to 15, but it's attached to a M1 chart, the output will be the OHLC of M15 candles, but it will be re-exported every 1 minute.
Does this help?Ignored