Difference between revisions of "СheckСommentary"

From MultiCharts
Jump to navigation Jump to search
(Created page with "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...")
 
Line 13: Line 13:
 
End;
 
End;
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category:Expert Commentary]]

Revision as of 15:12, 19 March 2012

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;