If you want to know which signals were generated within the last N bars, use BarsSince--eg ------ mrBuy = BarsSince(Buy); mrSell = BarsSince(Sell); ------ To tell which Buy signals are still true, add ------- BltS = (mrBuy < mrSell); mrtBuy = IIf(BltS, mrBuy, 99); // 99 for not on Buy AddColumn(mrtBuy,"mrtBuy",1.0); AddColumn(mrBuy,"mrBuy",1.0); AddColumn(mrSell,"mrSell",1.0); ------
Bob -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of aboaziz_sa Sent: Wednesday, August 09, 2006 3:45 PM To: [email protected] Subject: [amibroker] Help on AA scan timing needed AA set to 5 min to scan group of stocks with Stochastic as a system . My question: Is t possible to restrict the AA to show only Signals generated the last 10 minutes , not from the beginning of the trading day? I would appreciate it. Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
