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

RE: [amibroker] Programing Question



PureBytes Links

Trading Reference Links

The buy statement works fine as far as syntax goes and running a scan gives
results.
Exactly what is not working.

If you are trying to do an exploration then you will need Filter and
Addcolumn statements
Filter=buy;
Addcolumn(c,"close")

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: ct1942 [mailto:ct1942@xxxxxxxxx] 
Sent: Sunday, December 19, 2004 1:35 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Programing Question



I am trying to write an exploration to explore for stocks where the 21
day MA of OBV is increasing .

Here's what I've done and it doesn't seem to work.

Buy=EMA(OBV(),21) > Ref( EMA(OBV(),21), -5 ) AND Ref( EMA(OBV(),21),
-5) > Ref( EMA(OBV(),21), -10);

Any help would be appreciated.

Cordell






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



 




------------------------ 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/