Hi This line of code in an EA in mql4 is giving No history data error; iHighest(mSymbol, mPeriod, MODE_HIGH, barsGroup, i); Reading up on https://docs.mql4.com/series/copyrates Is this the only way to fix it? Since CopyRate gets the data from the server into an array. But then do I have to make up
[Deleted]
Problem: appears that Terminal not seeing 12th symbol in history file header. Ref: F1/Userguide/Tools--History Center struct HistoryHeader has "char symbol[12]; //symbol name" ==================== I create .hst with 12ch symbol name. Looking at created .hst file "!TicksGBPUSD9.hst" you can see...
Hi All, Just want to share a Kijunsen line indicator. It is the part of Ichimoku system wich is used to confirm trend and as a Stop loss level. Ichimoku also has other lines and usually it makes the chart hard to read. more info about Ichimoku system: Ichimoku Kink Ichimoku Kinko Hyo - Oscillators -
as we know that RSI=100*RS/(1+RS) or RSI=100-100/(1+RS) and RS=A/BA is the average of the summary of price raises (base on close price)B is the average of the summary of price falls (base on close price) so if we want to get 'A' of above we should do as double f(double x){ return
example signal.txt EURUSD ;BUY;10;100;100 how to make robot / EA to execute the order? thank you
B"H Hello, The "SendMail" function allows mail-sending to a single pre-defined recipient. How can I send a certain message to several email addresses? Thanks, Simha
[Deleted]
I like to send an html formated email with attachment from MQL, how to do that? is there any external dll to do this?
There are three trading sessions by GMT Asian session start from 21-23 GMT to 7-8GMT. UK session start from 7-8GMT to 12GMT US session start from 12GMT to 21GMT. If want to trade only from UK session start to US session end time ,How code in mql4. Please give me some examples.I found many samples
can any one share the Support and resistance level Line for mt4 code to here , Thank you
I'm looking for some good educational resources besides this forum for learning how to code with MQL4. My ultimate goal is to create an EA that uses a currency strength meter and a stochastics oscillator to place trades. I'm making some good progress in making one, however I'm hitting some walls and...
Hi. With regards to the West Texas Oil / WTICOUSD trading symbol. In the Oanda MT4 Client, in the New Order Dialog Box. How much is 1.00 Volume position size equivalent to in Cash? If someone also knows of a calculator for figuring out how much volume is equivalent in position/cash size for all the
Hi I have this oscillator coded in pine script (tradingview.com) As you see I have 4 horizontal lines that dictates 4 different levels of some of my calculations, and beside that i have three dots that shows different conditions I am looking for. How to achieve these shifted lines forward (each one
Hay Everybody, I am using MT4.my question is: how can i compare two symbols on the same chart window, for example , I want to compare XAU/USD monthly chart with the the Dow30 monthly chart as well
Hello everyone, There are countless functions in MSDN that are amazing and can help developers create creative and beautiful programs but the problem is there are no documentations on how to actually use those C++ functions in MQL4. I'd like your help in discovering how to implement them into MQL4/5...
Hello, i have a problem at mt4, when i open the program it open on code base tab, not on Trade tab, how to make trade tab is the default when opening mt4
Hello Guys. am new and i need your help. i wrote an EA using Candlestick open and close to take a Buy or Sell trade. And it was working fine. then i tried working with "error functions" and everything went wrong my Comment, cant display on terminal screen, the E takes trade on random not following
Apologies if this has been covered before. I am looking to ascertain the values of an indicator. I get that the value changes with each tick, but I need to see the value changes over the whole bar. Any help would be appreciated, especially pointing me in the direction of threads where this may have
Hi, I've been told that MT4 can only support 16 order threads. Is it true ? How can I verify this limtation, technically ? Thanks
Hello all, I want to send emails - if position close I want to send what is the profit and if the position open I want to send what is the takeprofit and stoploss What I need to write on the if statment? Thanks
Hello, I have problem when I want to delete all objects from chart with names begining at "AT_". Only several of them are deleted, always the same are leving on the chart. I cheked names, all are correct and all objects are finded but not deleted. Any idea? void DeleteAllObjects() { int
Hello everyone, I am looking for a way to send trades from mt4 to binary.com. Website offers API. But i cant understand how to send properly WebRequest. Or even how to communicate with this API. Or I must use some WinApi? Can you please, explain or at least give an example of communication with that...
[Deleted]
Hello everyone here, I am new to the Forex field. I would like to know how I can do a backtest report like a screenshot attached ?? When I do the backtest on MT4 platform I don't get like a screenshot attached but I get a different look. Please clarify regarding this. Thank you in advance
Hi, I wanted to code a script which changes the chart-mode (line, bars, candles) of all open charts. When dragging the script into a chart I want to choose the chart-mode with a pulldown-menu. But I don't know how to use the ENUM_CHART_MODE correctly. Can somebody please help me? #property
[Deleted]
I'm trying to create an EA based on change in direction of a moving average. ActuallyI have written the code, but it doesn't trade when I backtest it. It should createa BUY when the MA changes direction from negative to positive and a SELL when itchanges from positive to negative. It should also...
Hi everybody, I am on Mac and I was looking to install a few EA's into my trading account. I found that when I go to login to MQL5 through the tools and community tab on MT4 it does nothing, I click ok and it just closes me out. I'm not sure if the problem is occurring because I am on Mac or not
Good day, is there any library or anyone knows how we can make Sub-Charts with regards by using mql4. I notice in mql5 there is an include file that we can utilise to make them, however not available in mql4. How do we make Sub-Charts on mt4
//+------------------------------------------------------------------+//| VolumeQuestion.mq4 |//| Copyright 2019, MetaQuotes Software Corp. |//| https://www.mql5.com
I have this good indicator that is based on MACD, moving average and Ichimoku. The problem is it only sends "Sell" signals and doesnt send "buy" signals. What can be the problem. Please have a look at the attached
Hi, We are not aware of what kind of objects can be drawn by user on the chart manually. Let's assume sometimes we need to copy some of them. Because they are in different types so we have to say if it was a vertical line get the time1 , thickness, color etc. If it was a rectangle get price 1 and 2
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.