Can someone help me with the following issue please?

As you can see in the attached chart I have a daily time frame from 2002 till the present of Eur/Usd.
I have the following trend expert for longs (based on formulas I collected from Henry):
Fml( "Pivot Points TD 1 1 Weekly Most sensitive") > 0 AND
Fml( "Pivot Points TD 2 1 Weekly 2nd most sensitive") > 0 AND
Fml( "Pivot Points TD 3 1 Weekly 3rd most sensitive") > 0 AND
Fml( "Pivot Points TD 4 1 Weekly 4th most sensitive") > 0 AND
Fml( "Pivot Points TD 1 2 Weekly 5th most sensitive") > 0
For shorts I have the the following expert:
Fml( "Pivot Points TD 1 1 Weekly Most sensitive") < 0 AND
Fml( "Pivot Points TD 2 1 Weekly 2nd most sensitive") < 0 AND
Fml( "Pivot Points TD 3 1 Weekly 3rd most sensitive") < 0 AND
Fml( "Pivot Points TD 4 1 Weekly 4th most sensitive") < 0 AND
Fml( "Pivot Points TD 1 2 Weekly 5th most sensitive") < 0
Internally, they look like this:
Fml( "Pivot Points TD 1 1 Weekly Most sensitive") is the same as the following:
{TD 1 2 thru TD 4 2 are based on Weekly Pivots so when plotted on daily charts they will not change as frequently as Daily Pivots}
TD11:= ExtFml("PowerPivots.TrendDirection",1,1);
TD11;
However, if you look at the bottom ribbon, it is a little out of synch.
In 2002, (the first red color on the left of the ribbon), the expert said to go short; however, at this point the Euro decided to take off north.
In 2004, the sixth green spot of color from the left, the Euro went down (half way through the green spot); however, the expert was long.
The same thing happened with the seventh green spot half way through the green spot the Euro went down.
In 2005, with the last green spot, the Euro went down, but the expert was long.
With the last red spot, the expert was short, but the Euro went up.
How can I compensate to have an expert that behaves like the chart? In other words, I would like an expert that is more consistent with what I am looking at in the chart.
Regards,
FXLearning