same distance between 2 point in all symbols

 
Hi guys, i have this code:

 bool PriceMovedFar() { 
   double distance = 0.0; 
   double pipValue = SymbolInfoDouble(_Symbol, SYMBOL_POINT); 
   distance = (price2 - price1) / pipValue; return distanceInPips > 50 ; 
}
 if i use this code in usdjpy, that function return true as soon as the price moves higher, while,for example in nzdchf, it returns true quite far away. I would like to standardize the distance so that it is exatly the same between all symbols. thanks!
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
  • www.mql5.com
To obtain the current market information there are several functions: SymbolInfoInteger() , SymbolInfoDouble() and SymbolInfoString() . The first...
 
Hi, instead of points, use a percentage of daily (or current) ATR for each symbol, for example, 10% of the daily ATR...