Hello, i am with ICMarkets and Download a few apps from the website. All of the Expert Advisors does not load. Unfortunately there is no error. Could somebody help
Hi , I've understood that it is impossible to backtest a strategy on strategy tester using Depth of Market because brokers don't offers enough data to do it (correct me if i'm wrong) , my question is , how can we deal with that problem , to benchtest and optimize a strategy based on order book
I'm trying to open a BuyStop position while expiration parameter points to the next 5 hours. trying to calculate the time using (TimeTradeServer()+PeriodSeconds(PERIOD_H1)*5) function but in strategy tester it returns a fixed time all the time which is (2020.01.01 05:00:00). I wonder why when I
Hi, I am trying to implement a Recovery Strategy to an EA but it has suddenly become too heavy for Strategy Tester so it is even more difficult for me to identify the errors. I have extracted part of the code to test it but it still runs very slow plus in Real it is not providing the right lots on
Hello All, I could use some help with determining what I am doing wrong when it comes to getting the nearest quarter point to a relative price on the chart. Basically I have a fib on the Asia Range, I am looking for a quarter point above or below the Asia Range in the 50-100 Fib retracement. While
Hi everyone. I am trying to evaluate the Cotton (#Cotton_v20) market, I have imported an updated chart with Bars and Ticks from Tickstory. (This isn't the first time I've updated the charts) The problem is that when I start the backtest, Journal writes me this error: Market Closed I state that the
i'm trying to make EA iterate over number of symbols but it only performs trades on the symbol specified in the strategy tester ! could you help me find the error #define EURUSD "EURUSD" #define GBPUSD "GBPUSD" #define USDJPY "USDJPY" #define USDCHF "USDCHF" #define USDCAD
//This my Indicator #property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 2 #property indicator_type1 DRAW_LINE #property indicator_type2 DRAW_LINE double A[]; double B[]; double smaVal= 0.0 ; string ValSend= "" ; void OnInit () {
[Deleted]
Hello, I am asking for help in understanding where I am making a mistake. I want to classically calculate the lot size based on the% risk with equity. I read the threads on the forum, tried in my code, but something counts wrong, the "lot" amount is too large (?) but I don't understand something
Hello Everyone, I have developed an EA, which is tested on Strategy Optimizer on MetaQuotes-Demo Server for period 2015.01.01 to 2020.08.01. I get some results which seem ok. So I decided continue on demo account of FXTM to test my EA for one month. I installed Trading Platform from FXTM, which uses
@Ahmet Metin Yilmaz @Keith Watford @Sergey Gerasimov @Vladimir Kazennov @William Roeder @nicholish en Hello guys, I have been struggling to fix this problem in my code below because it keeps opening multiple buy positions instead of printing failed to buy in the journal! //Create an instance of
Hello, Could someone please confirm or deny the following. If I "OrderSend" succesfully a TRADE_ACTION_DEAL , and within the MqlTradeResult struct I retieve a deal_ticket = MqlTradeResult.deal, is this deal_ticket the same as the ticket of the position that was created as a result of the trade deal
Hi, I'm building some simple EA to learn mql5 . I cannot understand how MetaTrader behaves after a series of orders like the following: CTrade m_trade; .... .... m_trade.Buy( 0.1 ,m_symbol.Name(),m_symbol.Ask(), 100 , 0 ,TradeComment) //price of symbol is 105 m_trade.Buy( 0.1
I have my VPS set in mql5, but for the last 2 weeks, it doesn't have any trades. However, I back-test that period, they should have several trades been take places. I am not sure about if its about the EA updates, since I am not able to do the update right now. I have deleted the chart and reput the
Hi, I have a problem with my Heikin Ashi code. I searched for an expert advisor that gives me the Heikin Ashi prices to then use those for my filter. The problem I now face is that those prices are not the same as the ones that my indicator on the metatrader chart shows. I first though that I just
Good afternoon! I got this code from the MT5 documentation examples: ========================================================================= bool ReadFileToArray( string NomeTXT, string & Linhas[]) { ResetLastError (); int h = FileOpen ( NomeTXT, FILE_READ | FILE_ANSI | FILE_TXT );
BULLISH/BEARISH Bar counter code Hi guys i`m having problem creating a bar counter code.Basically this indicator would be a statistical tool for me and it would help me very much with my market research. It would count how many BEARISH bars appear and BULLISH bars at the next candle of certain time...
I'm trying to import an indicator value but I'm not getting it. The print on the indicator has the right value but when I pull the expert, only 0.0 appears //+------------------------------------------------------------------+ //| MHI.mq5 |
Kind of taking a survey here.
I've been reading around various area's on lot calculation. I'm wondering, how do you calculate lots? Here are some examples from a thread I posted on another forum:
// a) Found this in a spreadsheet somewhere on what I've read so far...
Dear community, I am trying to program an Expert Advisor in Metatrader 5. A buy or sell trade is to be carried out on the basis of different indicators. I am currently having problems closing a trade and I am stuck. Can someone please give me a reminder? 1. it is successfully initialized 2. A trade
Good day , Help with my EA. Before start trading everyday , I want my code to compare yesterday's AccountBalance to today's. If today's AccountBalance is greater than or equal to 5% than yesterday , then stop trading. Here's what I thought about it : if ( //AccountBalance is >= 5% than yesterday's
Hi. I'm using the mt5 vps and when im foing to upload my ea i need to attach the ea in a specific chart. I have multiples ea of the same current, EURUSD, but they all run in differents timeframes. Is there a way to put all the ea together and when i attach to a chart to upload, the ea will operate
I have included some built in indicators in my EA, but i don't want to show them on the chart, how to achieve that
*** how can i only buy @ the close not when the candle is still forming? trade.Buy(1.00,NULL,Ask,Ask-2.5 , Ask+3.5,"buying"); ***
hello, I was wondering if there is a script or a small function i can add to a chart with a EA.., that trades the EA the same way , but trade the signals opposite of that they would have been. where buy signals would become sells...or sells become buys.. but everything else in the EA would function
Hello, Bellow is the Sample EA code found on https://docs.mql4.com/chart_operations/chartxytotimeprice. Currently, Y axis numbers are descending as they follow the arrow upwards Can you please amend the code so that Y axis numbers are ascending as they follow the arrow...upwards. X axis is OK , Why
Hello Everyone, How can i manage slippage in mqltraderequest ? i am sending a sell request and i want to tell the expert advisor to pay attention if there is a pending order within a slippage. Is it the same as the deviation
hello every one I am new to mql5 but have good programming skills. I want to do the following: make all open buy positions with same tp i tried using the codes in the documentation but it is really hard and i cant find a way out. any help or advice will be highly appreciated
Hello, I use MT platform on my iPhone mobile phone. Is it possible to your MQL5 automated copy trading via my Mobile phone? Kind regards, Metin

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.