I have done the Tools > Options > max bar history is set to 250000 and max bars in chart is set to 5000. I have also tried to refresh the chart, and even deleting the history file for the time frame of the particular pair. I also sometimes have gaps in my charts that also don't fill in, when I...
hi all my new in programming make exprit tow Stochastic the first Stochastic with trend the second Stochastic with price dispersion but i have problem open only one order sell or buy need fix problem every Cross Stochastic open order can anyone help me Thank
hello, ticket = OrderSelect(pos,SELECT_BY_POS,MODE_TRADES) I know if among open or pending orders at position pos if there is an order then ticket = TRUE. But in which case ticket = FALSE ?
#property strict; //This line on the top int X_1 = (int)ChartGetInteger(0, CHART_FIRST_VISIBLE_BAR)-1; int X_2 = (int)ChartGetInteger(0, CHART_VISIBLE_BARS)-2; int X_3 = X_1-X_2; int LowBarNumber = iLowest(Symbol(),Period(),MODE_LOW,X_2,X_3); int HighBarNumber = iHighest(Symbol()...
Hey, After downloading data from Tickstory (Duckascopy), EA won't run as it did before. It will NOT execute trades as it used to. I tried optimizing the EA but MT4 crashes (runs for a year). Can you help plz? Regards,
I am trying to write an EA but I have a problem. I want it to look at stochastic on multiple timeframes. So I wrote my "if" statement with two iStochastic sentences with 4h and daily chart selected. And with && between the two, but when I backtest I look at the Stochastic and it will buy before...
I am looking for a great book in learning mq4 programming where they also include a way to make nice graphics on the chart. A lot of EA's have nice boxes with information or input boxes on the screen. Is there any book teaching this or a website with easy to follow examples? Would be nice to learn a...
Hello.I want to remove martingale from my Ea because of drawdrown.Also I want to add TSA to it.But I couldn't.Could someone help me
Dear All I tried to calculate the pivot of last 3 years' range, ie the highest high, the lowest low of the last 3 years, and the closing price of the last year, then sum these 3 together and divided by 3. I got the code working, but the numerical result is wrong. Using euro as example, it should be
Hello All Need a little help with modifying an Indicator (Indicator Arrows) created by Ernst (https://www.mql5.com/en/code/12412). Firstly, a big shout out to Ernst for creating this gem! :) I don't have any coding experience with MQL5, hence seeking help. 1. It appears the Stochastic triggers a Buy...
Hi all, Please help me to recover the content of mail box on MT4 platform on iphone. I want to get demo platform credentials info on this mail box but it is being blank when i click on this feature. Do you know reason why? btw. I also tried to open additional account direct on MT4 platform on...
Hello ******* i have expert robot its work with 1 pip fixed spread 4 digits its cant work with ecn 5 digits because candels different in chart now if i request tecnology company to setup new mt4 with 1 pip fixed spread 4 digit ok now there is one problem How i can get the price live quotes...
Hi everyone, new to the forum and very new to programming - been mostly teaching myself by doing and reading a LOT of forum posts. Anyway, working on an EA which is based on a simple box breakout strategy - at a certain time, EA establishes high and low price over X bars and places buy stop and sell...
Hi, First a confession... I am not good at programming :-) I hope that someone can / will help me. I have some code to make Heiken Ashi Candles, now I would like to put a condition for 2 candles back. But I can't seem to get it right. Here is the Code: int OnCalculate(const int rates_total...
Hello, I would like to be assisted, my mt4 program uses English, I have an EA I would like to use but the EA's name is in Chines and has the preset as well. the problem I encounter is that the EA cannot be recognized by the mt4 until i change the name of the EA to English, in this case, the preset...
Hey guys, I need a reliable EA of auto setting-up TPSL on MT4. The one I'm using always change my SL unwantedly. Could you recommend one? Free or paid both ok. Cheers!
This code is about showing the % of the the body int candleclose(){ double open = iOpen(_Symbol,PERIOD_CURRENT,1); double high = iHigh(_Symbol,PERIOD_CURRENT,1); double low = iLow(_Symbol,PERIOD_CURRENT,1); double close = iClose(_Symbol,PERIOD_CURRENT,1); int range = int...
Hello, I've been researchin around the internet and i can't seem to find an EA that can do exactly what am looking for. So here is my request. I am currently trading on the GBPJPy on 4hr timeframe and according to statistical analysis, am setting my stop loss at 20 pips and take profit at 40 pips....
So I'm currently running 7 different MT4 terminals, on different accounts, with the same code, only with different parameters to try and optimise my strategy. I accidentally loaded the same parameters into 2 of those terminals, but couldn't be bothered to go and change it. I just assumed that I'd
hello i wrote a program with OrderSend().But this order isnt send correctly ( ticket <0 ) Can u tell from where is the error in this program : //+------------------------------------------------------------------+//| openTrades.mq4...
Hi there, let me start off by thanking everyone who is going to help me solve my problem and also everyone who does not. The indicator I am trying to code is fairly simple (from what I have been told, however since I have zero programming knowledge and all my attempts to code this indicator have...
Hi Im an advanced trader but just starting to get into Metatrader4. I followed several youtube videos on how to do a basic backtest on Metatrader and I can do all the steps required but then when I press Start my platform never seems to finish the test. It will run for forever for over half an hour...
Following on from my previous posts I am trying to get the first SAR EA I have written to show results. (For MT4) I have manged to get the default MA Indicators to work and show a result but the first one I wrote myself doesnt seem to be working. I followed this guys instructions on Youtube: https...
is it possible to make a single notification appear on my mql4 indicator set so that when you change an indicator, you only send me a note? the indicator I have programmed sends me a notification every second until the indicator changes. thank you so much
Hello, Here is the way i found on this forum to get the High and Low of the previous Year : // YEAR LEVELS double PREV_YEAR_HIGH = iHigh ( NULL , PERIOD_MN1 , iHighest ( NULL , PERIOD_MN1 , MODE_HIGH , 12 , Month ())); double PREV_YEAR_LOW = iLow ( NULL , PERIOD_MN1 , iLowest ( NULL , PERIOD_MN1
Is there anyone who can help? I want good reliable testing data for mt4 platform, 5 min gbp-usd 1,2,or 3 years back if possible, also eur-jpy, eur-usd, usd-jpy, eur-Gbp ? CSV history files, if anyone can help I will o u big time, I am sick of not trusting my results. Cheers Geoff
I'm trying to do my best to find a way to control client keys, without using DLL. So far the method I'm using, is I use a keygen script that uses AES256 then Base64 on a list of customer names, to create an array of 'serial' codes, and then publish that array to a directory on my website. Then when
Hi : It is possible to define a variable that contains a value for every bar and this variable is not set as an indicator. In another word, this is a kind of dynamic array and I want to store some data other than the indicator values. Thanks
When I am renaming a a chart object manually and the name already exits on the chart I get an a Journal entry: 2018.03.03 05:59:30.509 Objects Object name test is used already. But there is no visual or audible cue if the Journal tab is invisible, same is true for some other errors that are the...
Hi guys...I don't really know how to do this. Not even sure if it is possible... Problem description: 1)Draw a line from the start of today (day 0) till the end of tomorrow. -The issue I have is that there is no way to draw a line into the future (or I just don't know how). I don't want to use a...

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.