Chart Label for Bearish Candle on 5 minute chart


Category:
0
0

Im trying to see if its possible to add a chart label for the highest price of the previous bearish red candle ONLY on the 5 minute chart until another bearish candle forms. Thanks in advance!!!!

RESOLVED
Marked as spam
Posted by (Questions: 4, Answers: 5)
Asked on December 14, 2019 3:44 pm
89 views
0
Private answer

def redCandle = close < open;
def targetHigh = if redCandle then high else targetHigh[1];
AddLabel(yes, Concat("Red Candle High: ", targetHigh), Color.WHITE);

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on December 14, 2019 3:50 pm
0
what about the highest red candle instead of the previous?
( at December 14, 2019 8:50 pm)