Help Needed writing an AFL

#1
Hello friends,

I have a simple problem and I don't know how to define it in amibroker. Basicaly what I want to do is make a filter to screen through a basket of stocks I have. For example I am scanning through the NASDAQ BIOTECH section.

I want the screener to look something like this:
/////////////
Condition A=....

Condition B=....

Condition C=....

Condition D= If RSI (12)>xx of stock $NBI

Filter= (Condition A) and (Condition B) and (Condition C) and (Condition D)

/////////////

My problem is Condition D. I want to calculate the RSI of a specific stock (in this case $NBI) and include this in the screening proces. Can anybody help me on how to define this. Thanks in advance
 

Similar threads