stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

lowPass filter
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=933
Page 2 of 2
Author:  garyfritz [ Mon Nov 05, 2012 6:18 pm ]
Post subject:  Re: lowPass filter

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.
Author:  gaheitman [ Mon Nov 05, 2012 6:59 pm ]
Post subject:  Re: lowPass filter

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
Author:  Dewey McG [ Tue Nov 06, 2012 5:29 am ]
Post subject:  Re: lowPass filter

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.
All times are UTC Page 2 of 2