MadCow:
This is my first attempt to write an indicator. The MQ4 posted below works except for a couple of problems. I have even gone so far as to read coderguru's tutorial and the MQL documentation and book, but cannot find the trouble. I need a pro! The problems are:
1. The filter parameters do not control the filter. Changing the parameters in the code changes the filter, but changing them on a chart has no effect.
2. The last point in the filter is always bad.
This filter comes from J.Ehlers, and is a nice way to distinguish trends from ranging markets.
If someone can help, I would also appreciate an explanation of my errors. Criticism is the only way to learn, so I invite yours.
This is my first attempt to write an indicator. The MQ4 posted below works except for a couple of problems. I have even gone so far as to read coderguru's tutorial and the MQL documentation and book, but cannot find the trouble. I need a pro! The problems are:
1. The filter parameters do not control the filter. Changing the parameters in the code changes the filter, but changing them on a chart has no effect.
2. The last point in the filter is always bad.
This filter comes from J.Ehlers, and is a nice way to distinguish trends from ranging markets.
If someone can help, I would also appreciate an explanation of my errors. Criticism is the only way to learn, so I invite yours.
1. The filter parameters do not control the filter. Changing the parameters in the code changes the filter, but changing them on a chart has no effect.
2. The last point in the filter is always bad.
This filter comes from J.Ehlers, and is a nice way to distinguish trends from ranging markets.
If someone can help, I would also appreciate an explanation of my errors. Criticism is the only way to learn, so I invite yours.