Difference between revisions of "СheckСommentary"

From MultiCharts
Jump to navigation Jump to search
m
 
Line 1: Line 1:
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.
+
Returns True after left click on a chart with the [[:Category:Expert_Commentary|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'''
+
== Usage ==
 
<syntaxhighlight>
 
<syntaxhighlight>
 
CheckCommentary
 
CheckCommentary
 
</syntaxhighlight>
 
</syntaxhighlight>
  
'''Example'''
+
== 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 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:
 
<syntaxhighlight>
 
<syntaxhighlight>

Latest revision as of 05:46, 3 April 2013

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;