Support Board
Date/Time: Thu, 21 Nov 2024 20:31:11 +0000
Post From: Colouring bars based on time
[2024-11-05 14:40:06] |
Sawtooth - Posts: 4118 |
When you say Line is your personal preference, do you mean a Dash? If you want to use Draw Styles other than the ones in post#7, you can place them at a bar's price. Use an instance of the Spreadsheet Formula study for each color. Add the Spreadsheet Formula study - Set the Chart Region to 1 - Set 'Draw Zero Values' to No - Use formulas like these in its Formula field: =IF(ID1.SG1<10/86400,L-TICKSIZE,0) =IF(AND(ID1.SG1>=10/86400,ID1.SG1<20/86400),L-TICKSIZE,0) these will place the marker 1 tick below the Low of the bar, when TRUE. Note: you still won't want to use the Line draw style. |