Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 14:40:13 +0000



Automated Trading System Based on Alert Condition not working properly.

View Count: 378

[2023-08-07 18:56:37]
User733147 - Posts: 3
I am new to SC. I am very familiar with TOS and wrote a lot of codes in it.
I tried to create my first Automated Trading System Based on Alert Condition but it does not work properly.
What I want to do is as following:
If current bar just closed AND CLOSE price crossed above simple moving average, enter long.
If current bar just closed AND CLOSE price crossed below simple moving average, exit long.
However, entry/exit alerts/signals were generated incorrectly when CLOSE price did not crosse above/below simple moving average.
Making thing worse, after enable alerts, the chart showed normal for only several minutes (price chart only but not alerts - alerts were not right), then it became a straight line, please see the attached files.

Below is the message Log:

Symbol settings could not be loaded because there are no applicable files to load. | 2023-08-07 02:08:51.566
Requested symbol settings for service code scdataallservices. Request ID: 1. | 2023-08-07 02:08:51.566
Reading Internal Order ID file. | 2023-08-07 02:08:51.606
Reading Trade Orders file. | 2023-08-07 02:08:51.683
Reading Trade Positions file. | 2023-08-07 02:08:51.683
Reading Trade Account Data files. | 2023-08-07 02:08:51.683
Software version: 2528 64-bit | 2023-08-07 02:08:51.686
Primary Thread ID: 29272 | 2023-08-07 02:08:51.686
Usage end date: 2023-08-22 | 2023-08-07 02:08:51.686
Enabled for: Advanced Features 2. | 2023-08-07 02:08:51.686
Enabled for: Sierra Chart Historical Data Service. | 2023-08-07 02:08:51.686
Enabled for: Denali Real-Time Exchange Data Feed. | 2023-08-07 02:08:51.686
Enabled for: Delayed Denali Exchange Data Feed. | 2023-08-07 02:08:51.686
Enabled for exchange2: fairx_exchange.data | 2023-08-07 02:08:51.686
Allow Support for Sierra Chart Data Feeds is enabled. | 2023-08-07 02:08:51.686
Current selected Data/Trading service: SC Data - All Services | 2023-08-07 02:08:51.686
Custom symbol settings values: enabled | 2023-08-07 02:08:51.686
Chart Update Interval: 500 | 2023-08-07 02:08:51.686
Intraday Data Storage Time Unit: 1 | 2023-08-07 02:08:51.686
Time Zone: +00:00:00 (UTC+00) | 2023-08-07 02:08:51.686
2023-08-07 02:08:51 Local computer time in UTC | 2023-08-07 02:08:51.686
2023-08-07 02:08:51 Local computer time in SC Time Zone | 2023-08-07 02:08:51.686
2023-08-07 02:08:50 Server time in UTC | 2023-08-07 02:08:51.686
Local computer UTC time and Server UTC time difference: 1 seconds. | 2023-08-07 02:08:51.686
Program path: C:\SierraChart\ | 2023-08-07 02:08:51.686
Data Files path: C:\SierraChart\Data\ | 2023-08-07 02:08:51.686
OS Version Number: 10.0 | 2023-08-07 02:08:51.686
Locale Setting: C | 2023-08-07 02:08:51.686
DLLs: UserContributedStudies_64.dll | 2023-08-07 02:08:51.686
Allowed protected custom studies: | 2023-08-07 02:08:51.686
Crash reporter started: true | 2023-08-07 02:08:51.686

HTTPS connection ID:1 to login.sierrachart.com:443 for request ID:1 (1) | Shutdown started. Waiting for graceful close. | 2023-08-07 02:08:51.732
HTTPS connection ID:1 to login.sierrachart.com:443 for request ID:1 (1) | Socket gracefully closed by remote side. | 2023-08-07 02:08:51.840
HTTPS connection ID:1 to login.sierrachart.com:443 for request ID:1 (1) | Closed. | 2023-08-07 02:08:51.840
Received 5 login tokens. | 2023-08-07 02:08:52.066
Canceling symbol settings request. Request ID: 1. | 2023-08-07 02:08:53.426
Requested symbol settings for service code scdataallservices. Request ID: 2. | 2023-08-07 02:08:53.426
Requested user files to download. | 2023-08-07 02:08:54.201
Symbol settings received. Request ID: 2. | 2023-08-07 02:08:55.417

