I require a executable file, (without any GUI/front-end), that runs as a Background Service and accesses stockmarket data on my local hard drive, in Metastock format (binary), processes the data according to instructions and generates a plain-text email containing the results that is sent to a localhost SMTP server.
Attached is the proposed structure of the INI file, along with a couple of the formulae. The rest have been written but removed from this public post: they only use plus, minus, times and division. Here is an example of what the program needs to achieve - please read in conjunction with the INI file. /////EXAMPLE Today is 1st March so if I run the program the most recent data in Metastock will be timestamped February 29th. The data for 29th Feb was: Open: 12579.5 High: 12580.1 Low: 12223.5 Close:12266.3 and the data for 28th Feb was: Open: 12689.3 High: 12689.4 Low: 12536.4 Close: 12582.2 So, the "Range" sum would be 12580.1 - 12223.5 (=356.6) added to 12689.4 - 12536.4 (=153.0) which makes 509.6, divided by 2 = 254.8. That sum is neither below 100 nor greater than 300 so Range = "254.8". Next, the "Buy Order Formulae": 12266.3 is NOT greater than 12580.1 minus 251.6 (=12328.5) so Buy Order Formulae = "" (ie null). If it had been greater then the sum would have been 254.8 multiplied by 0.22 + 12266.3. Buy Order Formula = "12322.3".