Cross over Code

 
can any one helpme i want a code to make numbers cross over when the values drop from 10 - 0 and also when they increase from 0 - 10
 
Richmond Chikotolo:
can any one helpme i want a code to make numbers cross over when the values drop from 10 - 0 and also when they increase from 0 - 10

What do you mean " make numbers cross over"?

What values are you referring to?

 
Keith Watford #:

What do you mean " make numbers cross over"?

What values are you referring to?

hello and thank you for the response 

on my EA i have set two values, to make the EA open trades every time it finds those values see the values  attached below 

i want the EA to cross over the values when they are conuting down or counting up. the EA doesnt cross over but just open trades when it see the values 

hope am making sense if not please let me know i explan mysefl in details THANK YOU in Advance 


 if((firstCurrencyStrength >= 4.60 && firstCurrencyStrength <= 10.00) && (secondCurrencyStrength >= 0.00 && secondCurrencyStrength <= 3.90)) {

         res = OP_BUY;

      }  else

      if((firstCurrencyStrength >= 0.00 && firstCurrencyStrength <=3.90) && (secondCurrencyStrength >= 4.60 && secondCurrencyStrength <= 10.00)) {

         res = OP_SELL;

      }