SC Data - All Services | Connected to server complete. | 2023-08-07 02:08:56.202
Triggering next historical data download in queue. | 2023-08-07 02:08:56.205
Notice: Not connected to Live trading account to receive CME realtime futures data at non-professional fees. | 2023-08-07 02:08:56.217
No download requests in the queue to start downloads for. | 2023-08-07 02:08:56.220
Files to Open on Startup | Opening file: ExampleChartbook.cht | 2023-08-07 02:08:59.436
Enabling compression for file: C:\SierraChart\Data\XAUUSD.scid. This may take a while. | 2023-08-07 02:08:59.467
File compression enabled. C:\SierraChart\Data\XAUUSD.scid. CompressionState=0 | 2023-08-07 02:08:59.467
XAUUSD 1 Min #1 | Reloading chart. | 2023-08-07 02:08:59.468
XAUUSD Daily #2 | Reloading chart. | 2023-08-07 02:08:59.494
Enabling compression for file: C:\SierraChart\Data\XAUUSD.dly. This may take a while. | 2023-08-07 02:08:59.498
File compression enabled. C:\SierraChart\Data\XAUUSD.dly. CompressionState=0 | 2023-08-07 02:08:59.498
Enabling compression for file: C:\SierraChart\Data\US30.scid. This may take a while. | 2023-08-07 02:08:59.515
File compression enabled. C:\SierraChart\Data\US30.scid. CompressionState=0 | 2023-08-07 02:08:59.515
US30 1 Min #3 | Reloading chart. | 2023-08-07 02:08:59.515
Enabling compression for file: C:\SierraChart\Data\USOil.scid. This may take a while. | 2023-08-07 02:08:59.536
File compression enabled. C:\SierraChart\Data\USOil.scid. CompressionState=0 | 2023-08-07 02:08:59.536
USOil 1 Min #4 | Reloading chart. | 2023-08-07 02:08:59.537
Enabling compression for file: C:\SierraChart\Data\ESM22-CME.scid. This may take a while. | 2023-08-07 02:08:59.557
File compression enabled. C:\SierraChart\Data\ESM22-CME.scid. CompressionState=0 | 2023-08-07 02:08:59.557
ESU23-CME 1 Min #5 | Reloading chart. | 2023-08-07 02:08:59.558
Enabling compression for file: C:\SierraChart\Data\ESU23-CME.scid. This may take a while. | 2023-08-07 02:08:59.562
File compression enabled. C:\SierraChart\Data\ESU23-CME.scid. CompressionState=0 | 2023-08-07 02:08:59.562
SPX500 Daily #6 | Reloading chart. | 2023-08-07 02:08:59.579
Enabling compression for file: C:\SierraChart\Data\SPX500.dly. This may take a while. | 2023-08-07 02:08:59.583
File compression enabled. C:\SierraChart\Data\SPX500.dly. CompressionState=0 | 2023-08-07 02:08:59.583
Enabling compression for file: C:\SierraChart\Data\EURUSD.dly. This may take a while. | 2023-08-07 02:08:59.584
File compression enabled. C:\SierraChart\Data\EURUSD.dly. CompressionState=0 | 2023-08-07 02:08:59.584
EURUSD Daily #7 | Reloading chart. | 2023-08-07 02:08:59.604
Enabling compression for file: C:\SierraChart\Data\EURUSD.scid. This may take a while. | 2023-08-07 02:08:59.624
File compression enabled. C:\SierraChart\Data\EURUSD.scid. CompressionState=0 | 2023-08-07 02:08:59.624
EURUSD 5 Min #8 | Reloading chart. | 2023-08-07 02:08:59.624
ESU23-CME #9 | Reloading chart. | 2023-08-07 02:08:59.646
ESU23-CME 1 Min #10 | Reloading chart. | 2023-08-07 02:08:59.839
Enabling compression for file: C:\SierraChart\Data\AAPL-NQTV.scid. This may take a while. | 2023-08-07 02:08:59.879
File compression enabled. C:\SierraChart\Data\AAPL-NQTV.scid. CompressionState=0 | 2023-08-07 02:08:59.879
AAPL-NQTV 5 Min #11 | Reloading chart. | 2023-08-07 02:08:59.880
XAUUSD 1 Min #1 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\XAUUSD.scid | 2023-08-07 02:08:59.895
XAUUSD Daily #2 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\XAUUSD.dly | 2023-08-07 02:08:59.896
US30 1 Min #3 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\US30.scid | 2023-08-07 02:08:59.898
USOil 1 Min #4 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\USOil.scid | 2023-08-07 02:08:59.899
ESU23-CME 1 Min #5 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\ESU23-CME.scid | 2023-08-07 02:08:59.900
SPX500 Daily #6 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\SPX500.dly | 2023-08-07 02:08:59.902
EURUSD 5 Min #8 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\EURUSD.scid | 2023-08-07 02:08:59.904
ESU23-CME #9 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\ESU23-CME.scid | 2023-08-07 02:08:59.909
ESU23-CME 1 Min #10 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\ESU23-CME.scid | 2023-08-07 02:08:59.910
AAPL-NQTV 5 Min #11 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\AAPL-NQTV.scid | 2023-08-07 02:08:59.912
Using Bid/Ask average for last trade price for XAUUSD | 2023-08-07 02:08:59.967
Using symbol data fast lookup vector | 2023-08-07 02:08:59.967
SC DTC Data with Market Depth | Starting real-time market data updates for: XAUUSD. ID: 1 Service code: fxcm | 2023-08-07 02:08:59.967
SC DTC Data with Market Depth | Connecting to the server ds12.sierracharts.com. Port 10048 | 2023-08-07 02:08:59.974
SC DTC Data with Market Depth | Requesting security definition data for: XAUUSD. ID: 1 | 2023-08-07 02:08:59.979
Starting DelayedDownloadMonitoringTimer | 2023-08-07 02:08:59.979
Starting HDTimeoutTimer | 2023-08-07 02:08:59.979
Added historical Intraday data request for XAUUSD to the queue. | 2023-08-07 02:08:59.979
Intraday data recording state for symbol XAUUSD is set to download 'Pending'. | 2023-08-07 02:08:59.979
Triggering next historical data download in queue. | 2023-08-07 02:08:59.979
Delaying start of download for XAUUSD. | 2023-08-07 02:08:59.980
Added historical Daily data request for XAUUSD to the queue. | 2023-08-07 02:08:59.981
Triggering next historical data download in queue. | 2023-08-07 02:08:59.981
DTC Client socket (1) | Creating socket. | 2023-08-07 02:08:59.987
DTC Client socket (1) | New receive buffer size: 0 | 2023-08-07 02:08:59.987
DTC Client socket (1) | Connecting to IP: 142.215.18.101. | 2023-08-07 02:08:59.987
Using Bid/Ask average for last trade price for US30 | 2023-08-07 02:09:00.014
Symbol not allowed: US30 | 2023-08-07 02:09:00.014 *
SC DTC Data with Market Depth | Network connection to server complete. | 2023-08-07 02:09:00.016
SC DTC Data with Market Depth | Starting socket receive thread. | 2023-08-07 02:09:00.016
SC DTC Data with Market Depth | Sending encoding request to server: Binary VLS. Compression: standard | 2023-08-07 02:09:00.016
Using Bid/Ask average for last trade price for USOil | 2023-08-07 02:09:00.028
Symbol not allowed: USOil | 2023-08-07 02:09:00.028 *
Mapping ESU23-CME to ESU23. Service code: cme | 2023-08-07 02:09:00.044
Symbol not allowed: ESU23-CME | 2023-08-07 02:09:00.044 *
Using Bid/Ask average for last trade price for SPX500 | 2023-08-07 02:09:00.076
Symbol not allowed: SPX500 | 2023-08-07 02:09:00.076 *
Added historical Daily data request for EURUSD to the queue. | 2023-08-07 02:09:00.092
Triggering next historical data download in queue. | 2023-08-07 02:09:00.092
Using Bid/Ask average for last trade price for EURUSD | 2023-08-07 02:09:00.092
SC DTC Data with Market Depth | Starting real-time market data updates for: EURUSD. ID: 6 Service code: fxcm | 2023-08-07 02:09:00.092
SC DTC Data with Market Depth | Requesting security definition data for: EURUSD. ID: 6 | 2023-08-07 02:09:00.092
SC DTC Data with Market Depth | Setting DTC encoding to Binary VLS | 2023-08-07 02:09:00.095
SC DTC Data with Market Depth | Sending logon request message. | 2023-08-07 02:09:00.095
Added historical Intraday data request for EURUSD to the queue. | 2023-08-07 02:09:00.123
Intraday data recording state for symbol EURUSD is set to download 'Pending'. | 2023-08-07 02:09:00.123
Triggering next historical data download in queue. | 2023-08-07 02:09:00.123
Mapping AAPL-NQTV to AAPL-NQTV. Service code: nasdaq_exchange.data | 2023-08-07 02:09:00.371
Symbol not allowed: AAPL-NQTV | 2023-08-07 02:09:00.371 *
SPX500 Daily #6 | Reloading chart. | 2023-08-07 02:09:00.577
SPX500 Daily #6 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\SPX500.dly | 2023-08-07 02:09:00.583
SC DTC Data with Market Depth | Received logon response. | 2023-08-07 02:09:00.749
SC DTC Data with Market Depth | Server Name: SC Realtime Server. | 2023-08-07 02:09:00.749
SC DTC Data with Market Depth | Server protocol version: 8. Client protocol version: 8 | 2023-08-07 02:09:00.749
SC DTC Data with Market Depth | Successfully connected. | 2023-08-07 02:09:00.749
SC DTC Data with Market Depth | Trading is not supported. | 2023-08-07 02:09:00.749
SC DTC Data with Market Depth | Restarting real-time data updates for symbol: EURUSD | 2023-08-07 02:09:00.749
SC DTC Data with Market Depth | Restarting real-time data updates for symbol: XAUUSD | 2023-08-07 02:09:00.749
SC DTC Data with Market Depth | Received security definition for symbol EURUSD | 2023-08-07 02:09:00.873
SC DTC Data with Market Depth | Received security definition for symbol XAUUSD | 2023-08-07 02:09:00.873
HD Request # 1 | Downloading Intraday chart data for XAUUSD to the file XAUUSD.scid. Service: fxcm | 2023-08-07 02:09:05.964
HD Request # 1 | Download start date-time: 2023-02-02 02:09:05.000000. File last date-time: 00:00:00.000000 | 2023-08-07 02:09:05.964
HD Request # 1 | Using server: ds12.sierracharts.com port 10150 | 2023-08-07 02:09:05.964
Socket (2) | Creating socket. | 2023-08-07 02:09:05.965
Socket (2) | New receive buffer size: 0 | 2023-08-07 02:09:05.965
Socket (2) | Connecting to IP: 142.215.18.101. | 2023-08-07 02:09:05.965
HD Request # 1 | Setting DTC encoding to Binary VLS | 2023-08-07 02:09:06.037
HD Request # 1 | Sending historical data logon request message. | 2023-08-07 02:09:06.037
HD Request # 1 | Requesting Intraday data. Start date-time: 2023-02-02 02:09:05. Record interval: 1. Symbol: XAUUSD | 2023-08-07 02:09:06.589
HD Request # 1 | Decompressing data. | 2023-08-07 02:09:06.619
HD Request # 1 | Receiving Intraday data for XAUUSD starting at 2023-02-02 02:09:05.740000 | 2023-08-07 02:09:06.758
HD Request # 1 | Timestamp of first Intraday data file record written: 2023-02-02 02:09:05.740000. | 2023-08-07 02:09:06.839
Socket (2) | CloseSocket call. | 2023-08-07 02:09:36.187
Historical data download thread signaled to stop. | 2023-08-07 02:09:36.187
Socket (2) | Shutdown started. Waiting for graceful close. | 2023-08-07 02:09:36.187
HD Request # 1 | Received 7956001 Intraday data records from 2023-02-02 02:09:05.740000 to 2023-08-07 02:09:33.233000 (186.0 days. Delay: 3.0 seconds) and wrote 7956001 records for XAUUSD | 2023-08-07 02:09:36.188
HD Request # 1 | Add time&sales data | Remembered last file record date-time: 2023-08-07 02:09:33.233000 | 2023-08-07 02:09:36.193
HD Request # 1 | Completion time: 31s. | 2023-08-07 02:09:36.193
HD Request # 1 | Intraday data download complete for XAUUSD. Unique request ID: 1 | 2023-08-07 02:09:36.193
Removing historical data download ID 1. | 2023-08-07 02:09:36.193
Real-time Intraday chart data file updates started for XAUUSD | 2023-08-07 02:09:36.193
Opened cached Intraday file: C:\SierraChart\Data\XAUUSD.scid. Thread ID: 29272 | 2023-08-07 02:09:36.193
Intraday chart data file opened for XAUUSD | 2023-08-07 02:09:36.193
HD Request # 1 | Enabling Intraday chart updating for symbol. | 2023-08-07 02:09:36.193

