Support Board
Date/Time: Fri, 22 Nov 2024 13:07:08 +0000
Set stop offsets based on bid/ask prices?
View Count: 2879
[2013-05-02 17:12:56] |
User76625 - Posts: 49 |
Is there a way to set trailing stops based on the current bid and ask prices (or the midpoint of bid/ask, preferably) of a contract? In low-liquidity markets (like options), the bid/ask can increase without the "last trade" price increasing, so the stop doesn't move until an actual trade has gone through at a higher price.
|
[2013-05-03 00:05:55] |
Sierra Chart Engineering - Posts: 104368 |
We have found un-reliability among Trading services with Bid and Ask data at times. We do not use them to control Stops. We have found it to cause problems. However, there is a solution to this, what you need to do is use the -BAAVG suffix on the options symbol: https://www.sierrachart.com/index.php?l=doc/doc_RecordingModes.php This will cause the midpoint to be used. 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 |
[2013-05-03 14:53:46] |
User76625 - Posts: 49 |
That's a great feature. You guys really thought of everything. However, I'm running into a new problem - the historical data fills in just fine when I added the BAAVG suffix, however, it looks like the charts are not creating new bars. I see the bid/ask lines bouncing around, so the data may still be getting 'recorded,' but the last bar I see is the one that was current when I did a 'Delete All Data and Download" on all of the charts that I added the suffix to. |
[2013-05-03 15:18:34] |
User76625 - Posts: 49 |
Actually it looks like it's not being recorded. I had two instances where an entry signal was given, but it did not translate to an order. I think because the last piece of data on the chart where my entry study is running is from 30 minutes ago.
|
[2013-05-03 21:54:51] |
Sierra Chart Engineering - Posts: 104368 |
Are you using BAAVG on the main Symbol of the chart or on the Alternate Real-time Update Symbol?
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: 2013-05-03 21:55:11
|
[2013-05-03 23:03:49] |
User76625 - Posts: 49 |
I added -BAAVG to the Alternate Real-time Update Symbol - the options symbol. It gave me the historical B/A midpoint prices I want, but it did not update with new bars. Also something to note - I tried sending a manual order to IB just to see what would happen, and with the -BAAVG suffix, it rejected the order, saying it was an invalid symbol. Once I removed the -BAAVG, I could send an order. Should I be able to trade off a chart that uses the -BAAVG suffix? |
[2013-05-03 23:18:22] |
Sierra Chart Engineering - Posts: 104368 |
It is not going to work properly to set -BAAVG to the Alternate Real-time Update Symbol . It is not clear the reason you want to do that. What is the main chart Symbol set to? From our position, we do not have a good grasp of what you are doing. 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 |
[2013-05-03 23:40:05] |
User76625 - Posts: 49 |
Sorry - I got mixed up. The problem I was having with bars not updating was when I had the option symbol with the -BAAVG suffix on the main symbol. At that time, I wasn't using the Alternate Real-Time Update Symbol. Eventually I put the stock ticker in the main symbol and the option in the Alt Real Time Update Symbol as a work around to get things to update properly. But that was later in the day. That probably explains the order error I was seeing. So the main issue is probably just the chart not updating with the BAAVG suffix. Date Time Of Last Edit: 2013-05-03 23:48:13
|
[2013-05-06 16:39:26] |
User76625 - Posts: 49 |
I tried things again today, and definitely still no updating on any options charts with the -BAAVG suffix. I'm using the main Symbol (no Alt Real-Time Update Symbol used). If I remove the suffix, option charts appear to update OK. I've also tried a couple of other alternate recording mode suffixes (-BID, -ALL, etc) and the charts update with new bars, but almost all of the new bars are flat (i.e., the open/high/low/close values are all the same value, even though they shouldn't be). Here's a screenshot (currently set to -ALL, and note the position of the bid/ask lines): http://www.sierrachart.com/image.php?l=1367857981959.png It looks like, at least for options charts, the alt recording modes do not work properly. |
[2013-05-07 01:49:04] |
Sierra Chart Engineering - Posts: 104368 |
We will have to test this.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: