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

RE: [amibroker] valuewhen(buy,....)



PureBytes Links

Trading Reference Links


<SPAN 
class=433554219-29102002>Franco,
<SPAN 
class=433554219-29102002>perhaps you could use flip as a 
filter?
<SPAN 
class=433554219-29102002> 
<SPAN 
class=433554219-29102002>buy1=cond1;
<SPAN 
class=433554219-29102002>sell1=cond2;
<SPAN 
class=433554219-29102002>test=flip(cond1,cond2)
<SPAN 
class=433554219-29102002>lastbuy=valuewhen(test=1 and 
buy1,c,1);
<SPAN 
class=433554219-29102002> 
<SPAN 
class=433554219-29102002> 
 
Jayson 

<FONT face=Tahoma 
size=2>-----Original Message-----From: Franco Fornari 
[mailto:ffpsi@xxxx]Sent: Tuesday, October 29, 2002 2:23 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
valuewhen(buy,....)
Hi Jayson,
 
nothing change using Exrem or Equity;
 
Thanks,
 
Franco
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
<A href="" 
title=jcasavant@xxxx>Jayson 
To: <A 
href="" 
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx 
Sent: Tuesday, October 29, 2002 8:07 
PM
Subject: RE: [amibroker] 
valuewhen(buy,....)

<SPAN 
class=992580619-29102002>Franco,
<SPAN 
class=992580619-29102002>perhaps if you attach exrem to your 
buy/sell??
 
Jayson 

<FONT face=Tahoma 
size=2>-----Original Message-----From: Franco Fornari 
[mailto:ffpsi@xxxx]Sent: Tuesday, October 29, 2002 1:07 
PMTo: <A 
href="">amibroker@xxxxxxxxxxxxxxxSubject: 
[amibroker] valuewhen(buy,....)
Hello,
 
I noticed a possible trouble, using valuewhen() 
to refer to the last buy. It seems that this function is 
referring to the last buy condition, wich is not always that one signaled 
by the last green arrow. Frequently, a trading system can detect a few buy 
conditions, before to generate a "sell". But I need to refer to the last green 
arrow and not to the last buy condition. How can I do it?
 
Best regards,
 
FrancoPost 
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. 
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. 
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.