Symbol.IsCustom
property · Symbol · cAlgo.API.Internals Since 5.3
DesktopCLICloud
Gets whether current symbol is a custom symbol or not.
Definition
bool IsCustom {get;}
api.Symbol.IsCustom: bool
Returns bool
Examples
if (Symbol.IsCustom)
Print("{0} is a custom symbol", SymbolName);
if api.Symbol.IsCustom:
api.Print(f"{api.SymbolName} is a custom symbol")