Technical Analysis DLL for use with Windows Software - Aussie Stock Forums

Results 1 to 3 of 3
  1. #1

    Lightbulb Technical Analysis DLL for use with Windows Software

    Thought I'd create a list of basic TA dll functions for use with regular windows dll api's such as excel, perl and python.

    I will firstly attach the 32 bit and 64 bit versions of the file SPF.dll (SPF stands for Stats Pack Financials). And then in later posts, post my test scripts written in excel vba, perl and python. My "main.h" containing the dll function prototypes is also attached to show how to call the DLL functions.

    What my test scripts actually do is create a list of array quotes (date, open, high, low, close, volume), that are hard coded into the scripts, call some dll functions to perform some kind of array calculation and then display the results in a spreadsheet or comma separated file (csv).

    These scripts (attached later), can easily be modified to perform dll calculations on say reading quotes from a csv file or downloaded from the internet.


    Attached Files

  2. #2

    Lightbulb Re: Technical Analysis DLL for use with Windows Software

    The attached zip file contains the following test script files:

    SPFDLLTest.xls (excel file containing vba test script)
    SPFTest.pl (perl test script)
    SPFTest.py (python test script)

    These files MUST be put in the same directory as the dll (with same bit architecture) or scripts won't work.

    Here is an example of clicking on the MA_Liquid button in SPFDLLTest.xls (Excel 2013 64 bit):


    The other scripts are menu oriented and store results in output file "Output.csv".

    Let me know if you find this useful, bugs, have problems, suggested improvements etc.


    Attached Files

  3. #3

    Cool Re: Technical Analysis DLL for use with Windows Software

    Thought I'd demonstrate further use of SPF.dll by using it's functionality in MT4 indicators. Attached is file SPFDLL_MT4_20160517.zip, which contains some mt4 indicators that reference the dll. So what you need to do is unzip these files and put them in your MT4 installation directory like so:


    You put the 32 bit SPF.dll in the Libraries folder as shown above. Then you can just open up mt4 and attach the indicators to a chart.

    Note: the files with .ex4 extension are just the compiled .mq4 files of which you may need to compile (if mt4 doesn't compile on startup).


    Attached Files

Similar Threads

  1. Replies: 18
    Last Post: 28th-May-2016, 02:44 PM
  2. Replies: 13
    Last Post: 14th-December-2015, 09:31 PM
  3. Technical analysis books for beginners
    By grah33 in forum Trading/Investing Resources
    Replies: 19
    Last Post: 4th-September-2015, 03:51 PM
  4. What's a good technical analysis program for a beginner?
    By darkhorse70 in forum Software and Data
    Replies: 18
    Last Post: 1st-October-2013, 10:56 PM
  5. Technical analysis - useful for all instruments?
    By Twiddle in forum Trading Strategies/Systems
    Replies: 1
    Last Post: 28th-July-2010, 03:27 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Aussie Stock Forums