[Deleted]
Have noticed something weird with ArrayBSearch... Code snippet here: int OnStart(){ int arr[6] = { 1, 2, 2, 2, 2, 5 }; const int idx1 = ArrayBsearch(arr, 5, WHOLE_ARRAY, 0,...
[Deleted]
Hello, I was hoping someone could help me. This loop will only iterate 6 times when it should iterate 10. #property copyright "Copyright 2014, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" #property strict #property show_inputs...
I would like to run my EA at a predefined interval irrespective of when/ if the EA gets any new ticks from the server. I am trying something like this extern int _tick = 1;//+------------------------------------------------------------------+//| Start...
Dear users: Im trying to code an indicator that shows the MA and EMA of the Volume bars. I have managed to successfully code the SMA but with the EMA, Im getting some issues and I cannot advance. I have detected some stacks overflow also. Anyway below is my code and I dont think I have it good at
[Deleted]
Hi everyone, I could not find it, but if there is already a thread addressing this, please send me there. I am looking for a US Broker who will allow me to trade a large range of markets on the MT4 platform. I've been using a demo account through a broker called PipIndex, only to find out they...
Like the title, is it possible debug MQL4 code in backtest mode? Sometimes I need to test particular cases and I have no time to wait on real time. What I wish is a debugger to test step by step a code under particular conditions (i.e. when a varaible value is.. or when the time is >= ...).
Can anybody help me to design one very Simple EA.... Time Frame - H1 Script - EURUSD It will be a SAR system Based on PSAR Indicator.... Trade Qty will start from 1 as Capital grows to Double Qty should be double too.... Please help me
[Deleted]
Hello, is it possible to create a script, ea or something else which sets the stop-loss to the actual Parabolic SAR level? For example: Open a long position, the SAR shows at this point a short-signal but it doesn't matter because you set a -maybe- default stop-loss. At the point, the SAR switches...
Hey there, i found an indicator that got a weird problem at the code but i don't know what it is i would be glad if someone could help me with it so basically the problem is that when i drop this indicator on the chart or refreshing the chart the indicator will show false picture, but when i leave
[Deleted]
Hi, it happens on many products (equity indexes, commodities, currencies..). Click on Chart Window to get the chart and the error message about chart41.chr is retrieved: C:\Program Files (x86)\MT4 at easy-forex\profiles\Market Overview\chart41.chr was not found Is there anyone that could help me...
[Deleted]
This code used to work fine for me from March 2014 until now, then I went and compiled and tested it in a new build and this part of my code isn't working properly. //==============================// HTTP REQUEST ////==============================#define READURL_BUFFER_SIZE...
If I have A1[],A2[],A3[] variables and another integer i, is there the possibility, in mql4 programming, to use something like A&&i[] for A1[],A2[],...?For example:A1[1]=10;i=1;B=Ai[1]; (macro substitution)thanks
[Deleted]
Hello! Every optimization there is that log file created (...\MT4\...\\tester\logs). Is there a way to turn it off? I need to delete it before every new optimization test due there are already done test cycles skipped if I don´t. I export data to csv so I need to run every cycle. Thanks for any
[Deleted]
can any one help me what is the difference between Indicators and Expert Advisor..?
Hello, After this recent update, I am now unable to capture the call count from one instance of my MT4 terminal to relay it onto another MT4. Can you tell me what has changed in the update that causes this issue? Below is the code that continues to work fine with build 509 but not after this recent
The problem is I can't get the previous wave highest and lowest values. and also can get current wave values.
how many buffur may used in an indicator ? in updated MQL ?
Hi, Please help me with a script that will convert the following MT4 date to regular date i.e. day/month/year start_date=1388534400end_date=1415059200 many thanks
[Deleted]
Gday. I created an .ex4 file through IronFX EA builder. After generating the code in the program outputted as .ex4, it says I should place it in /expert and it shall pop up on my EA tab in navigator. Though its no where to be found... How do I solve this prob? Thx.
[Deleted]
Morning, i want to use a loop with different 2 variables. How does this work? for (int j; j >= 1 ; j--) && (int i; i >=1 ; i) { Formula[j,i] = (3*j+i*2) }
Hello everyone, I have seen a few threads where the code for once per bar trading is explained, but I am really new to programming so I can't fix it myself :/ Also, if someone could help me out with inputting a part of code for the size of a bar I would appreciate it as well, for example if the...
[Deleted]
Hi all, Is there a free way to get historical Rate info data from .NET (C#) application? Thanks,
[Deleted]
Morning I am a new member on mt4 On my chart I have 2 lines kevinator sell line and kevinator buy line What are this lines and how to trade with??? I have not enter indicator as Kevinator ?? Thanks Madrosat
Hi all. Trying to trade a breakdown of the morning flat on EURUSD and EURGBP. From 23 to 06 I am stretching the linear regression channel and setting targets at 161.8 pro Fib. Stop at the opposite end. The question is, are there any other pairs that have interesting narrowing ranges to trade? It is
Hi, can anybody tell me the software- hardware requirements? I haven't found them at metaquotes...
how to Stochastic indicators calculate? %D I don't undrestand.What is the meaning %D=100*(H3/L3) ?
(1)
%K = 100[(C - L10) / ( H10 - L10)] where C = last close, H10 is the highest high in 10 bars and L10 is the lowest low. %D is normally a three-period smoothed average of %K. %D = 100 x (H3/L3) where H3 is the three-period sum of (C- L10) and L3 is the three-period sum of ( H10-L10)
//+------------------------------------------------------------------+//| helebi.mq4 |//| Copyright 2014, MetaQuotes Software Corp. |//| https://www.mql5.com...
does MQL has memory arragement erros ? MT4 version below 600 accupy large memory and not release , after complain ,it is improved . 1/ i also find EA in visible test mode does not match the value designed in EA logicalrism ,ie, if rsi <20,then open buy order ,but ,in the visible mode chart...
Hi, I plot a line into a chart and then I execute a test-script. If the horizontal line is below the price it opens a market buy order and if the line is above the current price a sell market order is placed. Sometimes I get an error #130. I read about it and then I came to the conclusion that this...
[Deleted]
Hi, in https://www.mql5.com/en/articles/1540 a very nice approach is described how to work with files, which are not restricted to the directory locations as with MQL4 file functions. int _lopen(string path, int of); int _lcreat (string path, int attrib); int _llseek (int handle, int offset...
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.