Support Board
Date/Time: Fri, 22 Nov 2024 21:43:56 +0000
Preventing a custom study from recalculating and sending an order when reopening a symbol
View Count: 156
[2024-09-24 20:37:09] |
AntoineOpala - Posts: 66 |
I have a custom study that's working great while I stay on the chart. I sometimes go watch another symbol on the same chart, while a trade is active. When I reopen the symbol where a trade is active, something gets recalculated and instead of flattening then placing a market order when the conditions I told the study are met, it performs these actions instantaneously. Do I have to constantly have the chart stay on the same symbol, or is there a way to lock this? |
[2024-09-24 21:19:01] |
John - SC Support - Posts: 36238 |
When you change the symbol of the chart, the chart will be fully recalculated. It sounds like your study is not taking this into account and is therefore entering the trade again. Refer to the following: ACSIL Interface Members - Variables and Arrays: sc.IsFullRecalculation Also, if you are changing the symbol of the chart, then your study will not have access to the original data from which the trade was open. Therefore, depending on how your system is setup, it most likely will not be in a position to take you out of your trade, or do anything else that it is supposed to be doing based on the original symbol of the study. So you may not want to be changing the symbol (but again, this depends a lot on how you are trading and what your study does). For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-09-25 15:16:31] |
AntoineOpala - Posts: 66 |
Okay. I'm thinking of putting my custom study on my DOM as a workaround, then. Is there any way to unlink a DOM from its chart? |
[2024-09-25 15:25:11] |
John - SC Support - Posts: 36238 |
A Trading DOM is its own chart. So it is not actually connected to any specific chart. The connection is only through the symbol.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-09-25 16:48:06] |
AntoineOpala - Posts: 66 |
I understand, but what I mean is I initially went to File -> Open Trading DOM for Chart, in order to have the DOM I'm working with. Every time the symbol on my main chart changes, the symbol on this DOM changes too. Logically. What I'm looking for is a way to stop this synchronization manually, on request. Right now, only opening a new DOM through File -> Open Trading DOM could do it, but I'd need to manually type a ticker in this new DOM before every time I want to enter a trade. With my current DOM, I tried Chart Settings -> Do Not Change Symbol Settings for Chart on Symbol Change but it did not do what I'd like. Date Time Of Last Edit: 2024-09-25 16:49:32
|
[2024-09-25 18:39:26] |
AntoineOpala - Posts: 66 |
Nevermind. I found it. It's under Chart Settings -> Linking -> Symbol : no. A way to change this setting on the fly would be helpful, but otherwise I'm going to create an auto hot key for that. |
To post a message in this thread, you need to log in with your Sierra Chart account: