WsIndicatorSpec

StockSharp.Ws

Wire-shape for an indicator computation request: which kind to run and with what parameters. Same Kind + Parameters on the same candle series always yields the same series back.

Properties

Kind
public string Kind { get; set; }
value = wsIndicatorSpec.Kind
wsIndicatorSpec.Kind = value

Wire field kind. Lowercase id (e.g. "sma", "rsi", "macd").

Parameters
public Dictionary<string, object> Parameters { get; set; }
value = wsIndicatorSpec.Parameters
wsIndicatorSpec.Parameters = value

Wire field parameters. Tuning values (e.g. { "length": 20 }). Keys are case-insensitive on the server.