Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 10:47:52 +0000



[Programming Help] - Backtesting

View Count: 1694

[2021-09-15 18:54:17]
User969241 - Posts: 95
Does SC have a feature where I could test a simple idea in an equity such as "How often does a day close up after and the previous day closed up"
[2021-09-15 23:33:32]
John - SC Support - Posts: 36309
You reference backtesting, which we have for trading systems. Refer to the following:
Auto Trade System Back Testing

And there is also the replay mode. Refer to the following:
Replaying Charts

But, for what you ask - "How often does a day close up after the the previous day closed up", you would not use those features. Rather, you should use the Color Bar Based on Alert Condition study, and put the condition into your alert which would look something like "=AND(C[-1] > O[-1], C > O)" assuming you are using daily bars. Refer to the following:
Color Bar Based on Alert Condition

The Color Bar Based on Alert Condition also has a "Count of Alerts" subgraph that would tell you how many times your alert would be true. An easy way to see that number would be to use the Text Display for Study and reference the subgraph that holds the number of alerts. There is information on the subgraph in the Above documentation for Color Bar Based on Alert Condition. Refer to the following for the "Text Display for Study":
Text Display For Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-09-16 12:48:14]
User969241 - Posts: 95
Does SC have any recommended developers that would be able to code this ?
[2021-09-16 15:49:05]
John - SC Support - Posts: 36309
We have a list of developers here:
List of Third Party Sierra Chart Study and System Programmers
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-09-16 17:21:07]
Ackin - Posts: 1865
User969241)

There is a study for that on my forum (free of charge), if you are registered, look at the description of the Free 2019 library, I will insert a collection for basic tests for charts and colorbars ...

Contact:
https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free
[2023-09-09 19:14:02]
Sean mulcahy - Posts: 9
Can you tell me how to export the backtest information into excel instead of doc?
[2023-09-11 15:44:41]
John - SC Support - Posts: 36309
Refer to the following:
Trade Activity Log: Saving to a Text File

Note that the data is tab-delimited, so you can import this into Excel.
For the most reliable, advanced, and zero cost futures order routing, use 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