How Scripts Work: Difference between revisions
From MultiCharts
→Completed Bars (Signals)
No edit summary |
|||
Line 90: | Line 90: | ||
A bar is considered completed when it is closed and no additional ticks can be added to it. | A bar is considered completed when it is closed and no additional ticks can be added to it. | ||
* For time-based charts, the bar is closed once the first tick with a time stamp past the bar's interval is received, or if no additional ticks are received for a period of | * For time-based charts, the bar is closed once the first tick with a time stamp past the bar's interval is received, or if no additional ticks are received for a period of 300 seconds. | ||
* For tick-based charts, the bar is closed once the defined number of ticks has been reached. | * For tick-based charts, the bar is closed once the defined number of ticks has been reached. | ||
* For range-based charts, the bar is closed once the tick with a price outside of the original bar's range has been received. | * For range-based charts, the bar is closed once the tick with a price outside of the original bar's range has been received. | ||
Line 97: | Line 97: | ||
<br> | <br> | ||
=== The Maximum number of bars a study will reference (Signals) === | === The Maximum number of bars a study will reference (Signals) === | ||