I think I can use the MSN scanner, but by the time I enter orders to buy the stocks, then they have already gone up beyond my entry price, so I want to automate this process (a program in EL that scans for stocks that meet my pre-set criteria, then it automatically buys the stocks)........or EL is not that sophisticated yet?
it seems like you've writen a scan function in EL before ... Would you tell me how this program works. it seems it can scan only one chart at the time (because no do loop or while loop for the repetitive scan in the program), and the chart needs to be opened on the computer screen I think?
Thanks
// Scan Print (for use in scanner)
// version: beta 0.1
// Author: TAMS
// License: public use
//
// this indicator is for demonstration purpose only
//
// Description:
// this indicator scans the last bar on the chart,
// if the close is higher than previous bar's high,
// it will make a printout to
// a) the Output log window,
// b) the printer, or
// c) a file.
//
// see this thread for discussion
// http://www.traderslaboratory.com/forums/f46/scan-print-6194.html
//
Input:
Send.to.Log(true),
Send.to.printer(false),
Send.to.file(false),
File.name("c:\docs\scan_print.txt");
if LastBarOnChart then
begin
if c > h[1] then
begin
if Send.to.Log then
print(NumToStr(date+19000000,0), " C>H[1] " + getsymbolname);
if Send.to.printer then
print(printer, NumToStr(date+19000000,0), " C>H[1] " + getsymbolname);
if Send.to.file then
Fileappend(file.name, NumToStr(date+19000000,0) + " C>H[1] " + getsymbolname + newline);
end;
end;