GetSeries


Summary

Get the MarketSeries of a specific timeframe and the current symbol

Syntax

public MarketSeries GetSeries(TimeFrame timeFrame)
public MarketSeries GetSeries(string symbolCode, TimeFrame timeFrame)
public MarketSeries GetSeries(Symbol symbol, TimeFrame timeFrame)

Parameters

NameDescription

Example 1

var marketSeriesMin30 = MarketData.GetSeries(TimeFrame.Minute30);
var smaMin30 = Indicators.SimpleMovingAverage(marketSeriesMin30.Close, 14);