Standardize distance and lots between symbols

Job ID: 38406649

Budget: €8 – €30 EUR

This function has to work in the same way for all symbols. What i mean is that the distance in millimeter has to be the same for all symbols



//buy condition
bool PriceMovedFar(double lastEntry) {
distance = currentTick.bid - lastEntry;

 return distance > 50 ;
}

I also need to create e function that standardize lots size between symbols. If i set 0.1 as a general lot size, i want that when prices moves the same distance in millimeters between symbols, the amount of money in profit or loss is the same. Thanks
Related categories: Metatrader Metatrader 5