Forum

CTrade class is buying with a random price. Why?

I coded my EA to buy this way: bool buyNow() { Print ( "*************************** PRICE: " , this .form.price); return ckErro(cTrade.Buy( this .form.vol, this .form.name, this .form.price, this .form.stopLoss), "MyClass.buyNow " , this .sBoleta); } But Metatrader is buying

How to detect a new bar in RENKO chart?

Hi there! How to detect a new bar in RENKO chart? How to programming this in MQL5 to Metatrader 5? Thank you. -- Cristiano Magalhaes

Metatrader 5 is generating "Blue Screen of Death"

Hello guys! When I use Metatrader 5's strategy tester optimizer, the program is generating a "Blue screen of death" Windows error screen. The problem happens on my Windows 7 PC (Intel i5 processor) and on my Windows 8 PC (Intel i7 processor). Both with 16MB of RAM memory. Has anyone here already