For the EA when only "Ichimoku" trend is selected , the "Uptrend" is determined by the following conditions:-
1. Tenkan Sen > Kijun Sen &
2. Current Bid Price > Tenkan Sen &
3. Previous Day Close > Tenkan Sen.
For "Downtrend" the following conditions must be true:-
1. Tenkan Sen < Kijun Sen &
2. Current Ask Price < Tenkan Sen &
3. Previous Day Close < Tenkan Sen
Hope that helps.
cheers
ck.