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

Re: AFL



PureBytes Links

Trading Reference Links

Hi,

>I there a way to build and afl search for
>relative strength eg search the data base for anything that is trending above the >xao ?
Yes it is possible. If you want to find the stock that are stronger than "XAO" index
you can use the following formula:

strength = RelStrength( "XAO" );
maxstrength = Highest( strength );
buy = graph0 = strength > 0.9 * maxstrength; 

- where 0.9 is detection threshold

BTW: Next version of AmiBroker will enable a better way :-)

Best regards,
Tomasz Janeczko