Filter=1;

AddColumn( rsi(param("rsi",14,7,200,7)), "rsi",1.2,1);

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  and scan ...

 read help file in amibroker .

AFL Function Reference - RSI  *RSI
*- relative strength index

*Indicators
*

  *SYNTAX* *RSI( periods = 14 )
RSIa( array, periods = 14 ) * *RETURNS* ARRAY  *FUNCTION* Calculates
the RSIindicator using
*periods *range
Second version RSIa accepts input array so it RSI can be applied to other
arrays than close.  *EXAMPLE* RSI( 12 )
RSIa( High, 12 );  *SEE ALSO*

On 5/10/09, nunopires2001 <[email protected]> wrote:
>
>
>
> Hi,
>
> I want to calculate the RSI for all my stocks, and write last RSI value for
> each stock on a file.
> So, my afl script, should loop through every stock, retrieve last RSI, and
> write "stock rsi" to a file.
>
> Anyone can give me some ideas on how can this be done?
>
> Many thanks!
>
>  
>



-- 
    Warm Regards;
      ``````  Natasha !!!
Capitalism is a law established by God. Its foundation is in the 9th
Commandment,
      "Thou shalt not covet."
   “When you see that trading is done, not by consent, but by compulsion -
when you see that in order to produce, you need to obtain permission from
men who produce nothing – when you see money flowing to those who deal, not
in goods, but in favors – when you see that men get richer by graft and pull
than by work, and your laws don't protect you against them, but protect them
against you – when you see corruption being rewarded and honesty becoming a
self-sacrifice – you may know that your society is doomed.”  ~ 1957 Ayn R. ~
Atlas Shrugged

Reply via email to