Triggering next historical data download in queue. | 2023-08-07 02:09:36.193
HD Request # 2 | Downloading Historical Daily chart data for XAUUSD. Starting date: 1973-08-19. Service: fxcm | 2023-08-07 02:09:36.193
HD Request # 2 | Using server: ds13-2.sierracharts.com port 10149 | 2023-08-07 02:09:36.193
Socket (3) | Creating socket. | 2023-08-07 02:09:36.207
Socket (3) | New receive buffer size: 0 | 2023-08-07 02:09:36.207
Socket (3) | Connecting to IP: 162.251.232.245. | 2023-08-07 02:09:36.207
Socket (2) | Socket gracefully closed by remote side. | 2023-08-07 02:09:36.216
Socket (2) | Closed. | 2023-08-07 02:09:36.216
HD Request # 2 | Setting DTC encoding to Binary VLS | 2023-08-07 02:09:36.344
HD Request # 2 | Sending historical data logon request message. | 2023-08-07 02:09:36.344
HD Request # 2 | Requesting historical Daily data starting at 1973-08-19. | 2023-08-07 02:09:37.029
HD Request # 2 | Decompressing data. | 2023-08-07 02:09:37.091
HD Request # 2 | Receiving historical Daily data for XAUUSD starting at 1973-08-20. | 2023-08-07 02:09:37.392
HD Request # 2 | Writing historical Daily data to the file XAUUSD.dly. | 2023-08-07 02:09:37.392
Socket (3) | CloseSocket call. | 2023-08-07 02:09:37.470
Socket (3) | Shutdown started. Waiting for graceful close. | 2023-08-07 02:09:37.470
Historical data download thread signaled to stop. | 2023-08-07 02:09:37.470
HD Request # 2 | Received 12811 Daily data records from 1973-08-20 00:00:00 to 2023-08-07 00:00:00 (50.0 years) and wrote 12811 records for XAUUSD | 2023-08-07 02:09:37.470
HD Request # 2 | Completion time: 1s. | 2023-08-07 02:09:37.470
HD Request # 2 | Daily data download complete for XAUUSD. Unique request ID: 2 | 2023-08-07 02:09:37.470
Removing historical data download ID 2. | 2023-08-07 02:09:37.470

