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

Re: [amibroker] How do I include a Custom indicator in a scan?



PureBytes Links

Trading Reference Links

sorry, just sent and saw mistake
Buy = YourOtherConditions and sum(VFI>0,3)==3;


On 8/6/05, Graham <kavemanperth@xxxxxxxxx> wrote:
> Place the code for VFI in the AFL with your other conditions, or in a
> separate file and use #INCLUDE
> 
> Buy = YourOtherConditions and sum(VFI,3)==3;
> 
> On 8/6/05, original_nightstalker <nightstalker@xxxxxxxxxxx> wrote:
> > I currently have a scan set up using volume, ADX, MACD etc, but one of the indicators I use a lot is the Volume Flow Indicator (VFI) by Markos Katsanos, from S & C Magazine of June and July 2004.  The code is on the Ami website and works very well.
> >
> > My question, as a non-programmer, is:  how do I include criteria from a custom indicator like the VFI into a scan formula?  More specifically, I'm trying to include, as an "AND" along with the other criteria, the fact that a stock's VFI has been above zero for the last 3 bars.



-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h6pedfo/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123288631/A=2894352/R=0/SIG=11fdoufgv/*http://www.globalgiving.com/cb/cidi/tsun.html";>Help tsunami villages rebuild at GlobalGiving. The real work starts now</a>.</font>
--------------------------------------------------------------------~-> 

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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/