Difference between revisions of "RecalcLastBarAfter"
Jump to navigation
Jump to search
(Created page with "Initializes the calculation after expiration of the timeout, set in seconds. ==== Usage ==== <syntaxhighlight>RecalcLastBarAfter(Timeout)</syntaxhighlight> Where: [[Tim...") |
|||
Line 5: | Line 5: | ||
<syntaxhighlight>RecalcLastBarAfter(Timeout)</syntaxhighlight> | <syntaxhighlight>RecalcLastBarAfter(Timeout)</syntaxhighlight> | ||
− | + | Where: [[Timeout - the number of seconds.]] | |
==== Example ==== | ==== Example ==== | ||
− | <syntaxhighlight>RecalcLastBarAfter is used for the slow markets. Calculation of the studies is performed in events when the immediate tick has come to a chart. | + | <syntaxhighlight>RecalcLastBarAfter is used for the slow markets. Calculation of the studies is performed in events |
+ | when the immediate tick has come to a chart. | ||
− | When the tick has not come since the moment of the last calculation and during timeout (sec) a new calculation is being initialized. | + | When the tick has not come since the moment of the last calculation and during timeout (sec) a new |
+ | calculation is being initialized. | ||
− | When the tick has been received before timeout expiration, time counter is reset and countdown for RecalcLastBarAfter(Timeout) starts anew</syntaxhighlight> | + | When the tick has been received before timeout expiration, time counter is reset and countdown for |
+ | RecalcLastBarAfter(Timeout) starts anew</syntaxhighlight> | ||
[[Category:Execution Control]] | [[Category:Execution Control]] |
Revision as of 12:20, 23 January 2012
Initializes the calculation after expiration of the timeout, set in seconds.
Usage
RecalcLastBarAfter(Timeout)
Where: Timeout - the number of seconds.
Example
RecalcLastBarAfter is used for the slow markets. Calculation of the studies is performed in events
when the immediate tick has come to a chart.
When the tick has not come since the moment of the last calculation and during timeout (sec) a new
calculation is being initialized.
When the tick has been received before timeout expiration, time counter is reset and countdown for
RecalcLastBarAfter(Timeout) starts anew