Forum

How to calculate the last 3 Renko bars via code / mq4?

Hi, Title says it all, I need to calculate the last 3 Renko bars (along with their time when bar started) via code / mq4, but I have absolutely no clue how to do that. Anyone please? Thanks in advance

Time to require a live account for all EA being sold on mql5 market?

Hi all, Everyone knows that many EAs currently sold on mql5 market are either scams or only works on demo accounts . May be it's time that MetaQuotes requires for each EA (being sold on the market) a live verifiable account, before publishing it on the mql5 market. I'm not even sure if this is

[Invalid Volume] error!!!

Hey guys, I'm trying to run this very simple EA (written in mql5), but for some reason I always get this error: 2016.04.15 02:00:00.573 2012.10.05 07:17:59 CTrade::OrderSend: instant buy 0.01 NZDCAD at 0.80842 tp: 0.81842 [ invalid volume ] EA is really very simple, I googled a lot (in vain)

Launch object properties if user used the middle button to click on the object

void OnChartEvent ( const int id, const long &lparam, const double &dparam, const string &sparam) { if (id == CHARTEVENT_OBJECT_CLICK ) { Print ( "The mouse has been clicked on the object with name '" + sparam + "'" ); //