PureBytes Links
Trading Reference Links
|
thanks to everyone for all the help
ron
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Dave Merrill
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, September 12, 2003 4:08
AM
Subject: RE: [amibroker] help with
adx/dmi
<SPAN
class=542545113-12092003>ron, to expand a bit on jayson's reply, I agree that
the problems you're seeing are just minor syntax errors, really common when
you're getting started, nothing major.
<SPAN
class=542545113-12092003>
<SPAN
class=542545113-12092003>first off, every line of AFL code has to end with a
semicolon. you might have them in your actual code, but they weren't
consistent in your emails, so I thought I'd mention it.
<SPAN
class=542545113-12092003>
<SPAN
class=542545113-12092003>second, PDI and MDI are functions, so a pair of
parentheses is always required after them, as in PDI(). between the parens is
where you put the period to use, if you want to override the defaults, like
PDI(14). they both do have default periods that get used if you don't say
otherwise, so you can leave the period itself out, but not the
parens.
<SPAN
class=542545113-12092003>
<SPAN
class=542545113-12092003>hope you get squared away,
<SPAN
class=542545113-12092003>
<SPAN
class=542545113-12092003>dave
<BLOCKQUOTE
>
<FONT face=Arial color=#0000ff
size=2>Ron,
<FONT face=Arial color=#0000ff
size=2>your syntax is incorrect....you need to define periods. from
help.....
<FONT face=Arial color=#0000ff
size=2>
SYNTAX
pdi( period = 14 )
so
<FONT face=Arial
size=2>
<FONT face=Arial
size=2>Buy=cross(pdi(14),mdi(14));
<FONT face=Arial
size=2> Sell=cross(mdi<SPAN
class=140154313-12092003>(14),pdi<SPAN
class=140154313-12092003>(14));
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Ron Morton
[mailto:mortonr003@xxxxxxxxxxxxx]Sent: Friday, September 12, 2003
2:28 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re:
[amibroker] help with adx/dmi
I get a syntax error 23 pointing to the comma
after pdi, what do I need to do to fix this?
ron
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=mrdavis9@xxxxxxxxxx
href="">mrdavis9
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Thursday, September 11, 2003
8:18 PM
Subject: Re: [amibroker] help with
adx/dmi
Try this:
Buy=cross(pdi,mdi); < the pdi crosses mdi from below as it
moves upward.
<FONT face=Arial
size=2> Sell=cross(mdi,pdi);
<pdi crosses mdi from above.
<BLOCKQUOTE
>
Ron D
----- Original Message -----
<DIV
>From:
<A title=mortonr003@xxxxxxxxxxxxx
href="">rmortonmd
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, September 12, 2003
1:08 AM
Subject: [amibroker] help with
adx/dmi
I've been trying to work with the built in adx/dmi line
and have found that the +cross (+DI going above -DI) has been rather
predictive of stocks that I have made money on. Conversely,
when there is a -cross (-DI going above +DI) I have routinely lost
money despite the fact that other indicators had not recommended a
sell. What I would like is to be able to do a scan for times
when there is a cross. I tried to modify the built in file
with: Buy = cross (pd, md)
Sell = cross (md, pd) and I kept getting a syntax error pointing to
the second "l" in "sell".I then tried:
Buy = ValueWhen( Cross( pd, md )) Sell =
ValueWhen( Cross( md, pd ));again, getting the same syntax
error.Any help in automating this process would be much appreciated
as I think that this may be a very effective tool for narrowing down
my stock list for potentially high profit
buys.Thanks,ron------------------------ Yahoo!
Groups Sponsor ---------------------~-->Buy Ink Cartridges or
Refill Kits for Your HP, Epson, Canon or LexmarkPrinter at
Myinks.com. Free s/h on orders $50 or more to the US & Canada. <A
href="">http://www.c1tracking.com/l.asp?cid=5511<A
href="">http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send
BUG REPORTS to <A
href="">bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to <A
href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: <A
href="">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 <A
href="">http://docs.yahoo.com/info/terms/
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.
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.
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.
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.
|