Is This Abs Fuction is Nessesory

is This Abs Function is Necessary for this marabozu

this is in streak scanner discovery, if it is not necessary then why they used

So that changing a few parameters would turn this bullish condition into a Bearish candle as well, without rewriting the whole thing.

You can modify this or write your own condition as per your requirement.