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

[amibroker] ^N225 Timing System



PureBytes Links

Trading Reference Links

In the following sequence
day(-1):99
day(0) :100
day(1) :95 [above 90]
day(2) :91 [above 90]
day(3) :89 [below 90]

day(0) is the peak(H,10) and it is recognized as a peak after day(3)
Note that a peak may be recognized after MANY bars, the stock may 
stay for weeks in the [100,90] range. The first happy day it will 
fall BELOW 90, then the peak(H,10) function will name day(0) as a 
peak.
It is not far from the common sense, if you are is sales and if you 
want the best day of the month, you will know it by the end of the 
month. If the Feb13 is your top day, you never know it on Feb13.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "mrdavis9" <mrdavis9@xxxx> wrote:
> MessageThanks, 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
>                                                                     
                                                                      
                                        
> 
> 
> 
> 
> 
> 
> 
> ----- Original Message ----- 
>   From: Graham 
>   To: 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
>   http://e-wire.net.au/~eb_kavan/ 
> 
>     -----Original Message-----
>     From: mrdavis9 [mailto:mrdavis9@x...] 
>     Sent: Thursday, 26 February 2004 8:15 AM
>     To: amibrokeryahoogroups
>     Subject: [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(V,50)>1000000 AND C<150 AND Peak(C,5,1);
> 
> 
> 
> 
>     ---
>     Outgoing mail is certified Virus Free.
>     Checked by AVG anti-virus system (http://www.grisoft.com).
>     Version: 6.0.593 / Virus Database: 376 - Release Date: 2/22/2004
> 
> 
>     Send BUG REPORTS to bugs@xxxx
>     Send SUGGESTIONS to suggest@xxxx
>     -----------------------------------------
>     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 
> 
> 
> 
> 
>     Send BUG REPORTS to bugs@xxxx
>     Send SUGGESTIONS to suggest@xxxx
>     -----------------------------------------
>     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
> 
>       a.. To visit your group on the web, go to:
>       http://groups.yahoo.com/group/amibroker/
>         
>       b.. To unsubscribe from this group, send an email to:
>       amibroker-unsubscribe@xxxxxxxxxxxxxxx
>         
>       c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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:
     http://docs.yahoo.com/info/terms/