Support Board
Date/Time: Thu, 13 Mar 2025 02:37:46 +0000
Bid / Ask Background
View Count: 547
[2022-05-26 22:15:02] |
User554560 - Posts: 2 |
Hello, Is there a way to draw onto a chart the bid/ask background exactly how it is drawn on a Trading or Chart DOM? I know this can be done with Lines rather than as a background: From the "Draw Style" in the study settings, selecting either "Line at/from ... Left to Right" But my attempts to replicate a background version as it is on the DOMs have only produced a bid/ask background that follows the historical path of the bid & ask rather than a horizontal that moves with the current bid/ask as with a Dom. Hoping there is a way and I've just failed to achieve it. Thanks in advance for any help. |
[2022-05-27 13:39:33] |
John - SC Support - Posts: 38621 |
If we are understanding you correctly, you want to color the top half of the chart one color and the bottom half another, separated by the current price. To do the above, you would use 2 copies of the Current Price Line study and on one study set the Draw Style to either Fill Top or Transparent Fill Top (depending on how you want the background to show) and on the other copy of the study set the Draw Style to Fill Bottom or Transparent Fill Bottom. Refer to the information for these draw styles starting here: Chart Studies: Fill Top (ACSIL: DRAWSTYLE_FILL_TOP) and Fill Bottom (ACSIL: DRAWSTYLE_FILL_BOTTOM) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-05-27 20:49:47] |
User554560 - Posts: 2 |
Thanks John. The Current Price Line study was exactly the study I needed for the job. Incidentally, for anyone interested, if instead of having the current price correspond to the shifting backgrounds you want it to be the bid and ask prices, you can just base each copy of Current Price Line studies on the study of the same name "Bid & Ask Prices." One copy will have the "Input Value = Ask, for Input Data" and the other copy for "Bid." |
To post a message in this thread, you need to log in with your Sierra Chart account: