wmrazek / Publications
Forum
error BUYSTOP (130) invalid stops
This error 130 is killing me... Does anyone have a clue or experience of the following scenario? If the OpenPrice is too close to Ask (for a BUYSTOP order) then we should get this error, see https://book.mql4.com/appendix/limits There it says that for a BUYSTOP order we need : OpenPrice-Ask >=
howto exchange data and control between dll and metatrader?
Hi! A very good description and video for how to write a dll for metatrader is described here: http://www.mistigrifx.com/tools/writing-basic-mt4-dll Still my question is how can we exchange data from the dll to metatrader. If for example a function in the dll should return several values, how is
How can I close a part of a market order?
How can I close a part of a market order? Not the whole order, just a part of it, for example one half, one third etc. I want to do the following: 1. Open a market position (buy or sell) 2. When my first profit target is reached, close half of the position. For the remaining order, set a new
Errors when using strategy tester
Hi All! I'm a newbie of metatrader but I love this tool! And this is a great forum, here is my first post: I have installed the metatrader4. Downloaded 1 min data in the History Center for EURUSD. I run the strategy tester on the EA "MACD Sample" that is included in the installation of metatrader4