Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 06:48:07 +0000



Post From: Inconsistent Format with Chart/Study Alert Logs

[2024-01-03 00:36:56]
User900285 - Posts: 94
Hello,

I have discovered a small inconsistency with the text format in Alert Log files when Chart/Study Alerts are used. This is a very minor thing that will only impact users if they are using a Custom Study named Telegram Chart & Drawing Alerts, and if they happen to place a Study Alert on a study that has Display as Main Price Graph turned on.

This is how to replicate this inconsistency:

This assumes Global Settings > General Settings > Log > Save Alerts Log to File is turned on. The study mentioned above looks into these Alert Logs when they are updated, to parse the text before sending over to Telegram.

1. I am seeing that if the study has Display as Main Price Graph turned on, the name of the study does not appear in the Alert Log Text.

Let's say I have a Heiken Ashi study and Display as Main Price Graph is turned on. On the Heiken Ashi study I go over to Study Settings > Alerts and add a simple formula to trigger. When the Alert is triggered, I inspect the file located in SierraChart/Logs.

The line looks like this:
Type: Study | Source: 6CH24_FUT_CME[M] 3 Min #1 Heikin-Ashi | Alert Text: Alert - Chart: 6CH24_FUT_CME[M] 3 Min #1 Heikin-Ashi | Formula: =C > .75000 is TRUE. | Last Price: 0.75145 | Bar start: 2024-01-02 19:09:00.000 | Alert: Cash Reg (1) | DateTime: 2024-01-02 19:09:00 | ChartNumber: 1 | Symbol: 6CH24_FUT_CME | Chartbook: CADUSD_Trader946.Cht

2. Now if I go back to Study Settings and disable Display as Main Price Graph, then go ahead and enable and trigger the alert.

The line looks like this:
Type: Study | Source: 6CH24_FUT_CME[M] 3 Min #1 | 6CH24_FUT_CME[M] 3 Min #1 Heikin-Ashi | Alert Text: Alert - Chart: 6CH24_FUT_CME[M] 3 Min #1 | Study: 6CH24_FUT_CME[M] 3 Min #1 Heikin-Ashi | Formula: =C > .75000 is TRUE. | Last Price: 0.75145 | Bar start: 2024-01-02 19:21:00.000 | Alert: Cash Reg (1) | DateTime: 2024-01-02 19:21:00 | ChartNumber: 1 | Symbol: 6CH24_FUT_CME | Chartbook: CADUSD_Trader946.Cht

The difference here is that the second format is the correct one as it displays the Study name (or short name if set) after the second '|' and again fully right before "Formula:".

The last thing I will add here is that when a Chart Alert is set up in Chart Settings > Alert, the alert text format uses the same format as a Study Alert when Display as Main Price Graph is disabled.

A Chart Alert looks like this:
Type: Study | Source: 6CH24_FUT_CME[M] 3 Min #1 Heikin-Ashi | 6CH24_FUT_CME[M] 3 Min #1 | Alert Text: Alert - Chart: 6CH24_FUT_CME[M] 3 Min #1 Heikin-Ashi | Study: 6CH24_FUT_CME[M] 3 Min #1 | Formula: =C > .75000 is TRUE. | Last Price: 0.75160 | Bar start: 2024-01-02 19:30:00.000 | Alert: Cash Reg (1) | DateTime: 2024-01-02 19:30:00 | ChartNumber: 1 | Symbol: 6CH24_FUT_CME | Chartbook: CADUSD_Trader946.Cht

The purpose of this is to make sure the study short name is obtained safely every time to pass in to Telegram.
Date Time Of Last Edit: 2024-01-03 00:46:43