Triggering next historical data download in queue. | 2023-08-07 02:09:37.470
HD Request # 3 | Downloading Historical Daily chart data for EURUSD. Starting date: 2022-03-25. Service: fxcm | 2023-08-07 02:09:37.471
HD Request # 3 | Using server: ds4.sierracharts.com port 10150 | 2023-08-07 02:09:37.471
Socket (2) | Creating socket. | 2023-08-07 02:09:37.479
Socket (2) | New receive buffer size: 0 | 2023-08-07 02:09:37.479
Socket (2) | Connecting to IP: 142.215.18.102. | 2023-08-07 02:09:37.479
XAUUSD[M] Daily #2 | Reloading chart. | 2023-08-07 02:09:37.481
Socket (3) | Socket gracefully closed by remote side. | 2023-08-07 02:09:37.535
Socket (3) | Closed. | 2023-08-07 02:09:37.535
HD Request # 3 | Setting DTC encoding to Binary VLS | 2023-08-07 02:09:37.537
HD Request # 3 | Sending historical data logon request message. | 2023-08-07 02:09:37.537
HD Request # 3 | Requesting historical Daily data starting at 2022-03-25. | 2023-08-07 02:09:38.080
HD Request # 3 | Decompressing data. | 2023-08-07 02:09:38.108
HD Request # 3 | Receiving historical Daily data for EURUSD starting at 2022-03-25. | 2023-08-07 02:09:38.144
HD Request # 3 | Writing historical Daily data to the file EURUSD.dly. | 2023-08-07 02:09:38.145
Socket (2) | CloseSocket call. | 2023-08-07 02:09:38.174
Socket (2) | Shutdown started. Waiting for graceful close. | 2023-08-07 02:09:38.174
Historical data download thread signaled to stop. | 2023-08-07 02:09:38.174
HD Request # 3 | Received 357 Daily data records from 2022-03-25 00:00:00 to 2023-08-07 00:00:00 (501.0 days) and wrote 357 records for EURUSD | 2023-08-07 02:09:38.174
HD Request # 3 | Completion time: 1s. | 2023-08-07 02:09:38.174
HD Request # 3 | Daily data download complete for EURUSD. Unique request ID: 3 | 2023-08-07 02:09:38.174
Removing historical data download ID 3. | 2023-08-07 02:09:38.174

Triggering next historical data download in queue. | 2023-08-07 02:09:38.174
HD Request # 4 | Downloading Intraday chart data for EURUSD to the file EURUSD.scid. Service: fxcm | 2023-08-07 02:09:38.174
HD Request # 4 | Download start date-time: 2023-02-02 02:09:38.000000. File last date-time: 00:00:00.000000 | 2023-08-07 02:09:38.175
HD Request # 4 | Using server: ds12.sierracharts.com port 10149 | 2023-08-07 02:09:38.175
Socket (3) | Creating socket. | 2023-08-07 02:09:38.175
Socket (3) | New receive buffer size: 0 | 2023-08-07 02:09:38.175
Socket (3) | Connecting to IP: 142.215.18.101. | 2023-08-07 02:09:38.175
Socket (2) | Socket gracefully closed by remote side. | 2023-08-07 02:09:38.200
Socket (2) | Closed. | 2023-08-07 02:09:38.200
HD Request # 4 | Setting DTC encoding to Binary VLS | 2023-08-07 02:09:38.244
HD Request # 4 | Sending historical data logon request message. | 2023-08-07 02:09:38.244
EURUSD[M] Daily #7 | Reloading chart. | 2023-08-07 02:09:38.594
HD Request # 4 | Requesting Intraday data. Start date-time: 2023-02-02 02:09:38. Record interval: 1. Symbol: EURUSD | 2023-08-07 02:09:38.801
HD Request # 4 | Decompressing data. | 2023-08-07 02:09:38.828
HD Request # 4 | Receiving Intraday data for EURUSD starting at 2023-02-02 02:09:38.125000 | 2023-08-07 02:09:38.968
HD Request # 4 | Timestamp of first Intraday data file record written: 2023-02-02 02:09:38.125000. | 2023-08-07 02:09:39.071
Socket (3) | CloseSocket call. | 2023-08-07 02:10:00.092
Socket (3) | Shutdown started. Waiting for graceful close. | 2023-08-07 02:10:00.092
Historical data download thread signaled to stop. | 2023-08-07 02:10:00.092
HD Request # 4 | Received 7191245 Intraday data records from 2023-02-02 02:09:38.125000 to 2023-08-07 02:09:58.007000 (186.0 days. Delay: 2.1 seconds) and wrote 7191245 records for EURUSD | 2023-08-07 02:10:00.092
HD Request # 4 | Add time&sales data | Remembered last file record date-time: 2023-08-07 02:09:58.007000 | 2023-08-07 02:10:00.099
HD Request # 4 | Completion time: 22s. | 2023-08-07 02:10:00.099
HD Request # 4 | Intraday data download complete for EURUSD. Unique request ID: 4 | 2023-08-07 02:10:00.099
Removing historical data download ID 4. | 2023-08-07 02:10:00.099
Real-time Intraday chart data file updates started for EURUSD | 2023-08-07 02:10:00.099
Opened cached Intraday file: C:\SierraChart\Data\EURUSD.scid. Thread ID: 29272 | 2023-08-07 02:10:00.099
Intraday chart data file opened for EURUSD | 2023-08-07 02:10:00.099
HD Request # 4 | Enabling Intraday chart updating for symbol. | 2023-08-07 02:10:00.099

