Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 14:21:27 +0000



Post From: Real Time or Historic Bar / Tick

[2015-07-28 20:49:06]
User99735 - Posts: 234
Hi,
a) I have a strategy wherein I want to open a trade as soon as I open the chartbook ( with the strategy set up in studies tab ).
In this scenario the flag sc.ChartIsDownloadingHistoricalData(sc.ChartNumber) works fine, and returns false when the download of historical data is complete.
b) However if I set the flag to open the chartbook whenever SierraCharts is booted up, the above mentioned scenario fails, with thee trade being opened as soon as connection to data feed is opened and before historical data is downloaded. This is resulting in messed up trades.
See enclosed screenshot of the message log.

Please suggest a workaround / fix for this issue.

Regards

Vivek
imagelog 2.png / V - Attached On 2015-07-28 20:48:14 UTC - Size: 100.35 KB - 288 views