Chart Trendline Alerts  [SOLVED]

Questions about MultiCharts and user contributed studies.
TrendFirst
Posts: 71
Joined: 23 Nov 2015
Has thanked: 22 times
Been thanked: 8 times

Chart Trendline Alerts  [SOLVED]

Postby TrendFirst » 28 Jan 2016

I have been using the "Format Trendline" - "Alerts Tab" - "Enable Alerts" to set alerts when trendlines are broken. And I am seeing some problems, as outlined below:

1) Alerts don't work in the background. For example, suppose I have set an alert on AMZN, and I am viewing the charts for GOOGL (AMZN charts are not active at this point, but by selecting AMZN in the scanner, the AMZN charts will come up). The AMZN price breaks the trendline at 10am. I get no alert. When I view the AMZN chart at 11am, I get an alert popping up and an email. If alerts don't work in the background, what good are they??

2) I set an alert for GOOGL to alert me if it goes below a support line at 600. Price is not going near this support line. When I bring up an AMZN chart - with no alerts set, price at 590, I get an alert that price is below 600. Multicharts has taken the GOOGL alert and applied it to AMZN.

3) I set an alert for a trendline break on a stock. I'm watching the charts for that stock, and I get an alert (like I really need an alert when I'm watching the charts!). I right click on the trendline, select Format Trendline - Alerts and uncheck the alert box. Alerts have been de-activated, right? Wrong - I continue to get alerts every time I view these charts.

If anyone has any solutions, workarounds, etc, please let me know. Or if I am trying to use these alerts in ways that were not intended, please advise how I can change what I am doing to make them work properly. Or if this is a bug, please put this on your list of things to fix in the near future.

Thanks.

mickatrade
Posts: 104
Joined: 12 Jul 2015
Has thanked: 20 times
Been thanked: 14 times

Re: Chart Trendline Alerts

Postby mickatrade » 29 Jan 2016

Hello,
the simpliest way is to create a workspace with all the stocks you want to monitor.
Attachments
watchlist.PNG
(169.58 KiB) Downloaded 839 times

TrendFirst
Posts: 71
Joined: 23 Nov 2015
Has thanked: 22 times
Been thanked: 8 times

Re: Chart Trendline Alerts

Postby TrendFirst » 30 Jan 2016

Hello mickatrade

Thanks for your reply. That solution works if you have a relatively small number of instruments to monitor, and if you keep that workspace active all the time. I monitor around 150 stocks, a dozen futures, several dozen ETFs and around 20 currency pairs.

Grigorios
Posts: 49
Joined: 30 Nov 2007
Has thanked: 13 times
Been thanked: 5 times

Re: Chart Trendline Alerts

Postby Grigorios » 02 Feb 2016

you can always use the Scanner for this and set alerts programmatically
Hello mickatrade

Thanks for your reply. That solution works if you have a relatively small number of instruments to monitor, and if you keep that workspace active all the time. I monitor around 150 stocks, a dozen futures, several dozen ETFs and around 20 currency pairs.

TrendFirst
Posts: 71
Joined: 23 Nov 2015
Has thanked: 22 times
Been thanked: 8 times

Re: Chart Trendline Alerts

Postby TrendFirst » 02 Feb 2016

>>you can always use the Scanner for this and set alerts programmatically

Thank you Grigorios. Have to admit I'm not really a programmer, but little mods and simple stuff is within my grasp. Can you point me to any documentation that explains this? Thanks again.

User avatar
TJ
Posts: 7283
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 992 times
Been thanked: 2070 times

Re: Chart Trendline Alerts

Postby TJ » 02 Feb 2016

Give this a try:

Code: Select all


// Indicator: Alert (for MultiCharts scanner window)
// Author: TJ
// Date: 20160202
//
// This indicator will display the trigger price in the scanner window,
// when the price is crossed, either an "UP" or "DN" will be displayed.
//
// You can configure additional visual, audio, or email alert in the indicator's Alerts tab.
//

input:
alert.price(100);

if c cross above alert.price then
begin
alert(" // Going Up // ");
plot1(" UP ", "alert", black, green );
end
else
if c cross below alert.price then
begin
alert(" \\ Going Down \\ ");
plot1(" DN ", "alert", yellow, red );
end
else
plot1("Alert="+text(alert.price));


TrendFirst
Posts: 71
Joined: 23 Nov 2015
Has thanked: 22 times
Been thanked: 8 times

Re: Chart Trendline Alerts

Postby TrendFirst » 02 Feb 2016

Hello TJ

Thanks to your help, I was able to apply the alert code to the scanner window. I am now getting alerts as I would expect.
Give this a try:

Code: Select all


// Indicator: Alert (for MultiCharts scanner window)
// Author: TJ
// Date: 20160202
//
// This indicator will display the trigger price in the scanner window,
// when the price is crossed, either an "UP" or "DN" will be displayed.
//
// You can configure additional visual, audio, or email alert in the indicator's Alerts tab.
//

input:
alert.price(100);

if c cross above alert.price then
begin
alert(" // Going Up // ");
plot1(" UP ", "alert", black, green );
end
else
if c cross below alert.price then
begin
alert(" \\ Going Down \\ ");
plot1(" DN ", "alert", yellow, red );
end
else
plot1("Alert="+text(alert.price));


User avatar
TJ
Posts: 7283
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 992 times
Been thanked: 2070 times

Re: Chart Trendline Alerts

Postby TJ » 02 Feb 2016

Hello TJ

Thanks to your help, I was able to apply the alert code to the scanner window. I am now getting alerts as I would expect.
That's good to know. I am glad it is working. Thanks for reporting back.


Return to “MultiCharts”