How to Referring to specific point

 

Hi,

The iHighest and iLowest it give the last Highestor Lowest Price it is not care about candle if it green or red, But I need to referring to the last green candle Low OR last red candle high.


How to find that? the candle could be 1 OR 2 ..... But it is the last candle.


 All the best
Reason: