Support Board
Date/Time: Tue, 18 Mar 2025 17:45:30 +0000
Auto trading
View Count: 1649
[2022-08-01 16:07:51] |
User313147 - Posts: 48 |
Is it possible to setup auto trading based on an alert such as moving averages crossing over?
|
[2022-08-01 16:43:22] |
John - SC Support - Posts: 38768 |
Refer to the following studies: Trading System - Study Subgraph Crossover Trading System Based on Alert Condition For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-08-01 18:02:31] |
User313147 - Posts: 48 |
So if I understand it correctly you can set subgraph line 1 and 2 based on common study inputs page to moving averages. If this is the case I should be able to set up auto trading for when two different moving averages cross to perform a buy/sell with my live account. Is that correct? |
[2022-08-01 19:01:12] |
John - SC Support - Posts: 38768 |
Yes, you have your information correct.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-08-03 15:13:09] |
User313147 - Posts: 48 |
I can't see where to set subgraph line 1 and 2 to moving averages.
|
[2022-08-03 17:18:11] |
User313147 - Posts: 48 |
I’ve now realised that it is a custom study. It didn’t state that in the description. I set it up and it worked when a sell signal was confirmed, but then when the trade reversed and the moving average crossed over again the trade didn’t reverse. I had it set as the action to reverse the trade if the crossover occurs but for some reason it didn’t do the reversal? |
[2022-08-05 11:36:53] |
User313147 - Posts: 48 |
I have tested all options within this custom study and can confirm that the action on crossover options work when no action is selected and also when exit on crossover is selected. However when reverse on crossover is selected nothing happens. I was in a trade going long then the trade reversed the moving averages crossed over the subgraph marked the crossover within the chart but the trade didn't reverse. |
[2022-08-08 14:44:06] |
User313147 - Posts: 48 |
is there a way of adding criteria to a custom study? wondering if I can add trade start and end times to Trading system- study subgraph crossover? The other study trading system based on alert has this option
Date Time Of Last Edit: 2022-08-08 14:44:14
|
[2022-08-08 17:57:45] |
John - SC Support - Posts: 38768 |
The source code for that study is available and is in the tradingsystem.cpp file that is in your ACS_Source folder under your main Sierra Chart folder. Refer to the following: How to Build an Advanced Custom Study from Source Code For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-08-09 13:43:07] |
User313147 - Posts: 48 |
what about the reverse on crossover function not working?
|
[2022-08-09 14:32:55] |
Sierra_Chart Engineering - Posts: 18824 |
We apologize for the delay. We will be testing this today.
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, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-08-09 20:43:00] |
Sierra_Chart Engineering - Posts: 18824 |
When using the Trading System Based on Alert Condition study, reversals do function properly. Here is an example: Auto-trade: Replay 60X: MESU22-CME[M] 1 Min #1 | Trading System Based on Alert Condition | SellEntry | Bar start date-time: 2022-08-08 08:03:00.000 | SellEntry reversal order processed. Flatten quantity: 1. New order quantity: 1 | 2022-08-09 16:32:39.983 Understand the required conditions for a reversal: Automated Trading Management: SupportReversals And make sure the Support Reversals Input setting with the study is enabled 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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2022-08-09 20:45:38
|
[2022-08-10 13:39:34] |
|
This is the study we recommend you use and has support for reversals: Trading System Based on Alert Condition 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: 2022-08-10 13:39:44
|
[2022-08-19 16:05:45] |
User313147 - Posts: 48 |
I have tested this today and it doesn't reverse for me? I had 4 contracts running 3 of them hit their TP and 1 didn't. The trade reversed, moving average crossed over and the trade didn't reverse. I had support reversals set to yes. |
[2022-08-21 08:43:06] |
Sierra_Chart Engineering - Posts: 18824 |
We do not know what the issue is in your case. we do not provide automated trading system debugging: Automated Trading Management: Troubleshooting Automated Trading System Behavior However, we are going to add these new Inputs to the Trading System Based on Alert Condition study in the next release: "Cancel All Orders on Entries" "Cancel All Orders on Reversals" We recommend setting the last one to Yes. 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, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-08-25 17:45:03] |
User90125 - Posts: 715 |
Support, Where can users find the updated .cpp file for this study? Didn't see it in v2425. EDIT: Found it in the files for the locked out v2427. Date Time Of Last Edit: 2022-08-25 17:55:22
|
[2022-09-14 16:07:52] |
User313147 - Posts: 48 |
is there a way of automating a trade buy or sell when the price or a moving average crosses the VWAP study?
Date Time Of Last Edit: 2022-09-14 16:09:05
|
[2022-09-14 22:38:22] |
John - SC Support - Posts: 38768 |
Same answer as Post #2 above. In those studies you define the data you are using.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-09-20 09:55:48] |
User313147 - Posts: 48 |
im getting a syntax error pop up when trying to set up trading system based on alert condition
|
[2022-09-20 15:08:25] |
John - SC Support - Posts: 38768 |
Then you must have something incorrect in your Alert Condition. You can post what you are wanting to accomplish and what you have written and ask for help with it.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-09-20 16:42:43] |
User313147 - Posts: 48 |
I am trying to do a moving average cross alert when it crosses the VWAP from another subgraph and gives alert formula error. syntax error. no alert sound/email
|
[2022-09-20 16:55:49] |
User313147 - Posts: 48 |
I think I have found the issue. It wasn't working with a moving average study. It needed to be moving averages study
|
To post a message in this thread, you need to log in with your Sierra Chart account: