Highlight the HOD candle of each day on the chart


Category:
0
0

Hello Pete,

 

I need help with code that highlights (show default color) of each High of day candle on a multi-day chart. Right now the current code I have only shows it for the “HIGHEST” candle on the entire chart. How can I modify this code to target the highest candle on each day? For example, the 3 day 15 min chart should have 3 HOD candle highlights

 

Thank you

The code is below

def highestHigh = HighestAll(high);
def hodCandle = high == highestHigh;
AssignPriceColor(if hodCandle then Color.Current else Color.BLACK);

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on December 27, 2021 7:00 pm
52 views
0
Private answer

Sorry for the late response. There was a technical issue with the website which was preventing notifications when new posts were added to the forum.

IF there is a solution to this request, the code required to get you there is far more complex than anything I can provide free of charge in the Q&A Forum.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on December 28, 2021 6:35 pm