Australian (ASX) Stock Market Forum

Recent content by ajcode

  1. A

    Accessing Norgate data from Excel

    Possible Option 4: Since Norgate provide a DLL plugin only for use in Amibroker, maybe the DLL functions from this same plugin could be called from Excel macros to gain access to the data. Probably not, but if not, maybe Norgate could in future provide a generic DLL for people that don't use...
  2. A

    Trade Tracking Spreadsheet

    Gday, I have now added two buttons to my spreadsheet called "Run Cmd" and "Update Last Prices". As can be seen in the following image: As you can see, above the buttons is a non editable cell labelled "Shell Cmd" and next to it is an editable cell containing the words "python.exe...
  3. A

    MT4 HTM2CSV Statement converter using python

    Thought I'd write a python script to convert a MT4 htm statement containing your closed trade history to a nicely formatted csv file. Note: you need to install python for this to work. Attached is a zip file containing python script mt4htm2csv.py. Extract to where you store your Statement.htm...
  4. A

    Securities Price Tank - Storing CSV file Security Prices in Memory

    I have now updated the script with some much needed changes/additions. Firstly, the Date column is now the index in the dataframe and dates are sorted from oldest to most current. If you get an error message like: ValueError: time data '2017-03-23' does not match format '%d/%m/%Y' Then it...
  5. A

    Downloading ASX Stock Quotes from Yahoo Finance and Charting them in MT4 using Perl

    I've noticed that when I run the script in my previous post, sometimes there are duplicate consecutive rows in the data downloaded. For example, today I found the following entry: SFL,2018-08-06,0.075000,0.075000,0.075000,0.075000,286 SFL,2018-08-06,0.075000,0.075000,0.075000,0.075000,286 I...
  6. A

    Downloading ASX Stock Quotes from Yahoo Finance and Charting them in MT4 using Perl

    Attached is zip file yhquotespy20180802.zip, which contains the following 2 files: symlist.csv - input file containing symbols from https://www.asx.com.au/asx/research/ASXListedCompanies.csv yhquotes.py - updated python script for downloading asx yahoo finance data. Only changes here are that...
  7. A

    Downloading ASX Stock Quotes from Yahoo Finance and Charting them in MT4 using Perl

    No worries Jason, "quotes.csv" follows the format of symbol, date, open, high, low, close and volume. If you can download the EOD data in that exact csv format and rename the file to quotes.csv then yes it is possible. If format similar, but in multiple files then a little bit of programming is...
  8. A

    Converting Metastock EOD data to MT4 history files for MT4 charting

    Probably cause they may not contain metastock files. What's the error message?
  9. A

    Converting Metastock EOD data to MT4 history files for MT4 charting

    This thread is End of Day (EOD) Data Only not Intraday.
  10. A

    Securities Price Tank - Storing CSV file Security Prices in Memory

    Realised in my last post that the database load time was so high because I included the print statements in the timing. Having commented the print statements out and a couple of other useless variables, I only got it down to 0.6 seconds which was roughly 3.5 times slower. I am now blaming doing...
  11. A

    Securities Price Tank - Storing CSV file Security Prices in Memory

    I was able to split the quotes.csv file (in first post) into nearly 2000 symbol files and these have been zipped into the attached file mfquotes.zip. The csv file format is the same as csv files in previous post ("sptmcsv20170805.zip"). I have done this so similar comparisons can be made with...
  12. A

    Converting Metastock EOD data to MT4 history files for MT4 charting

    Just wondering, how are you executing the script? On windows 7 you click on start button/all programs/accessories/command prompt. Navigate to directory where the files are and type "perl ms2mt4.pl" or "python ms2mt4.py", then look at the errors and post a screen shot. Surely there is a command...
  13. A

    Converting Metastock EOD data to MT4 history files for MT4 charting

    Got any screen shots of the command prompt window and error message? I haven't run it on windows 10, but that hopefully shouldn't be the problem.
  14. A

    World's First Metatrader 4 ASX EOD Stock Market Scanner/Screener/Filter

    I have attached file SymbolScanPCV20170818.zip that contains the percent change of volume over the last n-periods mql4 script. Dialog Inputs when run are "PerChangeVolPeriod" and "PerChangeVolThreshold". Shouldn't be too hard to code other scans as the symbol is passed into symbol scan and you...
  15. A

    Downloading ASX Stock Quotes from Yahoo Finance and Charting them in MT4 using Perl

    When running the script "yhquotes.py" (in previous post) on a bigger list of symbols in symlist.csv, you might come across the following error: File "yhquotes.py", line 135, in <module> p_open = float(p_openstr); p_high = float(p_highstr) ValueError: could not convert string to float...
Top