Wemerson Guimaraes
Wemerson Guimaraes
  • Information
8+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Wemerson Guimaraes
Added topic StringFormat hex output parameters... how to convert from hex to uchar or string
Hi... i am looking at documentation of CryptEncode function and there are a good example code... there are a function ArrayToEx that converts a uchar array to a Hexadecimal string... using StringFormat and "%.2X" as the output parameter. Well, i need
Wemerson Guimaraes
Added topic Can a broker change an asset stop level? [SOLVED]
Hi all. The Stop Level of an asset can change by broker or it's every the same ? If i use the   MarketInfo(_Symbol, MODE_STOPLEVEL)   function to get the current stop level, i need to use it: Just one time, in initialization function (
Wemerson Guimaraes
Added topic Loading remote URL via Wininet.dll... how to detect HTTP errors ?
Hi.. Below is my ReadUrl()   function  to read remote http sites... and works fine! But it only works with valid valid content.  If an error occurs(404, 500, etc) there is no solution so far. So i need to detect HTTP errors. Anyone
Wemerson Guimaraes
Added topic How can i make my own function, that accepts parameters in sequence?
Hi all.   How can i make my own function, that accepts parameters in sequence?   Like this :   int filehandle=FileOpen(filename, FILE_READ|FILE_WRITE|FILE_CSV ); 
Wemerson Guimaraes
Added topic How can i avoid ERR_TRADE_TIMEOUT on OrderSend ?
Hi...   Houston, we have a problem! lol How can i avoid problems with error 128 on OrderSend ? On this code... i am opening a first order, and next order is opened as a Pending SELLSTOP/BUYSTOP order  ... But, only if there is at least one
Wemerson Guimaraes
Added topic Need help to calculate Lot Size from a Fixed Value Risk, Stop Loss and Broker Commission
Hi all. I need to calculate the lot size based on a fixed amount of the account base currency and a StopLoss. But I need to remove the amount charged by the commission on ECN brokers. For EURUSD 5 Digit works fine... but  not for other pair like
Wemerson Guimaraes
Added topic Does anyone know how to use the GetSystemTime() function from kernel32.dll ?
Hello guys.   I need to change the computer clock to the broker time automatically.  I now i  has to import kernel32.dll and use SetSystemTime function , but don't know about the parameters of this function.  Does anyone know how
Wemerson Guimaraes
Added topic #resource "\\path\\to\\bitmap" not embed bitmap when compile
Hi, i am trying to compile an expert with bitmap embeded... but not works! As it's writed on the docs at  https://docs.mql4.com/runtime/resources#resource_include  i need to declare my resource using the command  #resource  to
Wemerson Guimaraes
Added topic Need to create Bitmap Object, but help documentation BitmapCreate function no works!
Hi. I am trying to create an Bitmap Object using  BitmapCreate function of mql4 hqlp documentation... but nothing happens... can you help me?   //+------------------------------------------------------------------+ //| Create a bitmap in
Wemerson Guimaraes
Added topic OBJPROP_BORDER_COLOR does not changes OBJ_RECTANGLE_LABEL border color
Hi. I am trying to change the colors of an object, but the OBJPROP_BORDER_COLOR not chages...  If i try to change the Background color, works : ObjectSetInteger ( 0 , "my_rect_label" , OBJPROP_BGCOLOR , clrGreen );   But, when try to change
Wemerson Guimaraes
Added topic How can i put objects in front all graphic elements ?
Hello. I am creating some label objects , and need to put them in front all elements on the graphic window... but not works. Is there any specific property for that?       My code:  void DrawBoxInformation( bool fixed= false ){
Wemerson Guimaraes
Added topic There are a way to open orders in asynchronous mode in MQL4 ?
Hi guys There are any way to Open orders in MQL4 in asynchronous mode like MQL5 function  OrderSendAsync
Wemerson Guimaraes
Added topic Anyone know how to develop a multicurrency indicator ?
Anyone know how to develop a multicurrency indicator ? I want to choose BETWEEN 1 to 10 different currencies and 5 bars for each currency.   But i don't know how to do this
Wemerson Guimaraes
Added topic Limit to one order per candle and max orders allowed... Not working!
Hi... I need to limit number of opened orders in an asset AND limit one order per candle too. See my code... it's allowing more than one orders per candle. I fixed it to allow 2 orders, but only one per candle: input bool LimitBar= true ; // Limitar
Wemerson Guimaraes
Added topic How can i avoid error 132 MARKET IS CLOSE when opening an order ?
Hi,  How can i avoid error 132 MARKET IS CLOSE when opening an order ? I need to check if market is closed before opening an order
Wemerson Guimaraes
Added topic There are internationalization options in MQL4?
Hi,   There are internationalization options to make the comments on the parameters, and of course, the messages run in the OS language?    Example : Need to make the default language at english, and change it according to the
Wemerson Guimaraes
Added topic EA can add indicator on window ?
Hello. At the end of backtest , metatrader add all indicators used by an expert on window... but i need to add them at the start of backtest. There are any way to make it using mq4 inside an Expert ? 
Wemerson Guimaraes
Added topic How can i show all results from Optimized Test?
hello.   There is any way to show all results from optimized tests ? Including the omitted tests ?   Example: Lets try a test that has 100 combinatios... but only 80 where displayed, and 20 testes where discarded.   I need to show
Wemerson Guimaraes
Added topic How can i save file in IsTesting() mode?
Hi guys.   There are any way to save files on the Strategy Tester ?   I try to save a report file after a test... at OnDeinit function but only works if running in Live mode... on backtest nothing saves
Wemerson Guimaraes
Added topic How to move an Label Object to the Current Price position?
Hi, i need to move an label object to the current price position but not works... please see the code:   int OnInit (){       if ( ObjectFind ( "MyLabel" ) == - 1 )        ObjectCreate ( 0
123