SharpTrader.SDK - Developer API

IndicatorFactory..::..NewInstance Method (String, Int32, String, BarWidths, IndicatorFlags)

Creates new instance.

Namespace:  SharpTrader.Core.Indicators
Assembly:  SharpTrader.SDK (in SharpTrader.SDK.dll)

Syntax


public IRTIndicatorInstance NewInstance(
	string name,
	int bars,
	string ticker,
	BarWidths barWidth,
	IndicatorFlags flags
)

Parameters

name
Type: String
The name.
bars
Type: Int32
The bars.
ticker
Type: String
The ticker.
barWidth
Type: SharpTrader..::..BarWidths
Width of the bar.
flags
Type: Sharpshooter.SDK.Indicators..::..IndicatorFlags
The flags.

Return Value