about expert working on the hi and close of the candels?

 
hello any body have an expert working on the hi and lows of the candels ?
 
How can You detect high and low of candle? You can determine high, low and close price at beginning next candle only
Reason: