Forum

Problems with backtesting

Good morning , running a backtesting i have the error "TestGenerator: unmatched data error (high value 1.20545 at 2015.01.02 09:00 and price 1.20593 mismatched)" Can anyone clarify this error ?. Thanks

About EventTimer

It can handle 2 or more EventTimer in a single EA ?. Thank you

Problem with Filedelete

Can anyone help me? , When trying to delete a file I get the error 4100 ( Some File Error). Below you can see the code I use . Thank you. int handle_input; string file_name="operaciones_file.csv"; //+------------------------------------------------------------------+ //| expert start function |

Problems with conversión

Good morning , I have a little problem, and I need help ... I have two variables int a = 09; int b = 05 ; I need to concatenate these two variables for what do I convert a string and concatenation, the result is 95 ( I lose the leading 0 ) then turn back to Integer and I need to make a comparison

Help with a conversion

Please i need help with a conversion , I have the following code string simbol = "AUDJPY"; double diferenc; double alto = 102.913; double bajo = 101.311; int resul = 70; double diferenc_H_L; //+------------------------------------------------------------------+ //| expert start function

Problem with an OP_BUYSTOP

Good morning , I have a problem opening a OP_BUYSTOP order , I've tried almost everything ... I looked in the forum ... but I can not find a similar problem who can help me , please ask if anyone can help . .. I have the piece of code below happened , when I calculated the OrderSend with Price ( and

Historical Orders

Good morning , I wanted to ask a question does anyone know how to get historical orders Metatrader 4 in an Excel file type or . Txt to discuss the results ? . thanks

Query about EMA's

Good morning , I wanted to make a query, to calculate with precision the best moving averages crossing , Known to ma_method is more efficient or accurate between MODE_SMA , MODE_EMA , MODE_SMMA or MODE_LWMA ? , What is more efficient applied_price between PRICE_CLOSE , PRICE_OPEN , PRICE_HIGH

Multiply by -1

I want to multiply a variable by -1 ( minus 1) , to pass the value from negative to positive ... variable1 = variable2 * -1 ; but I get a compilation error ( unexpected token ) , is there another way to do this ? . Thank you

MACD indicator

Good afternoon , I'm using MT4 and specifically I like to use the MACD indicator ( among others ) , but need a clarification ... someone could explain that mean and how numbers are calculated (sometimes positive , sometimes negative ) , appearing on the MACD when you put your mouse over one of the