♥ 0 |
Hi Pete, Can you write a code for the subject mentioned above? I am looking for to see only specific time 4 hr candle on the 4 hr chart ? Like there is an input for the 4 hr start time and I can see particular that 4 hr candles on the chart and other candles either don’t show up or other all candles can be assigned a color of choice, Thank you, Shaishav RESOLVED
Marked as spam
|
Private answer
You can use this code included in the question asked by.... oh. Looks like it was posted by you: https://www.hahn-tech.com/ans/specific-time-colored-candle/ I just tested that code just as you supplied it. Changed the time from 1400 to 900 and it changed the 9 o'clock bars to yellow. There is no way to hide candles on the chart. So this is the best we can do. But if you want to set the other candles to match the background color you can modify the last statement in your original code:
That works if the background color of your chart is black. Of course you need to include the rest of the code from that post I linked. Did you search for this solution before posting your request? If so, did you see this post but pass it up because you didn't think it would work? Marked as spam
|
Please log in to post questions.