Support Board
Date/Time: Fri, 27 Dec 2024 01:48:14 +0000
Post From: Live data versus replay data problem
[2016-02-16 20:34:08] |
User55519 - Posts: 37 |
To add to this, if I'm going to programmatically force a study to update similar to an accurate replay - What is the LAST price actually using - the bid, the ask, or some combination? That will be very helpful to know here. I have gone through the documents and it seems that the accurate replay using tick data only calls a study when one of these occurs: New bar Last, high, or low price changes And in live mode the study is only called more frequently than the Chart Update Interval set in Global Settings >> General Settings when: Using sc.UpdateAlways = 1 OR Setting sc.OnExternalDataImmediateStudyCall Am I understanding this correctly then, that if I use sc.UpdateAlways or sc.OnExternalDataImmediateStudyCall, and have my study check to see if the last, high, or low price has changed before executing any code, then I would be mimicking the replay behavior? Additionally, this quote from the documentation makes me ask another questions about the process: "To visually observe a tick by tick replay, Accurate Trading System Back Test Mode must not be set. This setting is meant for back testing and the chart will not be redrawn frequently but instead infrequently." What is infrequently? Is it the time set in 'Intraday Data Storage Time Unit'? If so, how frequently will the chart bars be drawn if the setting is '1 tick' or is there a setting for this? Thanks Date Time Of Last Edit: 2016-02-16 20:57:39
|