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

Re: [amibroker] Indicator Values at Buys



PureBytes Links

Trading Reference Links


Hi Ken,
 
If you set
 
Filter = BUY or SELL;
 
and then use AddColumn to add a column for each indicator, 
your exploration results will contain one line for each trade signal, whichwill 
contain the value of your indicators on that day. If the actual trade is 
delayed, you can set up AddColumn as follows:
 
AddColumn(<FONT 
color=#0000ff>Ref( Your Indicator Here, Periods To Delay), <FONT 
color=#ff00ff>"Header");
 
Is this what you were looking for?
 
Steve
 
 
----- Original Message ----- 
<BLOCKQUOTE 
>
<DIV 
>From: 
Ken Close 
To: <A title=amibroker@xxxxxxxxxx 
href="">AmiBroker List 
Sent: Sunday, April 28, 2002 4:00 
PM
Subject: [amibroker] Indicator Values at 
Buys
Can someone suggest a method and code to record and/or 
display the value ofone or more indicators when EACH Buy and Sell 
occurs.  This is not anexploration on any one day or number of days 
in the past.  It seems like itis a Buy/Sell system with the 
desireability of recording conditions wheneach B/S occurs.  ValueWhen 
function requires that you specify the nth mostrecent occurance of a 
"Condition".  How do you record the value over everyoccurance ofthe 
condition?RSICondition = ValueWhen(BUY,RSI(),??????);Inthis 
case RSICondition is a scalar and not an array, correct?How would I make 
it an array and find every 
occurance??Help!KenYour 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.