TL GetAlert: Difference between revisions
From MultiCharts
m
→Return values
No edit summary |
m (→Return values) |
||
Line 16: | Line 16: | ||
:'''1''' - Breakout intra-bar - Alert triggering conditions are evaluated intra-bar. | :'''1''' - Breakout intra-bar - Alert triggering conditions are evaluated intra-bar. | ||
:: | ::An alert is triggered if the High crosses over the trendline or the Low crosses under the trendline. | ||
:'''2''' - Breakout on close - Alert triggering conditions are evaluated at Close of a bar. | :'''2''' - Breakout on close - Alert triggering conditions are evaluated at Close of a bar. | ||
:: | ::An alert is triggered if the Close of the previous bar was below the trendline and the Close of the current bar is above the trendline, or if the Close of the previous bar was above the trendline and the Close of the current bar is below the trendline. | ||
== Notes == | == Notes == | ||
* A trendline-specific ID number is returned by [[TL_New]] when the trendline is created. | * A trendline-specific ID number is returned by [[TL_New]] when the trendline is created. |