Triggering next historical data download in queue. | 2023-08-07 02:10:00.099
No download requests in the queue to start downloads for. | 2023-08-07 02:10:00.099
Socket (3) | Socket gracefully closed by remote side. | 2023-08-07 02:10:00.120
Socket (3) | Closed. | 2023-08-07 02:10:00.120
ESU23-CME 1 Min #12 | Reloading chart. | 2023-08-07 02:13:29.125
ESU23-CME 1 Min #12 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\ESU23-CME.scid | 2023-08-07 02:13:29.130
Enabling compression for file: C:\SierraChart\Data\MESU23-CME.scid. This may take a while. | 2023-08-07 02:18:15.757
File compression enabled. C:\SierraChart\Data\MESU23-CME.scid. CompressionState=0 | 2023-08-07 02:18:15.757
MESU23-CME 1 Min #13 | Reloading chart. | 2023-08-07 02:18:15.757
MESU23-CME 1 Min #13 | Currently no data in file to display. Will start historical data download and real-time updates. File: C:\SierraChart\Data\MESU23-CME.scid | 2023-08-07 02:18:15.765
Mapping MESU23-CME to MESU23. Service code: cme | 2023-08-07 02:18:16.248
SC DTC Delayed Exchange Data | Starting real-time market data updates for: MESU23-CME (MESU23). ID: 8 Service code: cme | 2023-08-07 02:18:16.248
SC DTC Delayed Exchange Data | Connecting to the server ds26.sierracharts.com. Port 10043 | 2023-08-07 02:18:16.253
SC DTC Delayed Exchange Data | Requesting security definition data for: MESU23-CME (MESU23). ID: 8 | 2023-08-07 02:18:16.257
Added historical Intraday data request for MESU23-CME to the queue. | 2023-08-07 02:18:16.257
Intraday data recording state for symbol MESU23-CME is set to download 'Pending'. | 2023-08-07 02:18:16.257
Triggering next historical data download in queue. | 2023-08-07 02:18:16.257
Delaying start of download for MESU23-CME. | 2023-08-07 02:18:16.259
DTC Client socket (2) | Creating socket. | 2023-08-07 02:18:16.265
DTC Client socket (2) | New receive buffer size: 0 | 2023-08-07 02:18:16.265
DTC Client socket (2) | Connecting to IP: 142.215.17.188. | 2023-08-07 02:18:16.265
SC DTC Delayed Exchange Data | Network connection to server complete. | 2023-08-07 02:18:16.295
SC DTC Delayed Exchange Data | Starting socket receive thread. | 2023-08-07 02:18:16.295
SC DTC Delayed Exchange Data | Sending encoding request to server: Binary VLS. Compression: standard | 2023-08-07 02:18:16.295
SC DTC Delayed Exchange Data | Setting DTC encoding to Binary VLS | 2023-08-07 02:18:16.348
SC DTC Delayed Exchange Data | Sending logon request message. | 2023-08-07 02:18:16.348
SC DTC Delayed Exchange Data | Received logon response. | 2023-08-07 02:18:17.002
SC DTC Delayed Exchange Data | Server Name: SC Realtime Server. | 2023-08-07 02:18:17.002
SC DTC Delayed Exchange Data | Server protocol version: 8. Client protocol version: 8 | 2023-08-07 02:18:17.002
SC DTC Delayed Exchange Data | Successfully connected. | 2023-08-07 02:18:17.002
SC DTC Delayed Exchange Data | Trading is not supported. | 2023-08-07 02:18:17.002
SC DTC Delayed Exchange Data | Restarting real-time data updates for symbol: MESU23-CME -> MESU23 | 2023-08-07 02:18:17.002
SC DTC Delayed Exchange Data | Received security definition for symbol MESU23-CME | 2023-08-07 02:18:17.130
HD Request # 5 | Downloading Intraday chart data for MESU23-CME to the file MESU23-CME.scid. Service: cme | 2023-08-07 02:18:22.966
HD Request # 5 | Download start date-time: 2023-02-02 02:18:22.000000. File last date-time: 00:00:00.000000 | 2023-08-07 02:18:22.967
HD Request # 5 | Using server: ds26.sierracharts.com port 10150 | 2023-08-07 02:18:22.967
Socket (3) | Creating socket. | 2023-08-07 02:18:22.967
Socket (3) | New receive buffer size: 0 | 2023-08-07 02:18:22.967
Socket (3) | Connecting to IP: 142.215.17.188. | 2023-08-07 02:18:22.967
HD Request # 5 | Setting DTC encoding to Binary VLS | 2023-08-07 02:18:23.026
HD Request # 5 | Sending historical data logon request message. | 2023-08-07 02:18:23.026
HD Request # 5 | Requesting Intraday data. Start date-time: 2023-02-02 02:18:22. Record interval: 1. Symbol: MESU23 | 2023-08-07 02:18:23.600
HD Request # 5 | Decompressing data. | 2023-08-07 02:18:23.631
HD Request # 5 | Receiving Intraday data for MESU23-CME starting at 2023-02-02 03:32:19.571000 | 2023-08-07 02:18:23.705
HD Request # 5 | Timestamp of first Intraday data file record written: 2023-02-02 03:32:19.571000. | 2023-08-07 02:18:23.789
Socket (3) | CloseSocket call. | 2023-08-07 02:18:34.134
Historical data download thread signaled to stop. | 2023-08-07 02:18:34.134
Socket (3) | Shutdown started. Waiting for graceful close. | 2023-08-07 02:18:34.134
HD Request # 5 | Received 1599738 Intraday data records from 2023-02-02 03:32:19.571000 to 2023-08-07 02:08:29.681000 (185.9 days. Delay: 10.1 minutes) and wrote 1599738 records for MESU23-CME | 2023-08-07 02:18:34.135
HD Request # 5 | Add time&sales data | Remembered last file record date-time: 2023-08-07 02:08:29.681000 | 2023-08-07 02:18:34.142
HD Request # 5 | Completion time: 12s. | 2023-08-07 02:18:34.142
HD Request # 5 | Intraday data download complete for MESU23-CME. Unique request ID: 5 | 2023-08-07 02:18:34.142
Removing historical data download ID 5. | 2023-08-07 02:18:34.142
Real-time Intraday chart data file updates started for MESU23-CME | 2023-08-07 02:18:34.142
Opened cached Intraday file: C:\SierraChart\Data\MESU23-CME.scid. Thread ID: 29272 | 2023-08-07 02:18:34.142
Intraday chart data file opened for MESU23-CME | 2023-08-07 02:18:34.142
HD Request # 5 | Enabling Intraday chart updating for symbol. | 2023-08-07 02:18:34.142

Triggering next historical data download in queue. | 2023-08-07 02:18:34.142
No download requests in the queue to start downloads for. | 2023-08-07 02:18:34.142
Socket (3) | Socket gracefully closed by remote side. | 2023-08-07 02:18:34.161
Socket (3) | Closed. | 2023-08-07 02:18:34.161
MESU23-CME[M] 2.50 Range #13 | Reloading chart. | 2023-08-07 02:21:28.391
MESU23-CME[M] 1.25 Range #13 | Reloading chart. | 2023-08-07 02:30:17.150
MESU23-CME 1 Min #1 | Reloading chart. | 2023-08-07 02:32:32.260
MESU23-CME #2 | Reloading chart. | 2023-08-07 02:34:50.395
MESU23-CME #2 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 02:34:50.395
Requesting market depth updates for: MESU23-CME if supported. NumLevels=100 | 2023-08-07 02:34:51.201
SC DTC Delayed Exchange Data | Clearing market depth for MESU23-CME | 2023-08-07 02:34:51.330
MESU23-CME[M] 1 Min #1 | Reloading chart. | 2023-08-07 02:38:16.868
MESU23-CME[M] 1 Min #1 | Reloading chart.. Number times message previously added: 6 | 2023-08-07 02:38:56.577
MESU23-CME[M] 1.25 Range #13 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 02:44:47.272
MESU23-CME[M] 1.25 Range #13 | Reloading chart. | 2023-08-07 04:00:49.698
MESU23-CME[M] 1.25 Range #13 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 04:00:49.760
Requesting current Date-Time from Sierra Chart server. | 2023-08-07 04:02:02.929
Received Date-time from server. Delay adjusted UTC Date-time: 2023-08-07 04:02:02.819. Round-trip delay: 00:00:00.221 | 2023-08-07 04:02:03.373
Computer time to server time difference: 00:00:00.553 | 2023-08-07 04:02:03.373
Error setting System Date-Time. Windows error code 1314: A required privilege is not held by the client. | 2023-08-07 04:02:03.404 *
Reloading charts due to time zone change. | 2023-08-07 00:14:45.192
MESU23-CME[M] #2 | Reloading chart. | 2023-08-07 00:14:45.388
MESU23-CME[M] #2 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 00:14:45.388
Source file does not exist when saving backup of C:\SierraChart\SymbolSettings\CustomSymbolSettings.scdataallservices.xml. No backup made. | 2023-08-07 00:38:04.044
MESU23-CME[M] 1.25 Range #13 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 00:41:43.684
Saved Chartbook: ExampleChartbook.cht. Time: 0.0023 seconds. | 2023-08-07 00:54:54.901
Saved Chartbook: ExampleChartbook.cht. Time: 0.0005 seconds. | 2023-08-07 00:55:02.393
Notice: Detected that the system has resumed from a low-power state. | 2023-08-07 09:12:33.683
Re-connecting to the Data/Trading service. | 2023-08-07 09:12:33.683
SC DTC Data with Market Depth | Waiting for socket receive thread to end | 2023-08-07 09:12:33.684
DTC Client socket (1) | CloseSocket call. | 2023-08-07 09:12:33.686
SC DTC Data with Market Depth | Disconnected from the server. | 2023-08-07 09:12:33.686
SC DTC Delayed Exchange Data | Waiting for socket receive thread to end | 2023-08-07 09:12:33.686
DTC Client socket (2) | CloseSocket call. | 2023-08-07 09:12:33.687
SC DTC Delayed Exchange Data | Disconnected from the server. | 2023-08-07 09:12:33.687
SC Data - All Services | Disconnected. | 2023-08-07 09:12:33.687
Will reconnect to the server in 2.0 seconds. Select 'File >> Disconnect' to prevent further connection attempts. | 2023-08-07 09:12:33.687
DTC Client socket (1) | Write in progress. Shutdown being delayed. PendingSize=0 | 2023-08-07 09:12:33.688
DTC Client socket (2) | Write in progress. Shutdown being delayed. PendingSize=0 | 2023-08-07 09:12:33.688
DTC Client socket (2) | Write has completed. Shutdown being performed. | 2023-08-07 09:12:37.417
DTC Client socket (2) | Shutdown started. Waiting for graceful close. | 2023-08-07 09:12:37.417
DTC Client socket (2) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2023-08-07 09:12:37.417 *
DTC Client socket (2) | Socket gracefully closed by remote side. | 2023-08-07 09:12:37.417
DTC Client socket (2) | Closed. | 2023-08-07 09:12:37.417
DTC Client socket (1) | Write has completed. Shutdown being performed. | 2023-08-07 09:12:37.418
DTC Client socket (1) | Shutdown started. Waiting for graceful close. | 2023-08-07 09:12:37.418
DTC Client socket (1) | Close event error. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2023-08-07 09:12:37.418 *
DTC Client socket (1) | Socket gracefully closed by remote side. | 2023-08-07 09:12:37.418
DTC Client socket (1) | Closed. | 2023-08-07 09:12:37.418
Source file does not exist when saving backup of C:\SierraChart\TradePositions.data. No backup made. | 2023-08-07 09:12:38.702
Source file does not exist when saving backup of C:\SierraChart\TradeOrdersList.data. No backup made. | 2023-08-07 09:12:38.703

