Inside bar with same color (its different code)

i want inside bar which should be bullish candle with no big wicks and mother candle also bullish means same color and this also not having big wicks, then it should give arrow on closing inside bar candle and also exploration,vice versa for bearish candle also…for AMIBROKER