Forum

Associative array / map / dictionary data structure with MQL4

Hello, I'm looking for an associative array with MQL4 (also called map or dictionary) http://en.wikipedia.org/wiki/Associative_array This is a really useful collection (abstract data type) but I don't see it "out of the box" Is there someone here who ever implement this (with hash table) ? Kind

Spread history indicator

Hello, I would to know if it's possible to have a spread history indicator (not current spread). In fact I wonder if MetaTrader save both bid and ask value in history. Regards

CMoneyFixedLot::ValidationSettings - Using micro-lots = 0.01 lots

Hello, I would like to make an expert advisor.. this is my first try.... but I want this EA work with small account... so micro-lots are needed When I try to run the EA I get this message 2011.10.26 12:21:01 MyFirstEA (EURUSD,M15) CMoneyFixedLot::ValidationSettings: lots amount must be in the