SC Data - All Services | Connected to server complete. | 2023-08-07 09:12:38.708
Triggering next historical data download in queue. | 2023-08-07 09:12:38.709
Notice: Not connected to Live trading account to receive CME realtime futures data at non-professional fees. | 2023-08-07 09:12:38.709
No download requests in the queue to start downloads for. | 2023-08-07 09:12:38.709
Mapping MESU23-CME to MESU23. Service code: cme | 2023-08-07 09:12:38.757
Using symbol data fast lookup vector | 2023-08-07 09:12:38.757
SC DTC Delayed Exchange Data | Starting real-time market data updates for: MESU23-CME (MESU23). ID: 1 Service code: cme | 2023-08-07 09:12:38.757
SC DTC Delayed Exchange Data | Connecting to the server ds28.sierracharts.com. Port 10043 | 2023-08-07 09:12:38.762
SC DTC Delayed Exchange Data | Requesting security definition data for: MESU23-CME (MESU23). ID: 1 | 2023-08-07 09:12:38.762
Error getting address info for ds28.sierracharts.com. Windows error code 11001: No such host is known. | 2023-08-07 09:12:38.763 *
Added historical Intraday data request for MESU23-CME to the queue. | 2023-08-07 09:12:38.763
Intraday data recording state for symbol MESU23-CME is set to download 'Pending'. | 2023-08-07 09:12:38.763
Triggering next historical data download in queue. | 2023-08-07 09:12:38.763
DTC Client socket (1) | CloseSocket call. | 2023-08-07 09:12:38.772
Delaying start of download for MESU23-CME. | 2023-08-07 09:12:38.773
SC DTC Delayed Exchange Data | Failed connections: 1 | 2023-08-07 09:12:38.774
DTC Client socket (0) | CloseSocket call. | 2023-08-07 09:12:38.774
SC DTC Delayed Exchange Data | Disconnected from the server. | 2023-08-07 09:12:38.774
SC DTC Delayed Exchange Data | Data feed disconnected. Will reconnect in 2 seconds. | 2023-08-07 09:12:38.774
SC DTC Delayed Exchange Data | Connecting to the server ds26-2.sierracharts.com. Port 10043 | 2023-08-07 09:12:40.828
Error getting address info for ds26-2.sierracharts.com. Windows error code 11001: No such host is known. | 2023-08-07 09:12:40.828 *
DTC Client socket (1) | CloseSocket call. | 2023-08-07 09:12:40.829
SC DTC Delayed Exchange Data | Failed connections: 2 | 2023-08-07 09:12:40.829
DTC Client socket (0) | CloseSocket call. | 2023-08-07 09:12:40.829
SC DTC Delayed Exchange Data | Disconnected from the server. | 2023-08-07 09:12:40.829
SC DTC Delayed Exchange Data | Data feed disconnected. Will reconnect in 2 seconds. | 2023-08-07 09:12:40.829
SC DTC Delayed Exchange Data | Connecting to the server ds28.sierracharts.com. Port 10043 | 2023-08-07 09:12:42.824
DTC Client socket (1) | Creating socket. | 2023-08-07 09:12:42.830
DTC Client socket (1) | New receive buffer size: 0 | 2023-08-07 09:12:42.830
DTC Client socket (1) | Connecting to IP: 142.215.18.147. | 2023-08-07 09:12:42.830
SC DTC Delayed Exchange Data | Network connection to server complete. | 2023-08-07 09:12:42.860
SC DTC Delayed Exchange Data | Starting socket receive thread. | 2023-08-07 09:12:42.860
SC DTC Delayed Exchange Data | Sending encoding request to server: Binary VLS. Compression: standard | 2023-08-07 09:12:42.860
SC DTC Delayed Exchange Data | Setting DTC encoding to Binary VLS | 2023-08-07 09:12:42.944
SC DTC Delayed Exchange Data | Sending logon request message. | 2023-08-07 09:12:42.944
SC DTC Delayed Exchange Data | Received logon response. | 2023-08-07 09:12:43.601
SC DTC Delayed Exchange Data | Server Name: SC Realtime Server. | 2023-08-07 09:12:43.601
SC DTC Delayed Exchange Data | Server protocol version: 8. Client protocol version: 8 | 2023-08-07 09:12:43.601
SC DTC Delayed Exchange Data | Successfully connected. | 2023-08-07 09:12:43.601
SC DTC Delayed Exchange Data | Trading is not supported. | 2023-08-07 09:12:43.601
SC DTC Delayed Exchange Data | Restarting real-time data updates for symbol: MESU23-CME -> MESU23 | 2023-08-07 09:12:43.601
SC DTC Delayed Exchange Data | Received security definition for symbol MESU23-CME | 2023-08-07 09:12:43.727
Requesting market depth updates for: MESU23-CME if supported. NumLevels=100 | 2023-08-07 09:12:43.827
SC DTC Delayed Exchange Data | Clearing market depth for MESU23-CME | 2023-08-07 09:12:43.945
HD Request # 6 | Downloading Intraday chart data for MESU23-CME to the file MESU23-CME.scid. Service: cme | 2023-08-07 09:12:48.872
HD Request # 6 | Download start date-time: 2023-08-07 00:45:39.000000. File last date-time: 2023-08-07 00:45:39.000000 | 2023-08-07 09:12:48.872
HD Request # 6 | Using server: ds28.sierracharts.com port 10149 | 2023-08-07 09:12:48.872
Socket (3) | Creating socket. | 2023-08-07 09:12:48.872
Socket (3) | New receive buffer size: 0 | 2023-08-07 09:12:48.872
Socket (3) | Connecting to IP: 142.215.18.147. | 2023-08-07 09:12:48.872
HD Request # 6 | Setting DTC encoding to Binary VLS | 2023-08-07 09:12:48.936
HD Request # 6 | Sending historical data logon request message. | 2023-08-07 09:12:48.936
HD Request # 6 | Requesting Intraday data. Start date-time: 2023-08-07 00:45:39. Record interval: 1. Symbol: MESU23 | 2023-08-07 09:12:49.515
HD Request # 6 | Decompressing data. | 2023-08-07 09:12:49.542
HD Request # 6 | Receiving Intraday data for MESU23-CME starting at 2023-08-07 00:45:39.326000 | 2023-08-07 09:12:49.651
Socket (3) | CloseSocket call. | 2023-08-07 09:12:49.704
Socket (3) | Shutdown started. Waiting for graceful close. | 2023-08-07 09:12:49.705
Historical data download thread signaled to stop. | 2023-08-07 09:12:49.705
HD Request # 6 | Timestamp of first Intraday data file record written: 2023-08-07 00:45:39.326000. | 2023-08-07 09:12:49.705
HD Request # 6 | Received 11125 Intraday data records from 2023-08-07 00:45:39.326000 to 2023-08-07 09:02:42.566000 (8.3 hours. Delay: 10.1 minutes) and wrote 11125 records for MESU23-CME | 2023-08-07 09:12:49.705
HD Request # 6 | Add time&sales data | Remembered last file record date-time: 2023-08-07 13:02:42.566000 | 2023-08-07 09:12:49.711
HD Request # 6 | Completion time: 1s. | 2023-08-07 09:12:49.711
HD Request # 6 | Intraday data download complete for MESU23-CME. Unique request ID: 6 | 2023-08-07 09:12:49.711
Removing historical data download ID 6. | 2023-08-07 09:12:49.711
Real-time Intraday chart data file updates started for MESU23-CME | 2023-08-07 09:12:49.711
Opened cached Intraday file: C:\SierraChart\Data\MESU23-CME.scid. Thread ID: 29272 | 2023-08-07 09:12:49.712
Intraday chart data file opened for MESU23-CME | 2023-08-07 09:12:49.712
HD Request # 6 | Enabling Intraday chart updating for symbol. | 2023-08-07 09:12:49.712

