Expert Advisors and Automated Trading - page 403

Hello, I have noticed when I backtest a strategy using OP_BUYSTOP or OP_SELLSTOP  types, execution levels are done at the exact STOP level even when such market execution would'nt have been possible ( gaps...)  Normally if you backtest with OP_BUY and OP_SELL  and have a...
I am running the strategy tester but keeps getting error 10036- position already closed!! The returned message fron the server has the position ID supposing it is an open position!!!! Your help will be grately appreciated .
currently, I'm using a demo account for MQL4 and once I decide to use the EAs for money,  will I need to upgrade to MQL4 Real account? If so, how would I do it and what would be the price?  
Hi! When I drag the "Period Converter" (raw copy attached) to a chart (for instance, onto a 1-minute EURUSD chart), then I am able to separately create a new offline chart, for instance 3minute off-line chart (basically a new .hst file is created). My ask from the clever team here is the following...
Hi Everyone, I have a broker account which one is me personally trading and one mirroring an expert. What I want to know is that is it possible to setup another account which would be a contact of mine and they can mirror my mirror account? I am not interested in Affiliate Programs or PAMMS, just...
How to build a PC for MT5 back testing? I try to backtest using every tick and it is really slow. Do you know any specs I should look for to build a PC solely for back testing? How fast would it be? At the moment, I'm using Pentium 4, Core i5, 2.40GHz, 16383MB Ram   Also does graphics...
Hi Everyone,  I am learning EA coding. Who can help me to call/create Stochastic Oscillators Indicator in EA coding ? I appreciate if anyone help me  
  DLL error 126  (2)
Hi, i'm trying to use a DLL from my EA in MT4 (Build 1010) i wrote a DLL using C++ with VS 2015  but i am keep getting Error 126 i tried to put the DLL in the Data folder (Build 600+ folders): C:\Users\XXX\AppData\Roaming\MetaQuotes\Terminal\XXX\MQL4\Libraries and i tried to put it in a...
input   int              SpreadsToCollect = 10;double spreads[SpreadsToCollect];  How do you do this? I get "invalid index value".
Hello, I got some serious troubles copying signals because my Broker (GKFX) sets the displayed Account Leverage in MT4 to 1:10. The Support answered that the technical reason for this is because they have different Leverages for each Symbol (e.g. GBP/USD is 1:200 and EUR/USD is 1:400) so they set...
  Expert Advisers  (3)
How to write a program code for a EA, to uncheck an ' Allow Live Trading ' box on the EA Common Settings window ( but not on the Platform Trade Permissions), whenever the Net Balance falls to a level, that you want it to disable opening trades. But checks the box back again, whenever the Net...
INDICATOR CODE //+------------------------------------------------------------------+//|                                  &nbs...
Hello, I followed this post https://www.mql5.com/en/forum/9233#comment_1627489 but it does not change lot (still trade0.01 in my demo account) could anyone please send me ExpertMAMA codeI can change lot size? Thank you very much!
I am following a signal and the lotsize my account keeps trading at is 0.01, how can I change this, the signal provider is trading at more than 0.01
Hallo Sirs, I have written an Indicator, which write a HTML File and I want to insert a Code in my Indicator to upload  this File to my FTP Homepage. is it Possible without webrequest?
Hi, I've recently started using fxdreema and I'm a newbie. I looked at many answers but couldn't find an answer to my question. Is there a way to setup EA to wait and to trade in certain conditions? Example: I want my EA to buy when cande close is above the 200 EMA but wait and not open any...
I have a good entry system and exit for trading, but I don't have time to stare at my chart until my exit setup appears. So, I'm wondering if it's possible to code an EA that will exit for you only? I'm not asking for free coding. I just want to know if this is possible before placing a job in...
hi, this ea has several errors when i compilation, please fix those errors and make this ea work.   anyone help please. thanks. 
Is there any way to use redis client in ea? Or is there any redis client dll that ea can invoke? Thank you guys, very much!
Hi, I developed an expert. As far as I know, the expert starts running when the price change . However, if the price change again, and my expert does not get to finish, the expert do not continues and another expert run starts. This happens when the market is under strong variations. So, under this
hi all, I'm searching for a EA that move the stop loss like a trailing stop but even when the SL is in a loo area. So if the starting price is 100 starting SL 90 "dynamic" stop loss is 10 when the price is 101 the EA will move the SL to 91. When the price get to 111 it become a norma trailing...
  Trailing Stop  (1)
Can someone please give me an example of how to use the MQL5 built-in class TrailingFixedPips ? I tried the following: #include <Trade\Trade.mqh>#include <Expert\Expert.mqh>#include <Expert\Trailing\TrailingFixedPips.mqh>input string Expert_Title = "toets8";ulong...
Hi, everyone, I am developing expert advisor. But there is an "invalid volume" problem in my coding. Below is the method I learn and think at mql5 articles. //+------------------------------------------------------------------+//| Check the correctness of the order...
Hi, I'm trying to get a formula to calculate trade lotsizes based on stop loss and a % of the account to risk. I know this has been asked a million times but I still can't get a formula to work. It will need to calculate the value based on conversion to the account currency...
Ola pessoal estou tendo dificuldades com a leitura de um arquivo TXT, peguei um programa q ja faz isso porem por algum motivo na hora da leitura dos dados a funcao entra em loop infinito. Poderiam me ajudar com o problema ou postar algum codigo exemplo. segue a baixo o ponto q entra em loop...
Is there a way to calculate the Average number of Pips per tick? I am new to coding in MQL4. I would like to check in my code if there is a sudden fast movement against my trade and close it out if true. Should I use the spread? Thanks for any assistance
  chart objects  (5)
Hello, Some of the objects that typically appear in Strategy Tester are not appearing in my live account. More specifically,  the entry arrows do appear but the exit arrows and the lines joining the entry and exit arrows do not appear. Also, the red dashes that mark the stop loss price and...
Hello,   The problem is, only, the back test for long period (like 5 years back) takes very long time not hours but days in back-testing... is it normal?? any solution/suggestion?   Thanks 
Hi All. I am a amateur trader for 4 years and still trading manuel. According to my  technical system  ı need to enter conditional sequentional pending order. For example. Step-1- First order:Pending buy (dont use limit order) order  with SL and TP Step-2 İf First...
Hi, Compilation : 0 error(s), 0 warning(s), compile time: 2485 msec 1 1 Attachement to a chart : 2016.05 . 26 18 : 16 : 13.167 MTea invalid EX5 file ( 533 ) Previous attachement to the same previous chart : successful. Any idea ? PS 1 : After check , all EA compiled from that