使用On Bar Close时,MultiCharts仅生成在BAR 关闭时触发的警报。这是一个内部BAR脚本计算过程中触发任何警报,但没有BAR时关闭,不会着火。这样,我们得到的警报每条最多触发一次。【With On Bar Close, MultiCharts only generates alerts that trigger at the moment the bar closes. Any alert that’s triggered during an intra-bar script calculation, but not when the bar closes, won’t fire. This way we get an alert that fires at most once per bar.】
在Every Tick选项,则可以生成警报每个脚本计算和警报条件发生的时间。使用此选项,我们最多会在每次价格更新时发出警报。【The Every Tick option makes it possible to generate an alert every time the script calculates and the alert condition happens. With this option we’ll get an alert with every price update at most.】
使用“Once Per Bar”,可以在脚本计算的任何时刻触发警报,但每个价格条最多可以触发一次。因此,当警报在该条的第一个刻度上触发时,MultiCharts会阻止生成另一个警报,直到下一个价格条。