Expert Advisors and Automated Trading - page 15

To post a new topic, please log in or register
I have an EA that runs on the 4 hour chart and opens trade in a grid based on the new candle formation on the 15 minute timeframe. I am trying to limit the number of trades the EA takes by only allowing a certain number of trades on the 15 minute candle from the 4 hour chart. For example a new 15...
Hello, i would like to test my ea on NZDCAD but on mt4 demo,i dont see the paire. on my broker history of this pair is max 2019.02.01 i would like to test in 2018. Need help :) Thank you
Hello all I have a question about my resultat on my backtest (see the piecture)  i see on "chute maximal" 2406.55 (65%) i dont know who to have this resultat? When i see my graphique resultat i understand "chute abosule"  aproximately (3320 - 713 = 2607) thank you
If you use iMA or iMACD,indicators appear on chart in strategy tester. Are there any ways not to show indicators on chart if you used that indicator in coding?
Guys, I have been using this EA for 2 years. I just realized that it can work better with some new updates(I have ideas but can't implement them into code). I need someone with good metaeditor knowledge. 
Hello,  I have following EA running successfully, however, it works only on 3 digits currency pairs (e.g.: USDJPY, AUDJPY, GBPJPY...), but not on 5 digits currency pairs (e.g.: USDAUD, USDGBP, EURGBP...) @@ Besides, I want to remove Start_Hour and End_Hour. I want to trade every...
Do most (or even any?) trade copier EAs in the Market for MT5 open trades they copy asynchronously? I ask because with some EAs before I noticed that they simply ported from their MT4 EAs and then didn't both to program the MT5 versions with asynchronous trade functions because it is simpler not to...
Good morning everyone I have a couple of question about VPS.  I trade a future that expire every month: i have to reload only that future chart or all charts with their EA? If i use platform when charts are migrated, this is an issue?
Hey all, i like to get reed of the old terminal log messages when i start a new session. Is there any way to use a command such as "ClearTerminalLog()" to do this or do i have do clear it always by hand ? Thanks & Regards, Chris
  EA mql4 2019 (10)
Can someone do this to me in mql4? Example strategy: 1. buy and sell at the same time. 2. Each "-X pips" repurchase or resell with a lot increase. 3. TP getting closer when it makes a repurchase. No stop loss. 4. If touch the TP, go back and buy it right away. 5. without indicators, only buy and...
Hi guys! I have been working on an EA for a few weeks now and I am stuck: I want to close all trades and open orders when a profit target (say 10 pips) is reached. I have a ClosePosition function which doesn't seem to be working. Would anyone have any idea how to solve this? Thanks a lot, Martin...
Selam,  I have an EA and 2 laptops. Laptop A is optimizing the EA but optimization is not working at Laptop B. Same EA, same settings.  When I select the parameters and change to the settings tab to start the test, parameters unchecked but test is running. How can I solve this problem?  before start...
The help for OrderSend says: slippage [in]  Maximum price slippage for buy or sell orders If Is this a digits or pip value (i.e. 20 means 2 pips for EURUSD contract with 5 digits)?
Hi Coders, I am not sure if this is the right section of the forum. Can somebody please add the 3-level semfor indicator (attached) to the Ascitrend EA attached with the post. The EA currently opens positions at Asctrend signal and closes at the opposite signal. It also has TP, SL, Trailing SL, etc...
Hi all, this is the procedure I'm trying to accomplish : RAW_STRING : is a string from input, this string is converted into a uchar array (considering the \0) , encrypt the uchar array using AES256 method (with a constant and proper-sized key) , represent a Hex array from the encrypted data (saved...
Hi everyone,  I would like to know if is that possible to program a trailing take profit.  Let me explain my logic :  The initial TP is 10 pips, if the price passed this level : the Order has to be modify with a TP at 15 pips.  Thanks in advance for your help. 
Does anyone know how to perform the max drawdons in xx candles? I have an example of symbol prices like below: Candle Close high Diference 0 1.258 1.265 0.007 1 1.265 1.274 0.009 2 1.274 1.286 0.012 3 1.286 1.3 0.014 4 1.3 1.29 -0.01 5 1.29 1.291 0.001 6 1.286 1.285 -0.001 7 1.285 1.283 -0.002 8...
Hi everyone, I want to loop through all open positions for one symbol and get the position with max. profit. This is my code: int Positionsforthissymbol=0;      for(int i=PositionsTotal()-1; i>=0; i--)   {      string symbol=PositionGetSymbol(i);         if(Symbol()==symbol)...
  EX4 Decompile (2)
Hello, is there a software that can decompile the ex4 Build Version 5 Build 1601. I'm interested because I need to know if I have to protect my EA or not. Thanks for your help
Hi Guys, I'm trying to learn the basics in MQL5 coding, i'm trying to display the text "Hello" on the left side of my screen. This is the code i used: void OnTick()   {         // Say hello      Comment ("Hello ");      }  When i load te EA, it doesn't display Hello on my screen. It only says hello...
Hi, Im searching code to add on my mq4 indicator helpping me Alert twice: 5 min before candle close and close. May u know this code function. Kindly help me
Hi Everyone, I'm learning to write programs in mql. I wrote a piece of code to identifier possible beginning of trend i'm using three averages to do that: Moving average Period = 20  :  mediumMovingAvg      Moving average Period = 8     :  fastMovingAvg      Moving average Period = 60   :...
Hello, my programming knowledge is minimal, I only edit programs that have "some structures" of open source, but I'm not an expert, much less a professional in programming. I need to acquire the knowledge to know in what way I can execute a SCRIPT from Windows (external application). Or from MT5...
Hello again mql community! Im back with an issue im hoping someone may have a solution to. I am currently trying to run massive optimization on all of my EA's and find the best possible parameters for each to set as defaults. However, the three computers I can spare for this project have an i3-2310,...
Hi all I got an issue with the Stop Loss and can't find out the cause - I got the Mt4 version running just fine however, mt5 is not able to run.  Mql5 can't HELP ..... and suggest to ask the Forum - Does any one has this issue (anoying...) and how to solved it  EA on mt4 works fine - Mt5 ...!!!...
#include<Trade\Trade.mqh>CTrade trade;void OnTick()  {   double Ask=NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_ASK),_Digits);      datetime time=TimeLocal();   string HoursAndMinutes = TimeToString(time,TIME_MINUTES);      if ((PositionsTotal()==0) && (StringSubstr(HoursAndMinutes,0,5)=="00...
Hello Gurus in the house, Please I need your help in solving this nagging problem of assigning each name of pairs to OrderSend function to open, I was able to call all the symbols from the market watch but to assign a particular pair for each OrderSend is the problem, it was just picking all the...
Hi everyone, So I'm currently trying to optimize my EA that was running okay, and I don't really know how to interprete the data that is shown, I red an article about the optimization but nothing that is helping me, also I've been using "open price" only to get more data faster. But here is the...
hi...i accidentally update the ea than i realize didn't like the last version describe   are there any ever downgrade version? thx
Hello. I've been making the same profit for a long time. Introduction: fibo 23,6 Snow: fibo 38,2 stoploss: fibo 0 rollback: fibo 0 martingel damage. can you make this system ea?