Forum

How to set display accuracy for an Object OBJ_ARROW

Hello there, I have created an object type OBJ_ARROW that is shown on the chart using: ObjectCreate(Chart,"Top",OBJ_ARROW,0,Time,Price); So, anyone knows how to set the digits of the number shown when I put the cursor on it? (like figure below) I didn't find anything related to it. Thanks

Error 4401

Hello there, I have developed a customized chart indicator for MT5 and I need to get the previous day close price for it. Since MT5 doesn't have a quote field for that information (as far as I know), I'm using these functions to do so: CopyRates(_Symbol,PERIOD_D1,0,2,Buffer) and