PureBytes Links
Trading Reference Links
|
You had too many braces.
Buy = Cross(MACD(),0) AND OBV > C;
Sell = Cross(0,MACD()) AND OBV < C;
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "drlblast" <hoierman@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, May 23, 2003 10:53 PM
Subject: [amibroker] Programing Question
> 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
>
>
>
> 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/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|