Topic: New indicator: ALF -- Advanced Laguerre Filter

The famous "ALF" indicator is now available in your favorite next-door FSB...
smile

Download it from the repository here:

http://forexsb.com/repository/repositor … rre-filter

Sq

Re: New indicator: ALF -- Advanced Laguerre Filter

Context error for me, Epsilon not declared?

I think adding "changes up/changes down" logic is a good addition. I've started recently to miss this in MA type indis.

You can fetch it from Indicator.cs, to save the trouble I've hacked it below for faster usage.

IndicatorLogic indLogic = IndicatorLogic.It_does_not_act_as_a_filter;
                
                switch (IndParam.ListParam[0].Text)
                {
                    case "Changes direction up":
                        indLogic = IndicatorLogic.The_indicator_changes_its_direction_upward;
                    break;
                    
                    case "Changes direction down":
                        indLogic = IndicatorLogic.The_indicator_changes_its_direction_downward;
                    break;

                    default:
                        break;
                }
                OscillatorLogic(iFirstBar, iPrvs, adValue, 0, 0, ref Component[1], ref Component[2], indLogic);