СheckСommentary

From MultiCharts
Revision as of 05:46, 3 April 2013 by JoshM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns True after left click on a chart with the Expert Commentary pointer on the specified bar. False is returned if the pointer has not been inserted, or if the pointer was inserted on a different bar.

Usage

CheckCommentary

Example

If you only wanted code to be evaluated for the bar where the user had inserted the Expert Commentary Tool, you could use the following syntax:

If CheckCommentary Then Begin
{Your Code Here}
End;