PureBytes Links
Trading Reference Links
|
Dimitris,
yes, you a absolutely right! The code
is absurd!
However, in mathematics you can do all
kinds of weird things that do not happen in reality. (We can be glad that this
is indeed the case :-)
.)
My point was simply to <FONT
color=#008000>correct the code presented by Dick: I was
not referring to any meaningful items that kind of code should fall back
on!
Regards,
Udo
<BLOCKQUOTE
>
-----Ursprüngliche Nachricht-----
<DIV
>Von:
DIMITRIS
TSOKAKIS
An: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Gesendet: Samstag, den 24. Mai 2003 13:21
Uhr
Betreff: [amibroker] Re: Programing
Question
Dick, Udo,the code is correct, the condition OBV() >
c or OBV() < c is absurd.Since it is connected with an AND to the MACD
condition, will give quite false results.Perhaps you need something
else for OBV().DT--- In <A
href="">amibroker@xxxxxxxxxxxxxxx, <A
href="">Udo.Harke@x... wrote:> Hello
Dick,> > your programming code should be as follows:>
> Buy = Cross(MACD(), 0) AND OBV() > c;> > Sell =
Cross(0, MACD()) AND OBV() < c;> > Best regards,>
> Udo> > -----Ursprüngliche Nachricht-----
> Von: drlblast > An:
amibroker@xxxxxxxxxxxxxxx > Gesendet: Freitag, den 23. Mai
2003 22:53 Uhr> Betreff: [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> >
> Yahoo! Groups Sponsor
>
ADVERTISEMENT>
>
> >
> Send BUG REPORTS to bugs@xxxx> Send
SUGGESTIONS to suggest@xxxx>
-----------------------------------------> Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
--------------------------------------------> Check group
FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Your use of Yahoo! Groups is subject to the
Yahoo! Terms of Service.Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|