WindowFind
Description
Syntax
public WindowFind(name: string): numberParameters
Return Value
Example
try {
const windowNumber = this.api.WindowFind("RSI");
if (windowNumber !== -1) {
console.log(`RSI indicator found in window ${windowNumber}`);
} else {
console.log("RSI indicator not found");
}
} catch (error) {
console.error("Failed to find indicator window:", error.message);
}Last updated