Syntax
Print(message: string): voidParameters
Return Value
Description
Example
// Print a simple message
this.api.Print('Hello, world!')
// Print a variable value
const rsi = this.api.iRSI('EURUSD', 14, 0)
this.api.Print(`Current RSI value: ${rsi}`)
// Print information during strategy execution
if (this.api.iRSI('EURUSD', 14, 0) < 30) {
this.api.Print('Oversold condition detected')
}Last updated