Lorenzo Besutti / Publications
Forum
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