MQL4 and MetaTrader 4 - page 207

Hi Everyone,good Day! I would like to track each operation that recorded in logs folder by mt4 automatically ,eg,open,close,delete and modify, the log looks like as below: 2016.06.22 15:39:32.699 '91500091': order #104610968 sell 0.02 EURNZDpro at 1.57727 closed due take-profit at price 1.57698...

Hi, One month ago I was able to do an walk forward analysis with the walk forward analyzer from easyexpertforex.com I was using build 950 at the time now one month later I am trying again to use this, but I can not get it working again :( When I try to load the settings file (.set) I get an message...

I am running version 5.00 Build 1342 of the Metaeditor. Much of the editing capability does not work and I do not understand why. Ctrl-A works properly and selects all of the lines of code and Ctrl-F does bring up the Find dialog box. But Ctrl-H does not work properly. When I press it no dialog box...

My customers started to update to release 971 and ran into many problems. The release is totally buggy and does not even allow to use most of the original MQ indicators out of the navigator, and does not allow to use most EAs. So if you did not update yet - DONT DO IT AT ALL! MetaQuotes knows this...

Hi anybody, when i send an order sellstop I meet a problem, not everytime, but often. I write log and in this, there is the bid price and my sellstop price: FlashTick;2016.06.21;18:30:32;short GDAXI;0.1;10030.9--10021.92;4107 In red, the bid price and in blue my sellstop price. I don't understand...

Hello every one, Since the spread is normally hight within 2 hours before market vlosing on friday and after 2 hours of market opening on monday. So i want my EA to auto close 2 hours before market vlosing and auto start 2 hours after the market opens. Kindly suggest code for this. Thanks.

Hi, long time I was not using MT4. Yesterday I released him and when starting the MT4 my PC froze. So I gave unistall it and I installed the new version. does not work. I tried to mount the MT5 well, but the same result. I tried Istal different versions, in different folders, even in the Virtual...

I am using below code to calculate lot size before opening order, but now I changed to ECN accout that has commission. Is it possible add commission to lot size calculation before order is open on a symbol? double lots = AccountBalance()*(RiskPercent/100.0)/(StopLoss*pipValue);

Hi, please, I use MT4 with pepperstone brooker When i launch a backtest with my real account on my laptop and the same backtest on demo account on another computer, i have not same results. i have not same data, is it the reason ? how can i have same data ? I always have to download them during...

Hi trying to transition to actual coding from modular interface - have managed to code long side OK, but have made a mistake somewhere with the sell function ... can anyone spot? Imagine it's a pretty simple/obvious mistake. I'm not getting any order send errors. Cheers. #define __STRATEGY_MAGIC...

Hi guys I am programming ea and now i have problem with settings stop loss and take profit. I want set them on the nearest pivot point from candle of which buy or sell was created. Thank you for your advices.

I want to declare an external integer variable for day and add it to a datetime variable, Is it possible? I need some code Like this, to get for example 10 days from an external variable an add it to my datetime variable. Should I first convert days to millisecond then add to datetime? how can I do...

When an object is CREATED by an indicator, it doesn't trigger OnChartEvent(). But when an object in DELETED by an indicator, it does. #property strict#property indicator_chart_windowint OnInit() { ChartSetInteger(0,CHART_EVENT_OBJECT_CREATE,true); ChartSetInteger(0,CHART_EVENT_OBJECT_DELETE...

I am a programmer in MQL4, i am still learning, i have some good indicators for 60 seconds Binary Options and would like to transform this signals into a EA (Robot) for Binary Options, i have no clue how to go arround this and i see no information in the internet. Do you use the same language mql4...

Hello, I should fix the arrow when the moving average crossed the fractal channel as written in code. The problem is that if you create another minimum on the first tick of the candle 0, the arrow is not present. How can I fix? Thank you if(iMA(NULL, PERIOD_CURRENT, MediaM_Periodo, 0, MODE_EMA,...

Hi, please, I just installed MT4 for Mac and i can not change speed in testing mode. Is there an issue ? it seems to work in very low speed, and certainy not at 32 . There is no cursor. Thanks for you future answers.

Sorry English is not my native language, i try to explain what i want to say as title, I think that is the data in Period_H4 don't have been updated (BUT PERIOD_M15 have updated), iMA(NULL,PERIOD_H4,13,8,MODE_EMA,PRICE_CLOSE,1) = > it should get the price of last candlestick (index 1) In fact, it...

Hi I have seen If two object crossed with each other then the cross section get white or in other color. Is there any way to avoid that? I don't want the white area, I want it to be full blue. How can I do that? One thing predicting object cross section are is not possible as its dynamic. Regards...

hello, I have another question for further growth in programming. I have this script that I need to connect to my indicator, every sgnale / Arrow script run one scrennshot. After studying the script I always get errors like I could solve? Thank you all P.S.: sorry for my English and my poor...

Hi community, for my EA, I need a function that is able to show the market value of SP500 when it opens and when it closes from the previous day. Does something like this exists and if not, what I assume since I didn't find anything, has anyone of you an idea how to solve this? Best regards...

I need help programming an EA that buys (OP_BUYSTOP) when a candle hits lower band that simultaneously sells (OP_SELLSTOP) also. #1 CONDITION. sells when a candle hits upper band, and also opens a simultaneous order that buys. #2 CONDITION. THANKS ALOT. David.

Hi, is there anyone who could tell me if is't possible, by coding, to modify the speed of the backtest ? I'd like to decrease it during open position in order to see better, and increase it after. But with code, not with the cursor.

Hi all I have been trying to get an Ea to run on a Renko chart and have had no success. Even when I run a one line code -----Print("Got Started"); it does not work The same line of code will print to Experts log on a regular time frame chart. Leads me to think that Ea's will not work on Renko charts...