Hi,
I am Sourabh Jain, I can build the script for EMA condition and inside bar pattern (both formation and break-out) alert as you require.
I have written several AFL scripts involving chart patterns and indicators. I have written alerts, telegram notifications, strategy for backtesting etc. If you are interested, let me know.
Regards
Sourabh