TL GetAlert: Difference between revisions
From MultiCharts
→Return values
Line 13: | Line 13: | ||
Alert status: | Alert status: | ||
:'''0''' - Alert disabled. | ::'''0''' - Alert disabled. | ||
:'''1''' - Breakout 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. | ::An alert is triggered if the High crosses over the trendline or the Low crosses under the trendline. | ||
:'''2''' - Breakout on close | ::'''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. | ::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. | ||