That's pretty heavy-weight. I'd just pull the ITrend() function out of AllAverages, and call it with an appropriate LP[] working array.gaheitman wrote:You can call the AllAverages indicator and tell it that you want to you high and then low. It's two calls to iCustom, but depending on the time frame you intend to trade that may not matter.
Other than that, the EA logic should be pretty trivial.