Support Board
Date/Time: Sun, 02 Feb 2025 15:49:49 +0000
[Programming Help] - Automated trading system - Current price breaks previous high
View Count: 1764
[2019-09-13 19:32:59] |
MattK - Posts: 42 |
Hi everyone! I'm trying to create a strategy where the buy signal is: the current price goes above the previous candle / breaks the previous candle high. After reading a lot of doc about trading systems: custom studies, etc, I'm kinda lost and hoping for someone to point me in the right direction. Are custom studies the way to go or should I just try to do it with alerts? I've already coded my strategy in Python and would just like to adapt it within Sierra Chart and automate it. Thanks so much in advance. Best, Matt |
[2019-09-13 23:38:11] |
Chris_uk - Posts: 89 |
Using the Color Bar Based on Alert Condition Study Color Bar Based on Alert Condition Simple Alert would be: H > H[-1] That is for the High of the current bar breaking the previous bars High. For a close above the previous bars high it would be: C > H[-1] For Low: Breaking low: L < L[-1] Close below Low C < L[-1] Date Time Of Last Edit: 2019-09-14 00:13:49
|
[2019-09-13 23:55:22] |
Chris_uk - Posts: 89 |
You have a few options, it depends on how complex what you're trying to achieve is. For something fairly simple the Spreadsheet System/Alert Study will probably suffice. Spreadsheet System/Alert Study Spreadsheet System for Trading (if it's more complex) Spreadsheet Systems, Alerts and Automated Trading ACSIL Automated Trading From an Advanced Custom Study Example ACSIL Trading Systems Or a third party study like the one offered by Frederik at simplesystemtrading (of no affiliation) The SST Autotrading Study Bundle for Sierra Chart https://gumroad.com/sstfrederik Cheers Date Time Of Last Edit: 2019-09-14 00:06:56
|
[2019-09-14 14:23:25] |
MattK - Posts: 42 |
Hi Chris, Thanks so much for your help. I think the ACSIL trading method will be harder to get around at first but more appropriate for what I want: - multiple studies - if and for statements And I like the idea of having the code in one place and just play around with it. Cheers, Matt |
[2019-09-14 22:05:39] |
Chris_uk - Posts: 89 |
Hi Matt, You're welcome. Good luck with your system and the transition. Cheers, Chris Date Time Of Last Edit: 2019-09-14 22:06:44
|
To post a message in this thread, you need to log in with your Sierra Chart account: