Q1:Here is the indicator which you wanted if i got you right Q2:Maybe there is some bug with you EX4.,PLS re-compile the mq4.