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

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



PureBytes Links

Trading Reference Links


Tomasz,
 
you are right; I had seen many times that example 
but I had forgotten it. However, now is better for me to wait for dll's 
help announced by Stephane, because it's handiness.
 
Best regards,
 
Franco
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Wednesday, October 30, 2002 8:52 
AM
Subject: Re: [amibroker] 
valuewhen(buy,....)

Franco,
 
The answer is: use VBScript - the 
sample code is provided in the User's Guide: AFL Scripting 
Host 
(profit target example) 
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Franco Fornari
To: <A title=amibroker@xxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, October 29, 2002 7:06 
PM
Subject: [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 tothe 
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.