Hello
TL_setAlert is set to be triggered in Intrabar.
Problem is within the same bar, allert could be triggered every time price do it the trendline, causing a multitude of alert on the screen
Is there a way to prevent that?
Martin
TL_Set_Alert: How to triggered only once per bar
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: TL_Set_Alert: How to triggered only once per bar
Hello
TL_setAlert is set to be triggered in Intrabar.
Problem is within the same bar, allert could be triggered every time price do it the trendline, causing a multitude of alert on the screen
Is there a way to prevent that?
Martin
Code: Select all
If BarStatus = 2 then ...
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: TL_Set_Alert: How to triggered only once per bar
..and for triggering an alert once per bar (intrabar or on bar close), see once per bar alert: wiki.