Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 13:35:49 +0000



Are all ticks used when backtesting in SC?

View Count: 947

[2015-12-25 22:39:30]
User760942 - Posts: 120
Are all ticks used when backtesting in SC? (This is assuming I have tick data showing every single Bid, Ask and Last tick.)

For example:

1. Does SC use Bid ticks and Ask ticks when backtesting? Or does it just use Last ticks?
2. Does SC use the real Ticks that happened within a bar when backtesting? Or does SC create fake ticks (like Metatrader) within a bar to fill in the gaps between the bar's Open, High, Low and Close when backtesting?
3. Does SC show a trade closed at the actual tick's price within a bar that activated a Stoploss or Takeprofit when backtesting? Or will SC just show the trade closed at the Open, High, Low or Close of a bar if a stoploss or takeprofit was activated within a bar?

Thanks!
[2015-12-25 23:28:22]
Sierra Chart Engineering - Posts: 104368
1, 2. Tick by tick back testing is supported during a chart replay and is explained here:
https://www.sierrachart.com/index.php?page=doc/doc_ReplayChart.html#ReplayMode

Changes with the Bid and Ask are not necessarily going to trigger a calculation of the auto trade system.

3. Yes to the first question.
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: 2015-12-25 23:29:19
[2015-12-26 01:53:02]
User760942 - Posts: 120
Changes with the Bid and Ask are not necessarily going to trigger a calculation of the auto trade system.

Not sure I understand 100%. Can you please give me an example of this?
[2015-12-27 02:30:58]
Sierra Chart Engineering - Posts: 104368
We have added a paragraph to the documentation about this:
If there is a change with the Bid or Ask prices, which are stored with 1 Tick Intraday data, but the Last price of the last bar does not change or there are no new bars added to the chart, the studies on the chart will not be calculated. However, an ACSIL study can be aware of all of the Bid and Ask price changes by using the sc.GetTimeAndSalesData function next time the study function is called.

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
[2015-12-29 10:19:43]
User760942 - Posts: 120
If "the Last price of the last bar does not change or there are no new bars added to the chart" can a change in Bid and/or Ask price within the bar still activate a Stoploss or Takeproft?
Date Time Of Last Edit: 2015-12-29 10:20:21
[2015-12-29 17:54:49]
Sierra Chart Engineering - Posts: 104368
Yes and we are verifying this now.
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
[2015-12-29 18:10:00]
Sierra Chart Engineering - Posts: 104368
Yes, this has been confirmed to work:
can a change in Bid and/or Ask price within the bar still activate a Stoploss or Takeproft?

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
[2016-01-13 04:43:59]
User760942 - Posts: 120
If there is a change with the Bid or Ask prices, which are stored with 1 Tick Intraday data, but the Last price of the last bar does not change or there are no new bars added to the chart, the studies on the chart will not be calculated.

Is there a way to make the limitations quoted above happen when live trading as well as backtesting? I ask because I want my backtest results to resemble live trade results as closely as possible.

(FYI: this is all regarding strategies built via your "Spreadsheet System for Trading")
[2016-01-13 09:35:09]
Sierra Chart Engineering - Posts: 104368
There is definitely no way to make the same happen with live trading.

If anything we could do the opposite and possibly support a study calculation at every new Intraday data record. It is just that it is going to really slow down back testing.
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
[2016-01-13 09:55:01]
User760942 - Posts: 120
I personally don't mind if it slows down backtesting.
From my POV backtesting results that don't mirror live trade results are pretty much useless.

Perhaps you could add this as an additional setting users can choose to turn on or turn off when backtesting?
[2016-01-13 13:25:43]
Sawtooth - Posts: 3993
If anything we could do the opposite and possibly support a study calculation at every new Intraday data record. It is just that it is going to really slow down back testing.
I would use this option also.
[2016-01-13 18:12:33]
Sierra Chart Engineering - Posts: 104368
OK we will see about adding this option.
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
[2016-01-22 03:26:26]
User760942 - Posts: 120
Hey SC,

Just checking in to see if you decided to add this option. Any ETA on when it will be added if so?

Thanks
[2016-01-22 04:48:42]
Sierra Chart Engineering - Posts: 104368
Yes, we will be adding this but allow about 45 days.
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

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

Login

Login Page - Create Account