TL_Set_Alert: How to triggered only once per bar

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

TL_Set_Alert: How to triggered only once per bar

Postby arjfca » 28 Sep 2014

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

User avatar
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

Postby TJ » 28 Sep 2014

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 ...

User avatar
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

Postby JoshM » 29 Sep 2014

..and for triggering an alert once per bar (intrabar or on bar close), see once per bar alert: wiki.


Return to “MultiCharts”