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 the usage of GetDetail using the fundamental data item "analyst rating" const char tab = '\u0009'; string item = "analyst rating"; IList fList = FundamentalDataItems(item); ClearDebug(); PrintDebug(Bars.Symbol + tab + "Item Count: " + fList.Count); PrintDebug("Date " + tab + "Analyst"); foreach (FundamentalItem fi in fList) { PrintDebug( fi.Date.ToShortDateString() + tab + fi.GetDetail("firm") + tab + fi.GetDetail("from") + tab + fi.GetDetail("to") + tab ); } } } }