Average number of Pips per Tick

 

Is there a way to calculate the Average number of Pips per tick?

I am new to coding in MQL4.

I would like to check in my code if there is a sudden fast movement against my trade and close it out if true.

Should I use the spread? 

 Thanks for any assistance. 

 

For anyone interested, I found a list of average spreads on Investing.com at http://www.investing.com/brokers/compare-spreads-eur-usd

It gives a list of average/ high / low spreads for each pair for each session. 

Forex Spreads Comparison - Investing.com
Forex Spreads Comparison - Investing.com
  • www.investing.com
This table shows the average EUR/USD bid/ask spread in pips as measured during the last five trading days.