Expert Advisors and Automated Trading - page 193

Hi folks, I have problem with my backtesting as you see from both pictures. The first one is every tick modelling and it's working fine but the second one, every tick based on real ticks, seems not working properly. I have never had this issue before so I try to reinstall everything but it doesn't
Hey, i want to know if it's possible to make an ea that will detect support and resistance levels as well as trendlines. If so, please guide me on how I can ho about creating one, thanks in advance
Can a EA be coded to change the time frame when a trade is opened and then return to the original time frame when the trade closes
Hello, I'm using the FileReadStruct function to read and copy data from a CSV file. However, the algo returns the 'array out of range' error (see execution_report file). I'm following the documentation available on https://www.mql5.com/en/docs/files/filereadstruct The CSV contains three columns
Hi again, In back-tests, usually we see both maximal and relative DD. Which one will be concidered in real time trading (or a copeid signal), maximal or relative DD? Regards
I guess the problem in the EA I'm writing now may be related to this. Does anyone know the answer to this question? thanks for answer
Hello all, I have been working on learning how to code an EA from scratch. I started in MQL4 and then moved it over to MQL5. I've made some mistakes and reworked it several times. And I'm posting for a critique of my coding style and ability. DISCLAIMER: NO I am not looking for anyone to code or
#include<Trade\Trade.mqh> CTrade trade; int OnStart () { double g; int m,s,k; m =Time[ 0 ] + Period ()* 60 - TimeCurrent (); g=m/ 60.0 ; s=m% 60 ; m=(m-s)/ 60 ; double OPen[]; double Close[]; double High[]; double Low[]; void OnTick () { double Ask=
After my EA is connected to the VPS, there is a certain difference between the order opened in the real market and the backtest of the original strategy the next day. I use the ticks backtest. Some orders are very accurate,from one second or one point , but some orders are not opened. The VPS I use
Hello MT5 programmers. I've been putting together a multi-symbol EA and am sharing the part of the expert that may be of some interest to some of you. Please note that I am no programmer and have only started using MT5 in the last 2 weeks, so the code is by no means elegant nor probably very...
Hi: Seeing if anyone can guide me the basics of calling calculations into Metatrader. I will have mouse events be used as inputs into a spreadsheet that will do some calculations. Then the outputs will display on the chart. Does the main calculation program have to be a specific language, e.g. could
when I download any expert to my mt5 >>>dont work...even any utility ... bt when I download to mt4 it works..can any one help me...also in strategy tester .. I get ...faild
  Rsi trading bot  (2)
hi, im after a bot that trade XAUUSD for 15 min rsi below 30 to buy and if price goes 2$ low then buy again. if price is above 70 RSi then sell and if price goes more 2$ above then sell again. <Deleted> thanks
  Weekend evening  (664   1 2 3 4 5 ... 66 67)
This topic is open only on weekends and accepts requests for "quick batch MQL5 EA". I reserve the right to agree to make an EA as well as to refuse :) If an EA appears, its code MUST be published OPEN. Note: the weekend term - Late Friday Evening, All Saturday and Sunday. EA "OSYuWwJk EA.mq5 " EA
I am using my ea it works in GMT+2 (Winter Time) My EA Works Very Well And On Time ( Winter Time ) And Recently The Broker I'm Using Has Changed To Summer Time GMT +3 My EA Can't Open Trades From 0 Hour To 1 Hour (According to Broker) I Changed EA Settings To Broker Current Time But My EA Can Only
Under the MetaEditor5 Debug menu there is an option "Start on History Data", however it is disabled (greyed out). Reading through the help file indicates that I need to set Debug options to use specific settings which I have done (see attachment), however the menu item is still disabled (greyed out)
Dear Coders I know that there is already ZigZag custom Indicator in both. However I am looking for a ZigZag Function which does the same job as ZigZag Custom Indicator. For eample, I need something like this. //This should work on MQL5 language. Code must be self sufficient without any...
Does anybody know some CSV format adjusting script to change ASK and BID in the right places for correct MT5 import ticks? Dukascopy has this format: Time (UTC), Ask , Bid ,AskVolume,BidVolume 2022.04 . 01 00 : 00 : 00.107 , 1.31462 , 1.3145 , 1.34 , 0.12 but for correct imports need change ASK and
GDI cache pen insertion error, cache size: 22, cache max: 503, Brush once per TICK, does anyone know what the problem is,Thank you!
I have a EA for MT4 , working on currencies heat-map, trending pair percentage should be met in order to EA trigger a trade. Ea sometimes trigger wrongly trades. Don’t know if I am posting correctly here, I need someone to fix it ( not for free). Thanks
  re quote in mt5  (5)
How to fix re quote problem in mt5 expert adviser
[Deleted]
Hello, I need to find some articles on how to calculate automatic GMT time or code related to automatic GMT calculation. Please help me, thank you
Hi all, I'm having a problem as to why StringGetCharacter is preventing my ea from trailing. #property copyright "Copyright 2022, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" #property strict #include <Trade\Trade.mqh> #include <Trade\SymbolInfo.mqh>
Hi there community, There's a problem on closing several positions from the pool by FIFO rule with this code. It seems to be working ok on EAs through the strategy tester, even throwing better results than LIFO close, but for some reason it's not working fine on live trading. Made the code as simple
I face this issue every once in a while, due to faulty electricity and some strange power problems in my pc the computer turns off after power up I found out that all the code on the mq5 file is completely gone Once I thought this was HDD errors which had troubles but now I have more reliable
Hi, on the MetaTrader5 terminal, when we click on HISTORY, and then right click on HISTORY we can download a REPORT file (HTML). There usefull information that get shown on this file. Such as : balance Drawdown Maximal, Short Trades (won %), Long Trades (won %) and so on... I was wondering, is there
Good night, Years ago I ordered an EA based on an indicator's signal. I have the EA and the source code, I would need to make an adjustment but I can't find the programmer anymore. I have basic knowledge in other languages ​​and would like a basic help for me to try to make the change. What happens
Hi everyone! I want to change the property "indicator_applied_price", using a parameter. I know to how create a parameter but I couldn't find how to apply the parameter to the indicator. I've tried plotindexset and indicatorset, but I've not found where to use the parameter. Can someone help me
Hello, I can't see a 'straight forward' way of creating a table on a chart, in the simplicity that Pinescript offers the table.new() and table.cell() functions - is the easiest solution to create a table using ObjectCreate() and OBJ_TREND? I'm interested in making a handy strength indicator for MT5
Hello, I like to enable the mobile notifications on my MT5 terminal so I can see when my EA is opening new trades & when they are closed etc. However I get SPAMMED when my trailing stop modifies trades or fails to modify trades. Is there a way to limit what gets sent through to the mobile push