Sample chart annotations
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using WealthLab.Indicators;namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { // Illustrates how to handle 99WallStreet.com's extended EPS information with GetDetail const char tab = '\u0009'; string item = "[99] eps"; IList<FundamentalItem> fList = FundamentalDataItems(item); ClearDebug(); PrintDebug(Bars.Symbol + tab + "Item Count: " + fList.Count); foreach (FundamentalItem fi in fList) { PrintDebug( fi.Date.ToShortDateString() + tab + fi.Value.ToString() + tab + fi.GetDetail("CompanyName") + tab + fi.GetDetail("EPSEstimate") + tab + fi.GetDetail("EPSSurprise") + tab + fi.GetDetail("Revenue") + tab + fi.GetDetail("RevenueEstimate") + tab + fi.GetDetail("RevenueSurprise") + tab ); } } } }