RemoveAllObjectsByPrefix
Syntax
RemoveAllObjectsByPrefix(prefix: string, isStatic?: boolean, window?: number): voidParameters
Parameter
Type
Description
Description
Example
// Remove all objects with names starting with "MyStrategy_"
this.api.RemoveAllObjectsByPrefix("MyStrategy_");
// Remove all static objects with prefix "Label"
this.api.RemoveAllObjectsByPrefix("Label", true);
// Remove all objects with prefix from MainChart
this.api.RemoveAllObjectsByPrefix("Temp_", false, 0);Last updated