Forum

AccountFreeMarginCheck...?

Hello I cannot find in MQL5 an equivalent to "AccountFreeMarginCheck ()" from MQL4. Where should I look ? Ideas ? Thank

BT mt5

We are constantly touted the many advantages of MT5. But in practice only the backtest is higher than MT4. No need to deal with the histories, it is done automatically. Possibility to test multi-pair EAs. Ho wonder! But voila, if on multipair (28) is it to finally get that ??? All in all, "it was

Oh time suspend your flight!

Time Current () and StringToTime () send me the same thing. What is the mistake ??? Print ( "CloseTime:" + HistoryDealGetInteger (ticket, DEAL_TIME )+ " Time current:" + TimeCurrent ()+ " Time Convert:" + StringToTime ( TimeCurrent ()));

Close Price

Hello everyone I want to know at what price has closed an order. There is HistoryDealGetDouble (ticket, DEAL_PROFIT ) which provided the profit, HistoryDealGetDouble (ticket, DEAL_PRICE) which provided the opening price but surprisingly, I do not see anything for the closing price. Have I missed

Bollinger and Buffer

With this code I always get in BOLL_U and BOLL_L the values of the average of the Bollinger, buffer 0 according to the doc, whereas I specify that I want upper, buffer 1 according to the doc, and lower, buffer 2 according to the doc. What did I not understand? double

MQL5 indics

Hello everyone I start porting an MQL4 EA to MQL5. It is a multipair EA, running 28. It uses 4 indicators. For the use of these, is it better to create the handles once in OnInit () in a table 28X4 or is it possible to create them in OnTicks () on the fly before using them? Will it create a

RefreshRates...

Hello I read in doc Mql4 that RefreshRates () updates the data of the current symbol. I understand: the data of the symbol of the card to which is attached the EA. (?) In this case, for a multi-pair EA, how to refresh the data of other pairs? Or I'm wrong? Thank you for your answers

notification Androide

Hello I receive on my smartphone Androide notifications only wifi, never 4g. As soon as I connect to Wifi, all MT4 notifications arrive together. The notifications of other apps, Gmail, Whatsapps etc ... work in Wifi and 4g without problem. I configured in MT4 settings Android Message> automatic

type conversion...

Hello Why in a multi-pair EA this: take= NormalizeDouble ( MarketInfo (pairmajeur, MODE_ASK )+Take* MarketInfo (pairmajeur, MODE_POINT ), MarketInfo (pairmajeur, MODE_DIGITS )); Gives me an error "" possible loss of data due to type conversion Malibu.mq4 426 111". (111= MarketInfo (pairmajeur

iClose return 0 ???

On my Pc W7 pro this code runs without problem. On a VPS W2008R2 it causes a " zero divide ". Even broker, account different. How would it be possible that "iClose (pair [i], FastUnit, FastNumb-1" return zero? #property copyright "Copyright 2015, JLF" #property link "https://www.rototo.com"