I have tried different levels of deviations. Now I have it set to 0. I even changed the order filling type to FOK and still buy more expensive than I set the price. What is the issue because I think I gave up on MT5
Hi, I am using python to build an expert advisor. Right now I have a function which calculate the quantity by the investment but dosent take into account the leverage so how I calculate the leverage? Here is my function: def qty_buy(symbol