[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Auto scanning of alerts in explore. Can this be done?



PureBytes Links

Trading Reference Links


Hi all,
 
I'm looking to move to AmiBroker RT, and had a question about auto scan for alerts.
 
Based on the code below, I'd like to run a RT exploration every 5 minutes in order to generate alerts.  No problem as I can run it as a scan by checking the box in AA window.  However, I'd like to have the custom addcolumns to track various info for the latest exploration which I can't do via Scan.  Any ideas?
 
Thanks,
Gary
 
CODE BELOW:

//MACD CROSSOVER
MALEN1 = Param("FAST MA",12,1,50,1);
MALEN2 = Param("SLOW MA",26,10,100,1);
MA1 = MA(C,MALEN1);
MA2 = MA(C,MALEN2);
MADIFF = MA1 - MA2;
MAALERT = Cross(MADIFF, 0);
MABUY = MADIFF > 0;
AlertIf(MAALERT,"C:\\WINDOWS\\Media\\ringin.wav","MACD X-ABOVE");
Filter = MAALERT;
AddColumn(MA1,"MA FAST", 5.2);
AddColumn(MA2,"MA SLOW", 5.2);
AddColumn(MADIFF, "MA DIFF", 5.2);
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search






Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.