Get alert on current bar, not bar+1?
Author: piter99
Creation Date: 10/4/2013 11:47 AM
profile picture

piter99

#1
Hi forum,

Is it possible to catch momentum and get alert on current bar, not the bar+1?

Thank you all.
profile picture

Eugene

#2
No. Alerts only work for bar+1.
profile picture

Cone

#3
To be precise, an Alert is generated when you pass a bar number greater than or equal to Bars.Count to a trading signal (BuyAt, SellAt, etc.).

(That's what happens a when you pass bar + 1 to a trading signal on the last bar of the chart, i.e., bar = Bars.Count - 1)
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).