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

RE: [amibroker] Re: Help - SQRT and Peak won't play nice



PureBytes Links

Trading Reference Links




<SPAN 
class=276082905-02052003>Dimitris,
True 
enough but since the indicator will not accept the array of "C" do you see a 
better alternative using closing data?
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: DIMITRIS TSOKAKIS 
[mailto:TSOKAKIS@xxxxxxxxx]Sent: Thursday, May 01, 2003 4:20 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
Help - SQRT and Peak won't play 
niceJayson,Lastvalue(C) will give a fixed % for all 
the previous history. Tomorrow, another Lastvalue(C)will give another fixed 
% and all the previous history will change. This will give a peak 
recognition valid for only one day.DT--- In 
amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:> 
Chris,> try lastvalue(c)   as just c will produce a variable 
number> > Jayson> -----Original Message-----> From: 
cby [mailto:cby1@xxxx]> Sent: Thursday, May 01, 2003 12:41 PM> To: 
amibroker@xxxxxxxxxxxxxxx> Subject: [amibroker] Help - SQRT and Peak 
won't play nice> > > Hi. Maybe someone can tell me why the 
following does not work (bad> args error on second line):> 
> percdiff = (((0.17 * sqrt(Close)) / Close) * 100);> PK = Peak( 
H, percdiff, 1 ) == High;> > And this does work (actual number 
rather than Close):> > percdiff = (((0.17 * sqrt(4.5)) / 4.5) * 
100);> PK = Peak( H, percdiff, 1 ) == High;> > I'm sure 
it'll be something really dumb :-(.> > Thanks,> 
Chris> > > > 
>       Yahoo! Groups Sponsor> 
> > > > > Send BUG REPORTS to 
bugs@xxxx> Send SUGGESTIONS to suggest@xxxx> 
-----------------------------------------> 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 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












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.