Forum

Edit box blinks when Mouse Move

Anyone faced such issue? When edit box is selected and being edited, it is blinking as long as mouse moves. Once end edit it stops blinking

How to resource fonts

I am using custom font in my panel and want to resource it so it will be shown properly in any terminal. Tried to resource it as we do for images but it seems not work. Any idea

Any function to rotate image along axis?

Whats wrong with this function? //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void Rotate( const int x_cent, const int y_cent, //

Take profit can be set within spread and be negative?

I was experimenting with MT5 and found strange thing I am selling an asset Set the stop loss above the Ask price. Set the take profit above the Bid price and below Ask price (within spread). This means the order will be closed by TP but with loss. And this is what happening actually. So technically

How to compile two versions of the program at the same time

I need to make the program to automatically compile two versions, for example with different default input parameters. Or lets say I have funcion1 and function2. I would like to create two versions of the EA while compiling, first of which will be running funcion1, the second version function2

Posting external link in product description

Hello guys When posting new product in the Market is it allowed to post external links in the product description, for example pdf file or external web page with manual

ArrayResize need any control to avoid array out of range

Hello guys During hundreds of test run recently I faced array out of range in a function immedaitely after calling ArrayResize. So the quesion is, is it necessary to put a control to avoid this. Example if ( ArrayResize (Array,size, 1000 )==size); { // code } // instead of

FILE_ANSI vs FILE_UNICODE

Hello guys I am working with read/write bin files and would like to know advantages and disadvantages of using FILE_ANSI vs FILE_UNICODE . MQL5 documentation doesnt provide any detailed documentation except one/two byte symbol usage

How to load candle data for all Market Watch symbols

Hello guys I need to implement such feature for my panel. I will create a button, which will load candle data for all Market Watch symbols. So when I change the symbol, the chart will be ready. So there are several options with similar logic, i.e. request iHighest of last 100 bars for each market

Order closed by non existing price

Symbol USDZAR, Sell position. At 2021.05.25 21:16:38 EA closed the position when price was 13.80100, however position was closed at 13.93489. Any explanation