CommentaryEnabled

From MultiCharts
Jump to navigation Jump to search

This reserved word returns a value of True only when the Expert Commentary window is open and Commentary has been requested.

This allows you to optimize your trading strategies, analysis techniques, and functions for speed, as it allows PowerLanguage to perform commentary-related calculations only when the Expert Commentary window is open.

Usage

CommentaryEnabled

Notes

Example

CommentaryEnabled

Will return True if the Expert Commentary Tool has been applied to the chart.