IndicatorBuffer Constructor
Creates an instance of the IndicatorBuffer class.
public IndicatorBuffer(
BufferTypes BufferType,
BufferStyles BufferStyle,
Color Color,
Sizes Size = Sizes.Small,
double Distance = 0
);
Parameters
BufferType BufferTypes
Type of buffer.
BufferStyle BufferStyles
Buffer style.
Color Color
Color of buffer.
Size = Sizes.Small Sizes
Buffer size/thickness.
Distance = 0 double
Distance of buffer value from value in pixels.
Example
var UpBuffer = new IndicatorBuffer(BufferTypes.Object, BufferStyles.TriangleUp, Color.Teal, Sizes.Small, 20);
Buffers.Add(UpBuffer);