Expert Advisors and Automated Trading - page 22

Hello so am trying to use this custom indicator (corr-wilder-ema-vra.ex5) to create an expert advisor.i have the source code so when I compile it then call it using the icustom it returns the error below cannot load custom indicator 'Indicators\corr-wilder-ema-vra.ex5' [4802] the file path is
Help me anyone i getting this errors on mq5 please help to correct any wrong //+------------------------------------------------------------------+ //| Check if Daily Trend is Bullish | //+------------------------------------------------------------------+ bool
seems mt5. copy_rates_range only support one symbol at a time. is it possible to extract concurrently for multiple symbols? thanks
Is there a way to remove the EA name from the live chart? It blocks viewing price action when price is bullish
Ran into something very strange. Issue: If I run a single test on the same optimiser result 5 times, 2 out of the 5 times the result matches perfectly. The times it matches perfectly not a single error in the log. The other 3 times always the same error about INVALID_PRICE. Both optimiser and single
Hi, I tried the follow code but It didn't work correctly and it return "None" in the Atr field. Can someone help me please? Thanks import pandas as pd import pandas_ta as ta import yfinance as yf data = yf.download( "EURUSD=X" , start= '2022-01-01' , end=datetime.now()) data[ 'atr' ] = (ta.atr(data[
Hi in simply function oncalculate in indicator , when i try to print Time[0] , bar (in formation) return me 2023.09.22 02:20:00 0_o why ? int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[], const double
If I have ten accounts with a broker and I put them in algo trading, do I also have the option for 10 VPS subscriptio
I ran a 12-month backtest on one of my VPS, which gave the below results with 100% data accuracy: and also ran the exact same backtest on another VPS , which gave the SAME RESULTS, but has worse data quality apparently: Can you please help me understand what is happening and how this is possible
i have and expert advisor with some problem someone could help me to fix it? Attached file renamed by moderator, to correct name and extension
Hello. I'm using latest MT5 terminal. (5.0.0 build 4620) I'm trying to use this function with strategy tester. Symbol: BTCUSD Account size: 10000 Leverage: 1:1 Here's an example output when I'm trying to debug it inside Trade\AccountInfo.mqh (the MaxLotCheck function): if (! OrderCalcMargin
Hi.........one of my EAs is producing the following error WSFR3: BUY not taken!!! - No Hedge, or FIFO restriction ... the broker says he has no restriction at his end.......and EA provider says it is the problem with the broker having FIFO restriction. Any clue on how to catch on the real trouble
Hi, i am getting this error when the EA tries to move the trailing stop loss SYMBOL_TRADE_FREEZE_LEVEL=3: Cannot modify order nearer than 3 points from the activation price i am running the EA on two separated MT5 platforms from 2 different brokers............one is working fine ..........the other
Hello, So, when the price gets to your limited order price , but the limited order is not executed. Every day I see a few of them. I am assuming my order is far back in the book queue and never gets a chance to be executed. But, how do you handle this condition in your EA ? I see some options: 1)
Hello, I am experiencing an issue during the verification process for publishing my Expert Advisor (EA) on the market. The strategy tester is showing the following error message: test on EURUSD,H1 (netting) 2022.02.04 18:00:00 failed instant buy 3.4 EURUSD at 1.14423 [Volume limit reached]
Hi, I got "Internal Compiler Error" message when trying build a large EA containing millions of lines of code (for testing purpose, I get tired of having to read files every test). Total data is about 4-500mb. But when I reduced the data size to ~50mb it built successfully. Is there a maximum size
test on EURUSD,H1 (netting) 2019.04.09 01:00:00 failed cancel order #21 buy limit 0.2 EURUSD at 1.12594 sl: 1.11994 tp: 1.12626 [Invalid stops] 2019.04.09 01:00:01 failed cancel order #21 buy limit 0.2 EURUSD at 1.12594 sl: 1.11994 tp: 1.12626 [Invalid stops] 2019.04.09 01:00:02 failed cancel order
#property copyright "Copyright 2024, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" #include <Trade/Trade.mqh> CTrade trade; CPositionInfo pos; COrderInfo ord; input group "=== Trading inputs ===" input double RiskPercent =
Let's say you like the performance of an EA over a certain period, but you are unwilling to use it because of the fact that it lacks any risk management features. In this case you could code another EA which applies the desired risk management and have both running on separate charts. But you are
I want to test some code I just wrote but I can't because automated trading has been disabled. Thoughts
I try send EA for validate. its Validation completed with errors test on EURUSD,H1 (netting) 2021.02 . 04 20 : 00 : 00 position stop out triggered at 45.98 % [ # 2 buy 5 EURUSD 1.2104456 tp: 1.22345 ] stop out occurred on 2 % of testing interval strategy tester report 1 total trades I try fix its
I want to enter the trade when current candle crosses high of previous candle. But issue there's something wrong that `high` is always less than previous candle high. In attached screenshot you can see it's printing high less than previous high even bullish candles are forming. void OnTick () { if
Hello, I find an Error during backtesting as shown in this pic While: void ModifyBuy ( string Symboll , double StopLoss, double TakeProfit ) { for ( int posIndex= PositionsTotal ()- 1 ; posIndex>= 0 ; posIndex-- )
I wanna calculate spread values of given currencies how can i calculate it , It would be great if there is a form or blog explaining how to calculate this
  Scalping robot  (1)
Which robot is the best for scalping
One of my MT5 installations is downloaded directly from Metaquotes, and the latest updated Build is 4866 from 15 Feb 2025 I noticed that after this latest update, the Strategy Tester now shows "Indicator" instead of "Expert" at the top in the Settings tab. Is this a bug in this Build of MT5? If
Hello. I uploaded my EA for verification but even though I coded it properly and incorporated the necessary checks it still failed the verification with "no trading operations " error. Any guidance is much appreciated
  VPS Question  (2)
I've been running an MT5 at home and at work using the same account I thought that getting a VPS and loading the charts and EAs on there would be a central spot - so i could update settings on say USDCAD EA - change the lot size or take or entry point or what ever and life would be grand i could
Hi guys like tittle i find a pluguin or similar to have a market replay for test my startegy i want know if exist somthing i try fx blue replay but i cant change my time frame anyone have somthing to suggest? thanks
Hi everyone, I'm on my first EA (with mql5) and I have some trouble. My goal: Get new datas from Calendar event after maximum 5sec. Unforthunetly I get new data sometimes after 1 minutes, sometimes 4 minutes.. It's too long ! I don't understand why, I use EventTimer() to launch the trigger who check