Expert Advisors and Automated Trading - page 105

To post a new topic, please log in or register
Hi,   I have an expert advisor on mt5 that is doing well, now i have the version for mt4 and i put in the same variables and it behaves totally different. Is there any way to save the one from mt5 to mt4 or to convert it?   Thanks! 
Hi Team, I am new on here and my apologies if this information already exists or has been asked in the recent past. Is there a monthly or annual rating done on the various FX Trading "Robots" available to the public based on past auto trading performance. I currently use the MT4 Strategy Builder and...
Hello, I am currently testing MT5 with a stock exchange broker that does not provide historical data in-built MT5. So, I would love to be able to import my own tick data. The problem is that TKC file format seem to be proprietary and compressed.  I would love to know if someone has more information...
Hi Guys,  I would like to request for who ever expert here can provide me an expert file that I can test in MT4 by changing a parameter of Ichimoku 6-26-52 to another. 
I am running identical code on 2 MT5 accounts on FXChoice.  One with Hedging and one normal using the same code. I also test on Metaquotes with hedging I have an EA that just does trailing stops. The code works fine on the non hedging account.  On the hedging account I get Error  10036  Invalid...
Hi everyone, I'm a newbie on this forum and MQL4 (build 950) and i hope that someone can help me to push me in the right direction! So, I am trying to create a script to find the horizontal resistance/support lines, but have an issue. There seems to be nothing wrong with my basic code, still i...
Hello MQL5 Community, I am currently exploring how to start the MT5 Terminal with a custom configuration file. My main objective is to log in into my account, launch my EA and allow it to make calls to some URL using WebRequest(). I was wondering if it's possible to specify the allowed WebRequestUrl...
Pretty much what the title says. Im hoping theres a course out there that teaches you mt5 code.  
About the optimization option. Example; I run optimizer on  01 january to 01 april (3 month test) I use the best profit parameters of this 3 month test and run it on 01 april to 01 may (1 month test)(the month directly after the 3 month test) On the 1 month test I frequently lose money.   My...
I am new to MQL5 and with little other true programming experience. Before I invest a lot of time, I was hoping that those with understanding and experience of MQL5 could help answer a few questions. Over the years I have used MT4, TradeStation, Strategy Trader and MultiCharts and to my...
I have a strategy based on harmonic patterns like gartleys, crab, and some other customized patterns. I am thinking of learning python to hopefully implement my strategy. Would this be possible to program using MQL5 as well to create an algorithmic trading strategy? Could I also be alerted of when...
Hi everyone. I wonder if there is an option to hide or switch off somehow the indicators which the EA uses, so that they would not show up when you run the backtesting with "Visulization" enabled. My EA uses a lot of indis and I don't want to "see" them while testing my EA, they take a lot of space,...
Hi all,   I hope you can help me answer what i guess is a simple question.   Im looking at getting a EA or other system that can put in additional orders, TP (trailing and normal) and SL - when ever i enter the market.  So i'm not looking for a fully automated EA, but more what you could call a...
I'm wondering what happens eventwise when we stop the strategy tester. Is there no event triggered when this happens? Let me explain: My EA opens and writes lines to a file. The file is closed at the OnDeinit() event. All is fine when I run the EA till the end, but if I stop it by clicking the stop...
Hey! I lookig for a programmer who is could be connect mt4 to any webbrokers with API or any possible ways. PM ME!
- there is a new reserved word "override" - its no more possible to convert a string to boolean  
Hello,   does anyone know how does the experation function fo pending orders Works in MQL5?   i found there is an Void https://www.mql5.com/en/docs/standardlibrary/expertclasses/expertbaseclasses/cexpertsignal/cexpertsignalexpiration    but also you have the constant from the order Send Function...
Hi all, I'm new here, and also I'm a newbie in coding EA with MQL5. In advance I want to thank who wants to help me, even if maybe I'm trying to solve some too simple issue. Basically I'm doing this: I downloaded this indicator (supertrend.mq5 ) and I want to use it in my EA. I put the...
Hi, Im trying to make a simple ea Moving average crossover. It wants to make trades on the backtest but it cant because ive screwed up somewhere here is complete code [MT5] //+------------------------------------------------------------------+ //|                                          Two Moving...
Hi... Mt4 to Mt5 conversion... where the integers are variable counts such as, if(varA/(VarA+VarB) >.95) {VarC=-5;}     ( integer/(integer+integer) )  Or (int)Mathround (integer/(integer+integer))       always gives zero in Mt5, How do i get the double solution?      
Hi, I need help. Seriously. Please. I'm trying to solve my problem for a couple days, but still can't solve it. I'm trying to open trades with stoploss in direction of trend (based on moving average) on each $1 move. Like : Price is above moving average, BUY on price $5, SL $4. Price goes to $6,...
Is there some method to check if the market is closed or open for trade. Except for getting an return code of 10018 when trying to place an order
I need more tick data for backtesting. Currently only have 31 october 2016 to present on all major currencys.   Can someone supply/direct me to a place to get the whole year of "2016.hcc" tick data for eur/usd, aud/usd, usd/chf etc etc...   Or, how to convert csv tickdata to hcc?   Man MT5 is a...
I have an EA that opens its first position when  an active trend line is crossed. This trend line is removed when the first position is filled so that this active trend line does not interfere with any other orders. Sometimes the platform closes down. This is rare but it happens.  (I don't mean...
Hey, I'm creating an EA and to get it working I need to get the strike value of an option. I'm using the function SymbolInfoDouble ("Option", SYMBOL_OPTION_STRIKE); but its always returning zero...  I found that function here: https://www.mql5...
So I was using this piece of code to calculate the most recent bar.      static datetime BarTime=0;    datetime now_bar=Time[0];    if(BarTime!=now_bar)      {       BarTime=now_bar;      }  I am having trouble converting it to do the same thing on meta trader 5. Im relatively new to coding but...
Hi, I have a trend following EA. It seems to work fine except for one problem. And that is, with given conditions it opens position at the end of the trend as well as it does along the way and gets trapped in a drawdown. I was wondering if there is any way that can prevent it from opening a position...
forextime8
when to use ? what to use ? and which to use ??    
Is it possible to make a strategy tester run on TODAY's data? As far as I could see, testing process stops on YESTERDAY's last bar. Please, help.