Forum

EA stopped because of Stop Out

I receive this message in journal running testing: 2006.04.18 23 : 25 : 51 2006.03.23 16 : 11 MarcosMacedo stopped because of Stop Out What does it means

How to call a custom indicator inside an expert ?

How to call a custom indicator inside an expert ? take by example the zigzag indicador

composite types

Does mql has any support for composite types like c struct, pascal record, or even a class

Drawing in Test mode

Is there a way to enable drawing during Test, like it is done in RealTime, showing buy, sell and other signals

parameter passed by reference behavior

I would like to implement a library function that can modify a given value passed as parameter. This is a Test Case for what i am looking for: void modify_double ( double value ) { value = value + 1 ; } int start () { static double mydouble ; mydouble = 1 ; Print ( " Mydouble: " , mydouble ) ;

History restore

Ok, i have downloaded the 2 years history of EURUSD1 (1 minute) and wanna restore from 1 minute the 5min, 15min, 30 min, 1H and 4H. I have a look at period_converter but its a lot confusing. How can generate a EURUSD5, EURUSD15, EURUSD30, EURUSD60, EURUSD240 files so i can import using the History

TradePool messing things

I have a function that closes all the trades opened in a buy or sell position, here it is: http://rafb.net/paste/results/jhCL1M85.html When running testing i got thinks really weird like you can see in log line 39 and 40 when the position have his OrderSymbol() equals "", then when forced to close

Odd comparing two doubles

I have a function that tries to filter orders that is already placed in a given price. That's the code: http://rafb.net/paste/results/LkIdWE39.html and That's the log using the Tester: http://rafb.net/paste/results/kmOPLb73.html I can't figure out why in log line 93 its returning the comparision of