lowPass filter

garyfritz

Re: lowPass filter

Post by garyfritz »

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.
That's pretty heavy-weight. I'd just pull the ITrend() function out of AllAverages, and call it with an appropriate LP[] working array.

Other than that, the EA logic should be pretty trivial.
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: lowPass filter

Post by gaheitman »

garyfritz wrote:
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.
That's pretty heavy-weight. I'd just pull the ITrend() function out of AllAverages, and call it with an appropriate LP[] working array.

Other than that, the EA logic should be pretty trivial.
True. For completeness sake, I modified my version of the lowpass indi to allow entry of a price type, so you could calculate the lowpass on the high and low.

George
You do not have the required permissions to view the files attached to this post.
Dewey McG
Trader
Posts: 435
Joined: Sat Nov 26, 2011 4:20 pm
Location: Tampa FL

Re: lowPass filter

Post by Dewey McG »

Thanks! As I am brand new to coding and have a crazy work schedule, it will take me a little bit to see if I can code this EA. I appreciate everyone's help.
Post Reply

Return to “Indicators”