Question about

 
Question about
Please tell me - How to determine , when certain indicator croses certain value upwards or downwards? For example - Momentum, crosing the 100 point upwards or downwards? Please advice.
 
compare 2 consequent values
for example
if iMom(YourPeriod, 0) > YourValue and iMom(YourPeriod,1) <= YourValue then Alert("Momentum crosses over value");