You can't trade in an indicator. There is a quick dirty way to do this. You can set a GlobalVariable from the indicator and then have a separate EA that constantly monitors the global. When the global variable is set the EA can make the trade and then reset the variable value.
Use GlobalVariableSet()
in the indicator and GlobalVariableGet()
in the EA.