stanislass
stanislass
stanislass
Added topic AccountFreeMarginCheck...?
Hello I cannot find in MQL5 an equivalent to "AccountFreeMarginCheck ()" from MQL4. Where should I look ? Ideas ? Thank
stanislass
Added topic 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)
stanislass
Added topic 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 ()));  
stanislass
Added topic 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
stanislass
Added topic 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
stanislass
Added topic 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
stanislass
Added topic 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
stanislass
Added topic 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
stanislass
Added topic 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
stanislass
Added topic 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
stanislass
Added topic OnInit() and Optimization()
Hello In "OnInit ()" I house the static part of the display of an EA to avoid refreshing it with each tick. To accelerate the optimization I use "IsOptimization ()" to display nothing. I do not notice any difference of time between with and without
stanislass
Added topic holes in the indicator
I try to create a two-tone Bollinger following phases. It is no doubt very simple but I can not find why when changing colors there are holes ...   //+------------------------------------------------------------------+ //| Bollinger Phases
stanislass
Added topic input by default
Hello I want this EA launches with default with Type = NO_ORDER, but each time it launches with the last parameter used. Is it possible? Thank you #property copyright "Copyright 2014, MetaQuotes Software Corp." #property link
stanislass
Added topic tester...
hello everyone In MT4 In the tester is it possible to automatically eliminate some tests optimization? For example: In an EA I have the option to use (true) or not (false) the parameter "traillingstop." With TS = true, the tester evaluates the
stanislass
Added topic ArraySort() my love!!!
Excuse my bad English. I have a problem with ArraySort(). I used it to classify a basket of orders before closing. Rarely, but from time to time I take a "Invalid ticket for OrderClose function ". If I do not class them, I is never this error. I
stanislass
Registered at MQL5.community