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

[amibroker] Re: Fw: How about



PureBytes Links

Trading Reference Links




Using the 
example
High High = 
$1.00
this price will be marked 
as a peak if the subsequent high price breaks below $0.90.
If it goes higher instead 
then that new higher high becomes the base for subsequent peak 
calculation
 
Best way would be for you 
to plot the zig function as this demonstrates both Peak and 
trough
 
<FONT 
face=Arial>Plot(C,"",colorblack,styleline);
<FONT 
face=Arial>plot(zig(c,10),"",colorred,styleline);
 
 
Cheers,Graham<A 
href="">http://e-wire.net.au/~eb_kavan/ 


  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: mrdavis9 
  [mailto:mrdavis9@xxxxxxxxxx] Sent: Thursday, 26 February 2004 9:53 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
  How to use Peak(array,change,n)
  Thanks, Graham. In your example below, you say that a 
  new PEAK will form after the High price is 10% lower than the most 
  recent highest high.  lets assume that the current high is 100, 
  then this Peakfunction will find the most recent time that the High was 
  >=$111.11.  You say that a new peak will form after the High 
  price is 10% lower than the most recent high.  Most likely, this latest 
  bar will not be a new peak high level of the high, so I am wondering why it is 
  referred to as a new peak.  
   
   have no idea what this newly found 10% lower bar 
  should be called, but to me, calling it a new peak is misleading.  To me, 
  a little more accurate name for this function would be 
  Drop(array,change,1).
   
  I probably still fail to understand how this works, but 
  these are my comments based on my current understanding of what Peak 
  does.  Thanks again for the explanation.  Ron D
  <FONT 
  face="Times New Roman">                                                                                                                                                                                  
  
   
   
   
   
   
   
   
  ----- Original Message ----- 
  <BLOCKQUOTE dir=ltr 
  >
    <DIV 
    >From: 
    <A title=gkavanagh@xxxxxxxxxxxxx 
    href="">Graham 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Wednesday, February 25, 2004 6:20 
    PM
    Subject: RE: [amibroker] How to use 
    Peak(array,change,n)
    
    The change is the 
    percent change. A new peak is formed only after the relevant array price has 
    moved by the % amount
    eg if you are using 
    Peak(H,10,1) then a new peak will form after the High price is 10% lower 
    than the most recent highest high
    hope this 
    helps
     
    Cheers,Graham<A 
    href="">http://e-wire.net.au/~eb_kavan/ 
    
    
      
      <FONT 
      face=Tahoma size=2>-----Original Message-----From: mrdavis9 
      [mailto:mrdavis9@xxxxxxxxxx] Sent: Thursday, 26 February 2004 
      8:15 AMTo: amibrokeryahoogroupsSubject: [amibroker] 
      How to use Peak(array,change,n)
      I saw Graham's post with the definition of 
      Peak.  This prompted me check it out.   I ran the 
      example in the user manual and I had the  timespan set FROM 
      1/27/1995 and TO 1/27/2004.  When I clicked on SHOW CURRENT , there 
      was a buy arrow at 2/1/2000 and the close price was $71.00.  This 
      compares to the close price of $33.91 on 1/27/04.   I am 
      unable to understand what CHANGE  means 
      in Peak(array,CHANGE,1).
      I would appreciate it if someone could help me 
      understand what CHANGE means, and show some examples of how you are 
      currently using this Peak function.  Ron D
       
       
      Here is what I ran>>>
      Buy=MA<FONT 
      size=4>(V,50<FONT 
      size=4>)>1000000 
      AND C<150<FONT 
      size=4> AND Peak<FONT 
      size=4>(C,5<FONT 
      size=4>,1<FONT 
      size=4>);
       
       
      ---Outgoing mail is certified Virus 
      Free.Checked by AVG anti-virus system (<A 
      href="">http://www.grisoft.com).Version: 
      6.0.593 / Virus Database: 376 - Release Date: 
      2/22/2004Send 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 
      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 
      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 
  


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








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.