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() { //This series is already offset and can be used in Strategies w/o peeking DataSeries e = FundamentalDataSeries("inflation eurozone",1); ChartPane paneInflation = CreatePane(40,true,true); PlotSeries(paneInflation,e,Color.Blue,LineStyle.Histogram,5); //This raw series is for plotting only; can not be used in backtesting w/o a shift ChartPane paneInflationRaw = CreatePane(40,true,true); PlotFundamentalItems(paneInflationRaw,"inflation eurozone",Color.Red,LineStyle.Solid,1); } } }
Some of the available inflation items