MQL4 and MetaTrader 4 - page 355

Hello, good day to you all.. modifying an old expert fixed some errors and some warnings.. unable to fix some <Decompiled code deleted>
Hello, Just stopped by a great indicator IFibonacci and I have a question; is there a way to make arcs starting from the previous Zz value not the most recent one. (Or if I can manually move the central point for arcs calculations to choose previous top or bottom Zz value) Thanks in advance
I have been dealing with this EA, but I have not been able to solve this small error (not all control paths return a value) int Write(string str) { //Write log file int handle; handle = FileOpen(filename,FILE_READ|FILE_WRITE|FILE_CSV,"/t"); FileSeek(handle, 0, SEEK_END);
I have encountered a problem trying to combine HA onto Renko bars as it appears on the attached pic but I keep getting something else, also attached. Any assistance be greatly appreciated
Hello. There'a a few years i paid a freelancer to build an indicator. It worked fine but now, i try to compile it and i have an error on this line : for (index=nCountedBars + NB -1, int ptr =0 ;index >= nCountedBars ; index--, ptr++) flow[ptr] = (High[index] + Low[index]) / 2; Can you help
Hi: Testing using MT4 on tick using major pairs. I program EAs so if I use a standard indicator (example Awesome Osc) then no problem. I have very slow back tests using Custom Indicators. Any idea of what I could do to speed up the testing for the EAs using Custom Indicators?. Thanks for any
Hi there, Currently I am running a function to modify a time string: string timeDB(string timeIn){ // 01234567890123456789012 // timeIN: YYYY.MM.DD HH:MM:ss //timeOUT: YYYY-MM-DD HH:MM:ss.000 string timeOut, timeHMS, timeDate; timeDate = StringSubstr(TimeToStr(StrToInteger(StrToTime(timeIn))
l have tried many code , but still can't find way to get today date. Example Today = 10-Sep-2017 When l doing backtest on = 1-Jan-2015 How to get today date? Thank you. Best regards.
Comments that do not relate to the "Spread filter for EA", have been moved into this topic.
Hello I have a problem with the following coding. I know the problem is because of using the following code : #property strict When I use it, I have the error : 2019.11.16 12:03:11.915 2017.01.02 00:00:00 S_R EURUSD,H1: array out of range (75,43) Can you help me solve the problem? thanks #property
How can I code making a screenshot of multiple opened charts or the whole workspace? Are there native MQL functions for that? (I could not find) If not, what windows DLL functions could be useful to achieve that goal
[Deleted]
  Ordermodify error 130  (15   1 2)
Hi, I have created an EA, that works well for me, but I tried to change it a little bit, but can not manage to make it work. All I want it to do is to open an order with a trailing stop. The problem is, the trailing stop is different for each trade (it depends on the high of the current candle). It...
May someone please help, markets in my real account are not active unlike in my demo account where they are and I'm able to trade in practice, is it because funds haven't reflected yet in my real account for trading or something could be wrong
this expert opens up a lot of positions in the position. i want to just open one position in up trend or a down trend thank you if(NumBuy==0&&NumSell==0) { // for SELL if( v1!=EMPTY_VALUE && v0==EMPTY_VALUE && v2==EMPTY_VALUE && v3==EMPTY_VALUE && Ask <v1 && Bid< v1) {
Hello everyone I need to measure the most possible precis time delay of some operations. While I was working on it, I had some unexpected result. void OnTick() { uint Timer_Start = GetTickCount(); uint Delay = GetTickCount() - Timer_Start; Comment(Delay); } It comments 0 on the chart. How
//+------------------------------------------------------------------+//| Newbie programming 3.2.mq4 |//| Copyright 2018, MetaQuotes Software Corp. |//| https://www.mql5.com
Hi, Can anyone advise me why two different Forex brokers using the MT4 Platform are showing very different volatile movements on a pair at the same time? Is this normal? Refer attached .pdf. cheers Todd
Hi, is it possible to create an alarm when certain criterias meet ? I have a nice strategy based on ma's inside a rsi window. Now i want to get an alert when all the ma's are at a specific rsi level. Is something like this possible ? kindly regards
i wrote an EA but this simple EA cannot take the position Please help me. THANKS #property copyright "Copyright 2018, MetaQuotes Software Corp."#property link "https://www.mql5.com"#property version "1.00"#property strictextern double Lot = 0.01;extern int Stoploss = 10;extern int Takeprofit
Hi I have EA wich not work ... I don't know if it's ok on broker side .. I have bad EA support and get not answered me on my questions anymore.... My broker support say thah all is OK.... Exists any script that can test if all is OK and ExpertAdvisor is enabled on broker site? Thanks and best
To start I could find no reference to this error in the MT4 forum. The Closest thing to it is this post. https://www.mql5.com/en/forum/313720. I am removing my comments on the MT5 Thread and posting them here. I am getting a failure at iTime. The code has been perfectly for a number of years. That
  chart settings  (3)
on the metatrader 4 web terminal, can you set chart defaults, so every new chart opens with the same parametres
hello, I have an indicator and I would like to add an alert to it, everytime it crosses zero level, when it cross 0, and turns green , make a buy arrow {buy} and when it crosses zero level and turns red , make a red arrow {sell} I dont know how to do it, could anyone help me with this, please
Hello I am trading with Oanda mt4 i just started trading today, I noticed their charts are not showing so much historical data for example in the eurusd chart on Daiy time frame in the chart if i zoomed out i shows data till 2015 while in other brokers till 2012 , on 4 Hour time frame if I zoomed
So every time i want to appply a chart template to a chart that I drawn trend lines ,the trend lines disappear when I load a chart template. How do I go about keeping them ?
  alarm help please  (11   1 2)
Hello, i have a problem. Would anybody have an indicator or an ea on mt4 that will alert me whenever something appears on the chart? Let me explain better: I have an indicator that creates the signal on the chart like trend-line etc ... I use it on so many charts and so many time frame so it becomes...
I changed vps. How do I recover the amount of activations
Hey guys, I'm currently forward testing a strategy that is giving different results to the backtesting results. (This is on mt4, every tick, 1 minute data) Just wondering what everyone's experience has been when comparing backtesting results to then forward testing? Are they the same for you
I'm try to get Trade signal from TMA+CG indicator (mql4) asAttach file . i'm try to create EA from This indicator with iCustom function but it doesn't work! This is indicator code: //+------------------------------------------------------------------+//|
[Deleted]
Hello I want to turn the Engulfing indicator into an expert, but there is a problem. The problem here is: SetIndexEmptyValue (0,0.0); In Expert Buffer the first is equal to 0 and the second buffer is equal to EmptyValue. That way you can't tell Expert when to buy and sell. Problem shown in photos