Triggering next historical data download in queue. | 2023-08-07 09:12:49.712
No download requests in the queue to start downloads for. | 2023-08-07 09:12:49.712
Socket (3) | Socket gracefully closed by remote side. | 2023-08-07 09:12:49.737
Socket (3) | Closed. | 2023-08-07 09:12:49.737
MESU23-CME[M] 1.25 Range #13 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 09:27:12.257
MESU23-CME[M] 1 Min #13 | Reloading chart. | 2023-08-07 10:32:45.825
MESU23-CME[M] 1 Min #13 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 10:32:45.874
MESU23-CME 1 Min #3 | Reloading chart. | 2023-08-07 10:37:04.031
MESU23-CME 1 Min #3 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 10:37:04.075
MESU23-CME 1 Min #4 | Reloading chart. | 2023-08-07 10:37:09.472
MESU23-CME 1 Min #4 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 10:37:09.515
MESU23-CME[M] 1.25 Range #4 | Reloading chart. | 2023-08-07 10:53:17.251
MESU23-CME[M] 1.25 Range #4 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 10:53:17.309
MESU23-CME[M] 1 Min #4 | Reloading chart. | 2023-08-07 11:00:21.762
MESU23-CME[M] 1 Min #4 | StartDateTimeForLoadingOrderFills: 00:00:00 | 2023-08-07 11:00:21.804
Saved Chartbook: ExampleChartbook.cht. Time: 0.0011 seconds. | 2023-08-07 14:17:00.410
Saved Chartbook: ExampleChartbook.cht. Time: 0.0010 seconds. | 2023-08-07 14:17:03.690
Saved Chartbook: ExampleChartbook.cht. Time: 0.0011 seconds. | 2023-08-07 14:17:12.423
imageP1 - entry prices not correct.png / V - Attached On 2023-08-07 18:28:19 UTC - Size: 87.58 KB - 73 views
imageP2 - price chart became a straight line.png / V - Attached On 2023-08-07 18:28:27 UTC - Size: 64.51 KB - 78 views
attachmentChartbook-1.cht - Attached On 2023-08-07 18:55:17 UTC - Size: 6.85 KB - 133 views
[2023-08-07 22:10:28]
John - SC Support - Posts: 36315
To begin with, your Message Log is not going to give any information related to having an issue with an alert. You need to look at the Alert Log.

Next, you need to work out the issue one step at a time. We recommend using the "Color Bar Based on Alert Condition" to test your Alert Condition, as it will give you information that you may not get from the Trading Algorithm, such as the price. Be sure to set the inputs correctly and use an item that marks the price level. Refer to the following:
Color Bar Based on Alert Condition

You mention that you want the alert only when the bar closes, so make sure you have the option for "Evaluate on Bar Close" enabled for the Alert Condition. Refer to the following:
Study/Chart Alerts And Scanning: Evaluate on Bar Close
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account