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() { // Access the symbol from a DataSet whose base scale is intraday. Do not synch yet! Bars intra30 = GetExternalSymbol("Dow 30_30", Bars.Symbol, false); // Apply the indicator in the intraday scale DataSeries sto_intra30 = StochD.Series(intra30, 15, 3); // Synchronize to the chart scale (Daily) sto_intra30 = Synchronize(sto_intra30); // Plot the result. // You'll see the last value of the day for the 30-minute indicator for each day ChartPane stoPane = CreatePane(40, true, true); PlotSeries(stoPane, sto_intra30, Color.Green, LineStyle.Solid, 2); } } }