Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 17:24:29 +0000



Post From: How To Edit The Alert Email Template?

[2018-08-30 20:50:21]
DaxTrader54 - Posts: 8
Thank you for your response. Sorry if my follow up below reveals my lack of experience.

I am currently using the "Color Bar Based On Alert Condition" study to provide the alerts I receive. I have this study set up on numerous charts, all of which are referencing different combinations of studies. All of the charts could send me alerts. So my question is where to add the extra lines of code.

Do I need to amend the study specifically in order to add the additional sc.AlertWithMessage function, or do I need to amend the global settings to add the additional alert function which applies to all studies (if so, where should I find it)?

I ask this because I am currently using approx 5 strategies and all of these strategies use the Color Bar Based On Alert COndition, but will all need separately formatted email. So I would like to understand the best way to do that.

Example 1: The current alert email content for chart #1 is:
Alert - Chart: DYU18 [M] 75 Trades #5 | Study: Color Bar Based On Alert Condition | Formula: =AND(L[-1]ID1.SG2[-1],ID2.SG1[-1] | Alert: Strategy5xxx

Example 2: The current alert email content for chart #5 is:
Alert - Chart: DYU18 [M] 55 Trades #1 | Study: Color Bar Based On Alert Condition | Formula: =AND( BARTIME>=TIME(7,59,59), BARTIME<=TIME(16,59,59), ID1.SG1>30, ID2.SG1[-2]>ID2.SG2[-2], ID2 is TRUE. | Last Price: 12513.5 | Bar start date-time: 2018-08-30 08:03:04 | Alert: Strategy1xxx

Any assistance to steer me further would be appreciated, thank you for your time.