Support Board
Date/Time: Wed, 22 Jan 2025 18:20:18 +0000
Post From: Custom Program connect to Sierrachart to read the chart values
[2018-10-08 16:35:19] |
Thomson - Posts: 3 |
Thank you for your suggestion. Recently, I found another workaround solution. After I set an alert for my own indicator, the DTC server can send Log message (701) to my Java program as below: <INFO|09:18:09.510> {"Type":701,"MessageText":"Alert - Chart: HSV18 [C] [M] 50 Range #2 | Study: MY Arrow | Formula: = OR (SG5 >= 1, SG6 >= 1, SG7 >= 1, SG8 >= 1, SG9 >= 1, SG10 >= 1, SG11 >= 1, SG12 >= 1, SG13 >= 1, is TRUE. | Last Price: 26746 | Bar start date-time: 2018-10-08 09:16:17 | Alert: AlertSound (1)","TradeAccount":""} [com.dtc.service.DTCMarketDataService::receiveDTCMessage] This seems to be a good news to me as my program finally can get the indicator signal. However, the log message has a big delay (alert at 9:16:17 but the log message sent at 9:18:09) My question is whether this log message latency could be shorten? i.e. once alert and the log message will be sent. Thank you! |