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

[amibroker] Re: First day of buy signal



PureBytes Links

Trading Reference Links

Thanks. I tried out the AFL inside a loop and it worked:

> if ( ( buy[i] == 1 ) and ( buy[i-1] == 0 ) )

However, if the day before my buy day is a sell day from a previous 
buy, would buy be 0 and sell be 1:

Monday = Sell from previous trade (SELL = 1; BUY = 0?)
Tues = Buy   <<<- today only
Weds = In trade
Thurs = In trade
Fri = Sell


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.20/664 - Release Date: 2/2/2007 3:42 PM