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

[amibroker] Scan or Exploration



PureBytes Links

Trading Reference Links


Can someone help me combine these two indicators into a scan or
exploration. I would like to scan for crossover on the daily chart.

The scan or exploration should pull stocks where the OBV crossed
EMA(OBV,10) and RSI (14) crossed EMA (RSI, 10).

Here is the AFL code for both indicators (OBV and RSI):

EMAPDS=Param("EMA PDS",10,1,50,1); 
Plot(OBV(),"",4,1); 
Plot(EMA(OBV(),emapds),"",colorYellow,1); 
Title="OBV "+ " With "+WriteVal(EMApds,1.0)+ " Period EMA";

RSIPDS=Param("RSI PDS",14,5,50,1); 
EMAPDS=Param("EMA PDS",10,5,50,1); 
Plot(RSI(rsipds),"",4,1); 
Plot(EMA(RSI(RSIpds),emapds),"",colorYellow,1); 
Title="RSI "+ WriteVal(RSIPDS,1.0)+ " With "+WriteVal(EMApds,1.0)+ "
Period EMA"; 

Thanks so much.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/