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

Market Rule II - 16 / Does it include paid promotions on youtube or google?

The rule II-16 says: "The Seller shall not use spam to promote Products on the Market both on www.mql5.com website and via third-party services. Upon detection of spam, the Seller's account will be blocked and all his or her Products will be removed from the Market." Does it include promotion of

Warning! ArrayInitialize is not working properly on build 5100

I have a program that was working fine before update. After recompile on version 5100 it behaved as if never there was a 0 in the array. The problem was ArrayInitialize function . After replace it by ArrayFill it works correctly again. Hope it will be fixed in next updates because many indicators

Utility published as Indicator or EA

If i publish a utility where the file is compiled as Indicator, would be possible to submit it compiled as EA in future updates, for example if i decide to add trading functionalities? So users can use other EAs while the utility does not provide trading functionalities yet. I was figuring if the

Risk Management and Account Protection

What do you guys considerer essential in risk management and account protection? Anything other them, auto flattening by time / loss / profit, max trade count, max loss sequence, daily profit protection using trailing features, maximum open trades count, maximum open risk

Options of edit comments on products removed?

I replied to a comment in a product and seconds later tried to append a frase to my reply. When i pressed the button confirm the changes i was drived to a page saying "not enough rights to view this page". Now i see that the edit button no longer appear in the comments section. Then a just added a

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