PureBytes Links
Trading Reference Links
|
Lee,
Yes thats right, the latest
version on the web site still has that formula. The new version that I
am currently testing will have that modification along with some
additional features like support for parenthesis and additional indicators and
etc. Both formulas should both produce the same sell signals though.
I'm not sure what part of the formula you were graphing but it would
be a different result because of the LastValue function.
Regards,
William
Peters
<A
href="">www.amitools.com
<FONT face=Tahoma
size=2>-----Original Message-----From: Lee Coisman
[mailto:leecoisman@xxxxxxxxxxx]Sent: Wednesday July 16, 2003 5:55
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker]
Help! AFL code Sell =Hi William,That helped a lot.
It looks like it does what I expect it to do when graphing. I have another
question for you. How did you get power scan to generate the formula for
you? The closest I got wasSell = LastValue( Ref( LLV( Low, 3 ), -1
) ) > Low;Graphing that function did not give me anywhere near the
results your formula did.TIALeeWilliam Peters
wrote:
<BLOCKQUOTE cite=""
type="cite">Hello Lee>From your words; "That is, sell when the
price drops below the lowest low of the last 3 days." My interpretation is
that you require the function to sell when the low of today drops below the
lowest low of the PREVIOUS 3 days, so all up we are talking about a four day
period. Using the ref function you can find the lowest low of the previous 3
days as follows. (if you only really want to look back 2 days then just change
the 3 to 2 in the function)/* Created using PowerScan date: 16 Jul
2003The Low Price is the lowest it has been for the previous 3 bars
*/Sell = Ref( LLV( Low, 3 ), -1 ) >
Low;Regards,William Peters<A
class=moz-txt-link-abbreviated
href="">www.amitools.com-----Original
Message-----From: cois9577 [<A class=moz-txt-link-freetext
href="">mailto:leecoisman@xxxxxxxxxxx]Sent:
Wednesday July 16, 2003 2:34 PMTo: <A class=moz-txt-link-abbreviated
href="">amibroker@xxxxxxxxxxxxxxxSubject:
[amibroker] Help! AFL code Sell =I have the following line in my
automatic analysis.Sell = Close < LLV(Low,1);I can change
The 1 to a 2 or a 3 and the result is always the same.I get buy signals,
but there is never a sell signal. I will have apositive return for the
system sometimes and at other times it will be0.00I also tried
sell = cross (llv (low,3),low); which I think is what Ireally want to
do. That is, sell when the price drops below thelowest low of the
last 3 days.I get an out , and then an open long in all the positions
on the report.Nothing after that. The quotes are from the beginning of
1990 to thepresent, so there should be enough time to generate a sell
signal.Any Ideas what I'm doing
wrong?TIALeeSend BUG REPORTS to <A
class=moz-txt-link-abbreviated
href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
<A class=moz-txt-link-abbreviated
href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: <A class=moz-txt-link-abbreviated
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 <A
class=moz-txt-link-abbreviated
href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
<A class=moz-txt-link-abbreviated
href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: <A class=moz-txt-link-abbreviated
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 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.
|