New article Plotting trend lines based on fractals using MQL4 and MQL5 has been published on mql5.com: The article describes the automation of trend lines plotting based on the Fractals indicator using MQL4 and MQL5. The article structure provides a comparative view of the solution for two languages...
[Deleted]
Hi, I would like some help, or some comments about the strategy tester in MT4. The thing is that, I tested an strategy which resulted in "Total net profit = -345" and the "Modelling quiality" was around 41%, this was for the USD/CHF. So, I went to the History Center in MT4, and I downloaded the...
double Var1 = iMA(NULL, PERIOD_M15, 5, 0, MODE_LWMA, PRICE_HIGH, 0); double Var2 = iMA(NULL, PERIOD_M15, 5, 0, MODE_LWMA, PRICE_LOW, 0); Hi, from above code i want to execute Buy on this condition: The current open candle are same or just 1pips higher from current Var2 iMA, and difference between...
TickStory suggested: "As mentioned, you could try asking thisquestion on the MT4 forums to see if anyone can assist.". So let me ask the questions here. You can see it's about 3 parameters in "Metatrader Info" settings in "Export to MT4" when you use TickStory. GTC Pending: Difference between...
Hello, I am in some need of dire technical help. I have been trying to turn a few iCustom Indicators, into Signals that will notify when a condition exists an alert and visual alert will appear on the MT4 platform. Now, I have done this in the past with non-iCustom indicators without any issues with...
[Deleted]
... is sadly misbehaving when using Google-Chrome (Linux). You move the mouse over the Icon (in case your profile has one), the menu pops up. As soon as you move the mouse to select one of the options it shows, the popup instantly disappears. Only with luck you can *grab* the option the one or other...
Hi world, I need a favor, I need to put an alert for email. please help me, I know nothing about programming code: #property indicator_chart_window #property indicator_buffers 6 #property indicator_color1 Red #property indicator_color2 MediumBlue #property indicator_color3 Red #property...
[Deleted]
Hi, I'm trying to automate analizing charts and to develop some tools for that purpose. But I can't find a time (lets say an Hour) of High/Low of previous day on the H1 chart. I used iHigh and iLow functions to find extremes on a D1 chart, but I have no idea how to find a particular time of them. :(...
Hi, Guys! I need your help. I am trying to calculate how much did earn one currency pair for example GBPUSD whilst trading multiple pairs simultaneously in ONE account And OrderProfit() gives me incorrect data 2015.05.04 08:11:05.454 2012.06.18 20:00 Bounce_Back_MA_GBPUSD_SELL GBPAUD,H1: open #2...
Hi All, please, i can't find the articles where multitimeframe graphical objects are explained, with code examples, with little squares changing color with signals. Could you give the url of this articles published in mql4.com. Regards.
[Deleted]
Respected sir, i am new baby in mql4, I need to design expert adviser (ex4 file ) in macd with buy and sell arrow , when every macd goes buy mode the up arrow must be displayed (in live and in historical data also ), when ever the macd goes sell, the down arrow have to be displayed (in live and...
OrderCommission() is negative or 0, but never +positive value right? double True_Profit = OrderProfit()+OrderSwap()+OrderCommission(); current_balance += True_Profit; this is correct?
Hi to all community, i'm a new member of big Forex world, in the last month i've been searching through the network about some strategy and i've learned that there a lot of them and i don't know which one to apply on demo account. I'd like to know which is the simpliest but effective strategy which...
Hi, I need to read The base currency . So I would like to read only first 3 chars of current Symbol() and paste it to the other string parameter in MQL4 code. For example if current Symbol() is EURUSD I need to read only EUR value (first 3 characters from left). Has anybody any idea how to resolve
Dear 'Forumites', I've been backtesting this indicator called Symphonie_Extreme_Cycle_Indikator2 or Cycle identifier. And I noticed a very unique form of diversion that happens very rarely. I wonder if someone out there could help to modify the indicator so that it draws trendlines at these...
Is there such a tool to move my stop to BE at a given price ? I would ultimately like a line i can set like the take profit line, if price hits it stop is moved to entry price .......... can anyone help me out? cheers onis
I downloaded MQL4 demo account. The symbol list is very limited and doesn't include the EUR/USD. There's a tab for the EUR/USD below but when I click on it it only says "Waiting for update". Please advise how to get the EUR/USD for the demo account.
Hello @all, im looking to use a renko chart and want to run an expert on this chart. as far i understood, renko is running on an offline chart, this chart will be updated with every tick by the periode converter function with a normal 1M chart.. so now i want to use an EA on this chart, my...
[Deleted]
Hi guys, I´ve programmed a very simple indicator. It should return the value a, which is previously defined. Here it is: //+------------------------------------------------------------------+//| EaTestEa.mq4 |//| Copyright...
[Deleted]
hi all, Does anyone know of a way to program an EA to calculate the maximum or current drawdown in your trading account balance or equity? ie what your current ACCOUNT_EQUITY is relative to your 'account peak equity'. if there is no built in way to do this, could you trawl your order history pool...
Hi all, as you know, renko chart depended on price changes and is independent from Time. The Renkocharts are constructed as follows: the close price of the current period compared with minimal and maximal prices of the previous. In this thread you give the renko chart ea. Today i want to make some...
I run my developed EA from laptop. problom is when internet disconnected the EA placing order again and all trailing stops collapsed. How to solve this issues? Is there any method to avoid re orders when EA restatrs?
[Deleted]
Very good, as I can modify this code so that only data download me a week ago? //+------------------------------------------------------------------+//| output_history.mq4...
Hi forum, I have no idea why this script works sometimes and sometimes it doesn't. If I use it on NZDUSD H1 it looks fine but if I use it on EURUSD there are a lot of lines missing. Also when I change timeframes there a many lines missing. Additionally JPY-pairs cause some trouble. I have three
Is it normal when compiling an EA while its on a live chart that all the arrows and dotted lines showing closed orders all delete? thx.
[Deleted]
i have question my mt4 stop moving it is connected but looks like is not connected
[Deleted]
hi, folks I'm really impressed with the deep knowledge expressed in the forum my qustion is about error 4108 that kills my trade. i get the order ticket by orderslect and then issue the ordererdelete function to kill a pending sellstop order. most of the times i get the 4108 error, now is this ea...
Greetings! Recently joined this forum and am glad to see activity here. I have to modify a sample code, in an Expert Advisor article posted at mql5, link given below. Very recently have I started mql4 coding and still very much learning. Is there an mql4 version of this code. I am facing...
I'm looking cross between Money Flow Index: iMFI(Symbol(),0,2,0) and On Balance Volumen: iOBV(Symbol(),0,PRICE_CLOSE,0) only if (iMFI == 0 || iMFI == 100) please check the example: Here the template clic thanks for any idea
Hi, I have coded an indicator that runs perfectly. Now I have written a script that loops though the variables and calls this indicator (several thousand times): double toOpti = iCustom(sym,tf, "myIndi",var1,var2,var3,var4,3,0); While running the script (= looping: for(var1.. for(var2..)) once and 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.