Download MetaTrader 5

MQL4 and MetaTrader 4 - page 557

To post a new topic, please log in or register
Hello guys. I wanted to ask you if there is any function or somebody has any idea to determine the index of last formed fractal in a bar chart. If I refer to ifractal() I can determine the price but not the index. Thanks in advance.
Hello! Im currently using MT4 with a few tabs on different pairs and have saved & renamed them as "xxx" profile. 1) Would like to know how to transfer this "xxx" profile to another new computer. (just in case this current HDD - harddisk gives up on me) Supposing it can be done, 2) Will the...
FXDD or GO Markets provide MT4 sofware that can open many trading windows, so a trader can trade more than one accounts at the same time on the same terminal. Forex.com.uk doesn't, you can not open the second trading window, if you want to trade your 2 accounts (both are at Forex.com) at the same...
Hello all, I'm new. You can tell that I'm new, right? Please to meet you all. My, it's a hundred years too early for me to appear before all of you wise folks, but here I am, wishing to ask a burning question, so if I may... "Programming in MQL4 is fun, but can you, one day, rest your ballooning...
Hi all what is the command to have only 4 digits after the decimal when working with mt4excel ? for example if we devide 1.2967 / 3 = 0.4322333333333333 i want just 4 digits in the cell 0.4322 after the decimal Thanks in advanced
I'm new to MQL4 and want to learn to write my own EA. I want to download the book that is on this site: https://book.mql4.com/ but the download is no longer available. Can that be made available somehow?
The documentation says: double myindicator = iCustom(Symbol(), int timeframe,.....); In myindicator there exist : iMA(Symbol(), Period_H1,...) iMA(Symbol(), Period_M15,...) etc. What timeframe should I take for myindicator ? What happens, if I take the wrong timeframe ?
Hi all ... It's easy enough to create a horizontal line, but I would like to add the ability to drag and drop the line into a new position on the chart and return it's position. I'm wish to use the returned value as a stop loss value. Any ideas? Regards ... G-fer.
Hello : I have a problem. When I open my MT4 platform, I get a pop up MetaTrader 4 LiveUpdate window saying there is a liveupdate 4.00 (build 438). When I try downloading this MT4 4.00 build 438, my anti-virus software alerts me that Gen:Heur.Zygug.4 virus has been detected and the terminal...
Hi This is my first post and I can see that this is a vast community with a lot of resources. I'm looking to find or create a template that can actively show my active trades with PnL for each trade and the total PnL for all trades instead of using the standard terminal from meta trader I would like...
Hi, I want to write a routine to make buy/sell decisions based on: - Current price for EUR/USD and USD/CHF - Min and Max of these pairs over the last 24 hours I prefer to do this in Excel as I know it quite well. Is there a MT4 function I can use in Excel which will give me the min and max of a...
Let's say I want to setup an alert based on whether an indicator (like RSI), rises above a certain level? Can I do that and if yes, how?
Hello forum. I have been having problems with MetaQuotes Language Editor, in that when I copy code to paste elsewhere, it shuts down (The editor part of the program, but not metatrader4) Extremely annoying and time consuming and does not happen when I use my laptop. I tried installing new versions...
does anyone have short term volume and price oscillator (SVAPO) indicator. Please write / share code file for this indicator. code for amibroker is given here. also i can share metastock & tradestation code for this // input parametersPeriod = Param("SVAPO period", 8, 2, 20, 1 );CutOff = Param("Min....
Im currently trying to fix an EA of mine that Hedges EURJPY with EURUSD using Correlation the correlation is below a certain level and opens a BUY and SELL trade of the two pairs using two different lot sizes it will close the trades once a 1% profit has been reached, usally with one trade in loss...
I want that EA do what is atached Someone who can help me?
I have seen quite a few articles on determining the difference between GMT and local time, but I need to include into my EA the difference between GMT and broker time. I need my EA to course correct itself when encountering DST changes, different brokers, etc. Can someone help me in determing what...
I started coding just several months ago and so have little experience. Query 1: In programs that some index is used (called) many times at anywhere, we can create either a function or a global variable to calculate that index. Please advise me if a function or a global var is better for speed of...
arrows not showing multi time frame.
Hi, When I use Oanda MT4 practice account, When I change TakeProfit using "ordermodify", I found that magicnumber has been changed also. The conditions are : 1. Open sell order only. This bug will not occur on open buy order. 2. new takeprofit value is very close to old takeprofit value, such as...
Hello forum, hope you might help me with this. I put together and indicator that basically showed me in histogram form on separate chart window where a moving average (properties variable) was in relation to a fixed Bollinger Band of 1 standard deviation wide. This worked fine, but I thought it...
Hello forum, I have put a similar post to this on the forum previously, but still struggling to understand "Lookback" function and whether it is actually what I want to use anyway. If I want to have as part of a condition that the close price must have been higher than a moving average at least once...
Another one of my many ideas. I've gone through too many ideas but like every experienced trader, just by reading or seeing a strategy you quickly come to know if a strategy has legs and decide to spend time on it. Is it possible to automate this? Its an easy question but not so easy to code....
Dear all I am using mt4excel.dll and shoblon script to transfer the prices from mt4 to excel. its working fine just the 4 hours prices its not updating every 4 hours alone. I have to close MS Excel and reboot shoblon script to open a new sheet with the updated prices. any help for updating without...
hi.. The only selling EA on EUR USD pair (15 mins chart) For total overview please check this link... https://www.box.com/s/5fa1c01519306db2e76e please give comments. Thank you Ravi kumar
Currently the minimum lot supported in metatrader4 Strategy Tester is 0.1 Lots. OrderSend(Symbol(), OP_BUY, 0.1, Ask, Slippage,0,Ask + TakeProfit, "My Coment", 0, 0, Yellow); //WORKS I'd like to back-test my strategy in MT4 Strategy Tester with my EA using 0.00001 Lots (ie, 1 Units of EUR/USD)...
Feature Request MT4 ::: Automatic refresh for value change to Global Variable. This feature I propose is very much needed. We need an automatic refresh on the entry of any value in the Global Variable dialog box. The effects of the changed value do not take place until new ticks arrive. This is...
Hi, My providerallows me to trade on 72 crosses. I want totrade one of them only at the given time, based on the value of an indicator,using 1 minute bars (M1). To give abetter explanation, this is the flow: 1) A newbar does open (every minute) 2) When thebar open I have to calculate the value of...
Hi, I want to place arrows and want to write the exact price where they are placed at the description-field of the objects. How can I do this? The only thing I found is to place text-objects and they have without any further interaction a description but only what you can see anyhow :( Chart->...
Hi, does anybody knows ho many pixel in x-direction (size_x) does have one candle of the chart with chart_scale 5 (and 4,3,2..)? Is there a way to calculate the size_y out of the High[iHighest(..)] and Low[iLowest(..)]? Thanks in advance, Gooly PS: I didn't find anything but the descr. of...