Samuel Manoel De Souza / Publications
Articles
Canvas based indicators: Filling channels with transparency for MetaTrader 5
In this article I'll introduce a method for creating custom indicators whose drawings are made using the class CCanvas from standard library and see charts properties for coordinates conversion. I'll approach specially indicators which need to fill the area between two lines using transparency
Exploring options for creating multicolored candlesticks for MetaTrader 5
In this article I will address the possibilities of creating customized indicators with candlesticks, pointing out their advantages and disadvantages
Forum
Connect to FTP server.
class FTP { string m_url, m_user, m_pass; int m_inet; int m_session; public : FTP( string url, string user, string pass) : m_url(url), m_user(user), m_pass(pass) {} ~FTP( void ) {} bool
TimeTradeServer
How to get similar result to TimeTradeServer in mql4? I need handle day changes but without using TimeCurrent or the time of bar opening I would like to know the server time if possible
Placing and delete orders is taking a huge time.
Does anyone has already experienced some issue on order fills and has discovered how to fix his issue? My ping is 22ms, usually the orders ares placed in 33-40ms. But randomly it takes 160,300,500 ms, to place or delete orders. I have an indicator in the chart and i can't share it, not even would be
Closed Market
How to verify if the market is closed. What's the function
ObjectSetInteger changing the candles color
Good afternoon. I'm using the ObjectSetInteger function to change OBJPROP_BGCOLOR from an array of OBJ_EDIT, however it's changing the color of the candle. If I change the OBJPROP_BORDERCOLOR property, for example, it does not affect the candles. This started to occur after the last TERMINAL
DRAW_COLOR_LINE in MT4
How to change the moving average color parameter in MT4? In MT5 we have DRAW_COLOR_LINE that allows the simple creation of a colorable average, but in MT4 only has DRAW_LINE
Sorting graphic objects
Is there any property or constant that stores the order of creation of the graphical objects and that I can change the order in which the objects are superimposed? Or some way to get the handle of the object to recreate it
Color Index to color
In indicators we can define a color as the property of the plotted indicator. How can I make color indexes to use in a graphic object
Times and Sales
How to get info from times and sales? I know that has MarketBookGet() for the market depth, but not for times and sales
How to get the pointer of an object by name?
How to get the pointer of an object by name? I created a local object in a function using the new operator and added it to a CObject array declared in global scope. Now in another function I want to get the pointer of that object by the object name. Is there a function that will do this or will I