Support Board
Date/Time: Mon, 06 May 2024 11:54:16 +0000
sc.GetChartBaseData backtest issue.
View Count: 482
[2020-02-18 10:25:17] |
GiovanniD - Posts: 41 |
Hi, I need to backtest my indicator that works by processing data from a different time frame than the main graph. Unfortunately, your Study/Price overlay isn't working, so I changed the indicator to work directly on data from another time frame compared to the time frame of the main chart. However, I have the need to test the correct functioning of the indicator on the history. Unfortunately Sc. GetChartBaseData(InputDataChart.GetInt(), BaseData); in backtest fills the BaseData vector with all the history at the start and not time to time, candle by candle, as it should happen in real. This makes it impossible to test the indicator correctly because the size of the BaseData vector (and therefore the current candle number) is always the same, the maximum of the history. How can I solve this problem? |
[2020-02-18 10:34:25] |
Sierra Chart Engineering - Posts: 104368 |
You need to replay all of the charts that are being used by the custom study: Auto Trade System Back Testing: Performing Back Testing on a Trading System That Uses Multiple Charts And refer to: Auto Trade System Back Testing: Replay Back Testing - Manual Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2020-02-18 10:35:03
|
[2020-02-18 15:17:55] |
GiovanniD - Posts: 41 |
Ok, now it works, thanks
|
To post a message in this thread, you need to log in with your Sierra Chart account: