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

[amibroker] Alerts



PureBytes Links

Trading Reference Links

I have created the following formula, to be used with real time 
version: 

PriceOsc = OscP( 3 , 10 ) ; 

Plot( PriceOsc , "Price Oscillator", IIf( PriceOsc > 0 , colorGreen , 
colorRed ) , styleNoLabel ) ; 

AlertIf( PriceOsc > Ref( PriceOsc , -1 ) AND Ref( PriceOsc , -1 ) <= 
Ref( PriceOsc , -2 ) , "sound C:\\windows\media\tada.wav", "Simple 
text alert", 1 ); 

AlertIf( PriceOsc < Ref( PriceOsc , -1 ) AND Ref( PriceOsc , -1 ) >= 
Ref( PriceOsc , -2 ) , "sound C:\\windows\media\tada.wav", "Simple 
text alert", 1 ); 

The alerts seem to be triggered on a tick by tick not at the close of 
the bar. How could I get them calculated at the close of each bar? 

alberto


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/