Support Board
Date/Time: Sat, 23 Nov 2024 18:39:11 +0000
trading system - study subgraph crossover
View Count: 220
[2024-08-06 18:27:44] |
User346587 - Posts: 19 |
Hi, I have a moving average cross over study on my chart, I want it to trigger trades on each cross over. So I added the study: trading system - study subgraph crossover study with these values (see screenshot) Im trying it in simulation mode right now to see if it works, its not triggering any trades so far Date Time Of Last Edit: 2024-08-06 18:47:29
|
Screenshot_144.png / V - Attached On 2024-08-06 18:27:03 UTC - Size: 16.32 KB - 47 views |
[2024-08-06 19:47:16] |
User346587 - Posts: 19 |
you can see the study is triggering signals on the chart but no trade is being taken at all see screenshot the dots are from the trading system - study subgraph crossover and the arrows are from the moving average cross over study |
Screenshot_146.png / V - Attached On 2024-08-06 19:46:47 UTC - Size: 7.29 KB - 43 views |
[2024-08-06 20:36:25] |
John - SC Support - Posts: 36238 |
In the "Trading System Study Subgraph Crossover" you have the Input for "Send Trade Orders to Trading Service" set to "Yes". This is in conflict with the "Simulation Mode On" being enabled. If you are in Simulation Mode, then you need to set that option to "No" (and vice versa). Refer to the following: Automated Trading Management: SendOrdersToTradeService For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-08-06 22:06:47] |
User346587 - Posts: 19 |
hi, ok it works now. I assume I have to leave my sierrachart open 24/7 if not the trades won't trigger? |
[2024-08-06 23:17:11] |
User346587 - Posts: 19 |
how do I need to set up my trade strategy study for it to take the long trades only I want it to get in the market on longs and get out once the moving averages crosses again on the down side I don't want to be short ever I don't wanna reverse my position like said in the study (see screenshot) Date Time Of Last Edit: 2024-08-06 23:21:21
|
Screenshot_148.png / V - Attached On 2024-08-06 23:16:38 UTC - Size: 35.09 KB - 36 views |
[2024-08-07 14:12:14] |
John - SC Support - Posts: 36238 |
First, set the Input for "Action on Crossover When in Position" to "Exit on Crossover". Refer to the information on this in the documentation here: Trading System - Study Subgraph Crossover With regards to only getting Long trades, you would have to change the code for that study to do this, as it is not setup to allow you to select this (it determines whether a Buy or Sell is done based on the direction of the crossover). The source code is in the 'tradingsystem.cpp' file located in the ACS_Source folder under your main Sierra Chart installation folder. Refer to the following: How to Build an Advanced Custom Study from Source Code The other option is to use the "Trading System Based on Alert Condition" and set the Alert Condition to be the following: =CROSSOVER(ID6.SG3, ID6.SG4) On this system, you can define the order type to occur when the condition is met. Keep in mind there are also options for "CROSSFROMABOVE()" and "CROSSFROMBELOW()" if you want a certain direction only to generate the order. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-08-14 19:19:53] |
User346587 - Posts: 19 |
perfect thank you for your help John
|
To post a message in this thread, you need to log in with your Sierra Chart account: