Hello All Since couple of days I have extremely strange issue with my EA its constantly getting error 134 and I have no clue where and why this is happening. Little background info about it may be useful. Im building this EA for may be 6 months for the last 2 is in forward testing in demo account...
[Deleted]
Hello Coders , This is my first time here on this forum . I needed a little bit help and suggestion from u awesome guys. I am unable to solve this puzzle that how can i set max number of trades . I know that is easy but here a situation is a little bit different . I want to set max number of trades...
[Deleted]
hello, i hav ebuild a simple strategy tester, but I can't figure out why the stop loss limits are simply not executed in the strategy tester. the take profit limit in contrary is being executed....
[Deleted]
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...
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...
How communicate with MT4 from DLL in c#? (USDCHF) MT4 ^ | v (USDCHF) MT4 <--> Dll C# <--> MT4 (GBPUSD) ^...
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...
[Deleted]
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.
[Deleted]
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...
What is migilior method : 1 ) Recognizing a long-term trend ( 1 hr and up)2 ) Recognize a short-term trend ( 1 hr in down)
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...
[Deleted]
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.
[Deleted]
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...
[Deleted]
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...
[Deleted]
How can i open a position with known dollar value? Let say i want to trade AUD/CAD or AAPL, or any other asset, and i want to open position which value is 100$. How can i do this in mql4? Thanks.
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. Why this simple code (attached) doesn't work with takeproft and stoploss below 7 pips?
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...
Hello everyone, it is possible to obtain the moving average no repaint? By working with well-known moving average that in the historical shifts and is no longer true as I could solve? //+------------------------------------------------------------------+ //|
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...
[Deleted]
im having trouble finding the functions that allows me to report number of trades and profit the way i have these other varibles displaying Comment(StringConcatenate("\nCopyright © 2015, Jasper\nViolentPips EA v1.0 is running.", "\nMomentum delta : ",c...
Hi, please, can you tell me if spread is always the same during a backtest or if it changes like in real ? in memory with archived data?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.