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

Re: [amibroker] Programing Question



PureBytes Links

Trading Reference Links

At 08:53 PM 5/23/2003 +0000, you wrote:

I'm trying break into this AFL programing language with very simple
Back Test but keep getting Syntax errors.  I'm looking for MACD that
has moved above zero and the OBV above the close price.  Here's the
formula.
Buy = Cross(MACD(),0)AND OBV > C));
Sell = Cross(0,MACD())AND OBV < C));

What am I doing wrong?

Dick H


Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=244522.3313099.4604523.1261774/D=egroupweb/S=1705632198:HM/A=1595054/R=0/*http://ashnin.com/clk/muryutaitakenattogyo?YH=3313099&yhad=1595054>15759126.jpg
157591a3.jpg

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: 
<http://groups.yahoo.com/group/amiquote/messages/)>http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: 
<http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://groups.yahoo.com/group/amibroker/files/groupfaq.html 


Your use of Yahoo! Groups is subject to the 
<http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).

Attachment: Description: ""

Attachment: Description: "Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003"