if i want a buy signal for instance when the MA
5 is crossing MA 20 zone 
but only want this buy signal when the MA is crossing a rising MA 20 
in upwards direction.
So not only must MA5 croos upwards but also must the MA 20 be rising
how do i make this buy condition??