For a perfect Hammer & Shooting Star, the EA will have to place a Buy Or Sell Order
Example Of Perfect Hammer & Shooting Star are given below:
A Hammer: The hammer will have an upside body with a long tail (Usually more than 2.5x-3x or longer than the body size), maybe with a nose after body or not. It is a perfect Reversal Sign / Storing Movement Sign usually forms for a buy entry for traders.
Dragon Fly & Gravestone Doji: They have a very small body but the tail is SOoo long and may have a nose or not. They also make reversal or strong movements.
A Shooting Star: The shooting star will have a body downsize while the tail will be above & body will be down, usually forms for a Sell entry for traders, It is also a price action reversal pattern or a strong movement sign.
Pinbar Reversal Strategy: 80-90% pinbar will do a Retracement, once a pinbar form's still the Banks, Insurance, Exchanger's hold their positions, once the market opens and they notice that kind of pattern they start to close positions after that market falls. While the retracement of the candle is very common and very important. The retracement will occur. The change of retracement is nearly 80% or more than that.
The very common point of reversal points are 50% Retracement we call (half size of the candle), Another one is the quarter size of the candle retracement on which side we're going to trade. If we take entry just after closing the daily candle and the retracement will make us a horrible drawdown up to 50-100 pips.
How to catch the entry then: Buy Limits and Sell Limits Pending Orders Or direct entry if that hit on that area's on Pinbars on half size and quarter size. And, after forming the candle take a direct entry, while there will be 80% chance of retracement so also it should take two more entries! Sounds aggressive? On a $500 account, only 0.01x3= 0.03 lots are not that much risk to catch the retracement area. I just want to catch the reversal as well
Take-Profit: 1x size of the candle's entire body.
Stop-Loss: 10 pips above/below the tail.
I'm working on this price action strategy, while dear I has to give the alarm on market opening time. Get out of the bed, turn on my pc. Analyze the market, put direct entries or Buy/Sell limit orders, and then again Sleep. You know how much tough is that.

I hope an auto system can help it!
This is my entries today with candlestick pattern entries only taken on midnight...
Few Notes For You: The body and tail size may vary by market conditions. It can't be fixed. No conditions to make it fixed. The will make the candle by itself. Even the body size can be like a doji as well, just like shown above (
Attached Picture). Please note that the candle size, body size, tail size is variable. Doesn't matter only matter is that perfect Pinbar or not.
And...Your detailed panel for inputs looks very very complicated to me. The earlier panel was easy and better to understand and control. The strategy is simple and the panel should be simple as well. There nothing to do with just taking entry on the perfect conditions only and t/p 1x size of the candle and s/l below/above 10 pips of the tail.
Your last version delivered only very few pinbar's in a year only on backtests. As I had said the size and look will be variable and the ea have to find the perfect bars to trade. usually Monthly it should have at least 3-4 perfect pinbars to trade.