Updated the indicator to add a candle touch filter. This will filter out signals depending on if and how the signal candle touched the EMA or not. The options are:
'Body Touch' - This will produce the most signals, whether the body or just the wick touched or if there was no touch of the EMA at all.
'Wick Touch' - This will produce signals only if there was a wick touch or no touch of the EMA at all.
'No Touch' - This will produce the least number of signals, as it will only print signals where the signal candle did not touch the EMA at all. Theoretically these are the strongest signals, as no touch of the EMA suggests momentum.
I'd like to point out that this is really a trending market indicator and will perform best in those types of markets. If the market is going sideways or in a tight range it shouldn't be relied upon too much for placing trades based on the signals for obvious reasons.
I have set the default ATR thresholds for signals to '1', but when I use it I don't take trades unless the ATR is at least 10, so adjust it to whatever you are comfortable with.
Lastly, I have also set the default touch state to 'Body touch', adjust as necessary.