[Deleted]
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...
[Deleted]
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
[Deleted]
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?
[Deleted]
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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
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....
[Deleted]
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
[Deleted]
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...
[Deleted]
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...
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
Let's take 6 major symbols (EURUSD, GBPUSD, AUDUSD, USDJPY , USDCHF, USDCAD) and look at relative changes of their rates. If, for example, during the last 10 minutes, all 6 major rates have changed by 0.05% (in one direction relative to USD), then we assume that USD has played the main role. Now, if
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)...
[Deleted]
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...
Choosing one cross out of 72 realtime, based on an indicator value, and trade it: is it possible?
(10)
Hi, My provider allows me to trade on 72 crosses. I want to trade one of them only at the given time, based on the value of an indicator, using 1 minute bars (M1). To give a better explanation, this is the flow: 1) A new bar does open (every minute) 2) When the bar open I have to calculate the value
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->...
[Deleted]
Print("Long-Short=", DoubleToStr(LongMa1-ShortMa1,5)); res=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,Bid-StopLoss*Point,Ask+TakeProfit*Point,"",MAGICMA,0,Blue); intervalTrade = true; return; I'm looking for code that will play the oppositely when opening price of the candle is...
[Deleted]
Hi guys,Just wanna check if I can doint a,b = function(d,e,f)

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.