StandardIndicator
interface cAlgo.API
DesktopCLICloud
Base type for standard indicators.
Definition
public interface StandardIndicator
Namespace: cAlgo.API · Group: General
Examples
var rsi = Indicators.RelativeStrengthIndex(Bars.ClosePrices, 14);
Print("RSI on {0} {1}: {2}", rsi.Symbol.Name, rsi.TimeFrame, rsi.Result.LastValue);
rsi = api.Indicators.RelativeStrengthIndex(api.Bars.ClosePrices, 14)
api.Print(f"RSI on {rsi.Symbol.Name} {rsi.TimeFrame}: {rsi.Result.LastValue}")
Methods
| Name | Description |
|---|---|
AddToChartDesktopCLICloudChartIndicator | Adds current indicator to chart if not added yet. |