Hello to all programmer's,

I'm not programmer and I want some 1 assist me to make a simple indior that paint the candle's
The rule for bullish candle:
the open is 20% in the low and the close is 20% in the hight.
The rule for bearish candle:
the open is 20% in the hight and the close is 20% in the low.
When the pub meet the standards and the indior can track the open and close degree's whit horizontal line's will be greater.
Thank you in advance.