Expert Advisors and Automated Trading - page 97

Hello I was wondering about if timezone change is reflected in backtest please. Let say I want to trade us open which is at 1pm UK time but sometime it s change to 12 noon cause of time zone change. To have an accurate backtest based on is open backdated does it take time zone change into account
I'm asking this question because when I trigger a function, it prints a variable's value twice in my logs, and there is nothing in that function that can change the variable's value, it can only read it. But sometime today, the function printed two different values for that variable even though that
'}' - unexpected end of program KILANGIFX.mq5 174 1 '{' - unbalanced parentheses KILANGIFX.mq5 58 1 'CheckInputs' - undeclared identifier KILANGIFX.mq5 39 10 ')' - expression expected KILANGIFX.mq5 39 22 //+------------------------------------------------------------------+ //|
Hello , in my ZigZag.mqh file when I compile I'm receive the following errors : 'Create' - unexpected token, probably type is missing? ZigZag.mqh 72 10 'Create' - function already defined and has different type ZigZag.mqh 72 10 'Calculate' - unexpected token, probably type is missing? ZigZag.mqh 89
Hi, I have coded a multi symbol mql5 ea which compiles fine but when I run it through the strategy tester there seems to be an issue with the CopyBuffer function . Just by looking does anyone know why this might be? //Checking and Copying Indicator Values if ( CopyBuffer (MACD_Handle[i], 0 , 1 , 4
Hey there. Getting working orders sent thru but on occasion invalid price is showing up, it appears to retry and then will go thru. Ive seen the posts about ask/bid and assuming this is something simple that isnt registering for me mentally. That said ive made this simple EA to reproduce the issue
I am trying a fairly simple thing and failing miserably. Sorry for the long post but this got me scratching my head. Any explanation would be greatly appreciated. My advisor is supposed to draw some trendlines. I find some pivot points and store them in a CList called Pivots. No problem here. But
I'm trying to make my EA to open a single long trade ONLY when it crosses the 70 level. Unfortunately, it opens many buy orders. I did something wrong but I can't find the error. #include<Trade/trade.mqh> CTrade trade; void OnTick () { //creating an array for several prices double
I thought I downloaded the entire history of the EURUSD from History Center. The months go back to 1971, but the minutes will only go back until August of this year. When I try to run a test of the past 5 years, it only goes back 10 days and executes 2 total trades
I’ve seen a number of posts on setting up email here but none of them seems to give clear guidelines on the process. I am not sure exactly what each field in Options>Email should contain and how a simple email should be composed programmatically. I would really appreciate some help
Historically in MT4 I used to be able to select which items were displayed in the History window (e.g. Comment). If I selected - say - Comment then it would show in the History Window If I choose to download the History to an EXCEL file then the download doesn't contain the COMMENT column I use my
I’ve never had the need to copy my EA from my MacBook till now. I want to test it out on a VPS. I went through to the expert folder and couldn’t find the files. I also tried creating new files and copying the code but that didn’t work. How can I get the files to appear in the Expert folder as that
Hi there, I am currently trying to get my first EA to be compiled, but I got some errors, any idea how to fix them? //--- input parameters input int MA_Length = 50 ; // Moving Average length input ENUM_APPLIED_PRICE MA_Source = PRICE_CLOSE ; // Moving Average source input int MA_Offset =
I'm trying to build an EA that can only allow a second trade (Position) only after the 1st trade is 10 candles behind. Tried this but didn't activate any trades->    MqlRates PriceInformation[];    ArraySetAsSeries(PriceInformation, true); int testData = CopyRates(Symbol(), Period(), 0,...
How do i renew the signal i am subscribed to? I see the renew button for the signal, in the signals tab, but nothing happens when i click it. Any help would be gratefully received
When using a VPS, can I use copy trade services and not have the MT5 platform with which I subscribed with open and still have it copy the trades
Hi, I have been trying to code the standard deviation for a VWAP indicator i found but it wasn't plotting the deviation bands, and someone in my previous post said if I understood the code and they were right, so I decided to write a VWAP indicator from scratch, but my code isn't plotting either
  Walk Forward Optimisation  (12   1 2)
Hi everyone, In my journey in developming a profitable system, I have found some Darwinex video quite helpful for learning about the dangers of over-optimisation and the value of walk forward optimisation. The advice given was that the best approach for making a simple system is to keep the strategy
ObjectGetValueByTime() All time retrun 0.0 double LastUpRedrawValue =ObjectGetValueByTime(0,"Toptahlil_UpperTrendLine_"+GetPeriod(Period()),Time[iUp],OBJ_TREND);
[Deleted]
Here are some tips for avoiding scammers on the MQL5 market when purchasing an EA: 1. Be wary of EAs that are only available for MT4, as scammers may have coded them in a way that makes them perform well on the MT4 backtester but not in real-life trading. Look for versions that are available for
Hello, when using Strategy Tester, my leverage shows the correct amount selected, but it doesn't seem to apply. Leverage states 1:1 when tester is launched. For 212 lots @ $47, thats around $10k and margin should reflect that with 1:1. Looks like its showing 5:1 for some reason
Hi, Has anyone on here had a developer create an EA for them? How easy was it? Was it worth it? How long did they take? How much did it cost? Any advice is greatly appreciated. Thanks
on a martingale strategy where a buy position is open in an up trend every 30 min candle, how do i work out the trailing tp , when all the possitions are using the same tp that gets modified as the market continue to go barish. when one trade hit tp , all trades close. how do i set the tp so that
I tried 100x to upload my EA in MQL5 market place. Always bringing a error msg when i do upload. Can someone help me in this one
I want to print value of "i" but that is printed incorrectly and it does not start printing from zero This problem does not exist for loops with repetitions below 100(or 150) for ( int i= 0 ; i< 500 ;i++) { Print(i); }
Hello, So Meta trader 5 allows you to use Custom Symbols. With custom symbols to an extent you can use an expert advisor you bought on the market and test against this. The idea behind testing using a custom symbol is that I can take some arbitary period of the real data, export it out to a CSV
Hey hey People Tom here, I want to detect the psar reversal up/down wich i have managed to succeed, however the psar can sometimes "flicker" like reverse multiple times in a candle. Wich is why i first want it to wait for a candle close and then check for a reversal, however when i check for a new
I have this code which should close all trades when a certain condition is met. Normally 3 open trades of the same symbol are open when the condition is met. However, the code closes one trade and leaves 2 others instead of closing all the three trades how do I amend the code to close all the three
  OrderTotal()  (6)
OrderTotal() returns all pending orders. How can I make it specific to return only for a particular symbol and only for BUY_STOPS. I’ve been searching for hours in the forum. Only solution I found was written in MQL4. Is this even possible? Please kindly assist
Hi, im new to trying fx blue, but the ea cant run and it shows "can't reach ......." Anyone know whats wrong with this one