Forum

is it possibile change the swap of Metatrader ?

is it possibile change the swap? I can change the spread with a spreadchanger but the swap? I would like to metatrader offline to obtain the same results in backtesting (same data, spread,mswaps) in different pc. Thank's

_lwrite: add new record in the end

Hello guys, i used the function in object for have this result: StopLoss_MR= 20.00000000 StopLoss_MR,F= 1 StopLoss_MR, 1 = 20.00000000 StopLoss_MR, 2 = 1.00000000 StopLoss_MR, 3 = 25.00000000 but i have this: StopLoss_MR= 20.00000000 StopLoss_MR,F= 1 StopLoss_MR, 1 = 20.00000000 StopLoss_MR, 2 =

file.set memory in to arry

Hello guys, i have this problem, i would memory in to array this file set (but only the default value for all variable): StopLoss_MR=20.00000000 StopLoss_MR,F=1 StopLoss_MR,1=20.00000000 StopLoss_MR,2=1.00000000 StopLoss_MR,3=25.00000000 StartHour_MR=1 StartHour_MR,F=0 StartHour_MR,1=1

FileOpen of set file

Hi guys, i try to read a file .set: string PathTester_set_2 = TerminalPath ()+ "\\experts\files\\EURUSD_MR_10.SET" Copy_set= FileOpen (PathTester_set_2, FILE_READ , ';' ); but i have this error: I need to say if the file EURUSD_MR_10.SET exist.... Please help. Thank's

Automated Optimization procedure EA using library ?

hello guys! I have read this interesting article : https://www.mql5.com/en/code/10360 Automated process of backesting using a library . Is there something similar for optimization ? I need to repeat the process of optimizing an EA for different periods and collect all the results of optimization in

Convert Array double to char ?

Hi, I need to convert array double to char, how can I do? DoubleToStr ? Thank you

Ceck if the terminal.exe running or close

Hello guys, how can I check if terminale.exe runnig or not ? I tested by ShellExecuteA but :-( Thank's

EA DTosc ... sorry!

Hello everybody, Sorry but i m newbie... I would like to create a simple EA based indicator Dtosc: BUY cross <30 SELL cross >70 I start with indicator but I can't turn it into an EA. Please, can someone kindly show me what are the first steps? This is wrong: if (SD > SK ) { Opn_B=true; } if (SD <