Support Board
Date/Time: Sat, 15 Mar 2025 08:15:27 +0000
How to show lines above and below current bid/ask price by a set number of ticks?
View Count: 699
[2022-07-11 03:48:53] |
HumblyTrading - Posts: 192 |
Hello SC Team, I am looking for a way to have some small horizontal lines floating 20 ticks above and below the current price. This enables me to quickly decide if a scalp is worth entering, likely to meet my 20 tick goal. The idea would be 2 small horizontal lines just like the existing study: "Current bid/ask lines." However, I would set the lines to be 20 ticks above and below. Is there an existing way to do this? Thank you for any help or ideas! Mike T |
[2022-07-11 16:55:14] |
John - SC Support - Posts: 38678 |
Lots of ways to do this. One way is to use the Current Price Line study as the Input to the Study Subgraph Add study. Refer to the information for the Arithmetic Studies here: Using the Basic Arithmetic Studies 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-07-11 17:03:58
|
[2022-07-11 20:02:45] |
HumblyTrading - Posts: 192 |
That worked great. Thanks! In case anyone else has a similar request: It is important to go into the study scale settings and use "Same as Region," and to set the Chart Region to 1 (assuming region 1 is your price chart) Also, set the Amount to Add to the appropriate tick value. In the case of GBPUSD, for example, if you want 10 ticks above and below price, you need to add 0.0005 and -0.0005 respectively. Set the subgraph type to dash... Thanks! Mike |
[2022-07-11 21:34:55] |
John - SC Support - Posts: 38678 |
Given what you state, we want to point out another way to do this that may be a bit more robust for you. If you use the Spreadsheet Formula, you can then have access to the ticksize, so you could change the symbol and still be offset by the same number of ticks (but if you want to be offset by the same amount of price, then leave it the way you have it). With the Spreadsheet Formula, you would use the following formula to get the line above the current price: =C[0] + 10 * TICKSIZE Where C is the close of the bar and [0] specifies that you only want the current bar (so the current price) and TICKSIZE is the tick size of the chart. For the most reliable, advanced, and zero cost futures order routing, use 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: