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

Re: [amibroker] Help! AFL code Sell =



PureBytes Links

Trading Reference Links





William,

OOPS! I forgot to attach.

For your information:
I think the two attached jpg files show the difference in both formulas.

Regards,
Lee

William Peters wrote:
<blockquote type="cite"
 cite="">
  
  
  
  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 PM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: 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 was
  
Sell = LastValue( Ref( LLV( Low, 3 ), -1 ) ) > Low;
  
Graphing that function did not give me anywhere near the results your
formula did.
  
TIA
Lee
  
  
  
William 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 2003
The Low Price is the lowest it has been for the previous 3 bars */
    
Sell = Ref( LLV( Low, 3 ), -1 ) > Low;
    
    
Regards,
William Peters
    www.amitools.com
    
    
    
    
-----Original Message-----
From: cois9577 [<a class="moz-txt-link-freetext"
 href="">mailto:leecoisman@xxxxxxxxxxx]
Sent: Wednesday July 16, 2003 2:34 PM
To: <a class="moz-txt-link-abbreviated"
 href="">amibroker@xxxxxxxxxxxxxxx
Subject: [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 a
positive return for the system sometimes and at other times it will be
0.00
    
I also tried sell = cross (llv (low,3),low); which I think is what I
really want to do.  That is, sell when the price drops below the
lowest 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 the
present, so there should be enough time to generate a sell signal.
    
Any Ideas what I'm doing wrong?
    
TIA
Lee
    
    
    
Send BUG REPORTS to <a class="moz-txt-link-abbreviated"
 href="">bugs@xxxxxxxxxxxxx
Send 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@xxxxxxxxxxxxx
Send 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@xxxxxxxxxxxxx
Send 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@xxxxxxxxxxxxx
Send 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.




Attachment: Description: ""

Attachment: Description: ""