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

[amibroker] What's wrong with this code?



PureBytes Links

Trading Reference Links

What's wrong with this code? It does NOT write the IndustryIDs to a 
watchlist. It leaves the watchlist blank and adds nothing to it, even 
though buy signals are triggered. Thanks, Bman

// add industries with buy signals to watchlist
varScreen = SelectedValue(Buy);
if (varScreen)
{
VarIndustryID = IndustryID(1);
CategoryAddSymbol(VarIndustryID, categoryWatchlist, 6);
}


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/623 - Release Date: 1/11/2007 3:33 PM