i have the following code:
if (Close[0]<High[1]&&Close[0]>Low[1])
{
DrawDiamond("Down Diamond" + CurrentBar, false, 1, High[1], Color.Blue);
DrawDiamond("Up Diamond" + CurrentBar, false, 1, Low[1], Color.Blue);
}

now i want to work with that high/low of the candle with the first Diamond up/down. but i don´t know how to do that...
i want to code now:
if (Close[0]<High[candle with first diamond up/down]&&Close>Low[Candle with first damond up/down]
Sorry for my englisch...do you guys understand what i want to do?

Comment