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

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



PureBytes Links

Trading Reference Links


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@xxxxxxxxxx 
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 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.