Expert Advisors and Automated Trading - page 135

hello mql5 community i have some enquiries on mt4 backtesting, if you have solutions share them. 1- backtesting works on us indices and energies but rest of market forex cryptos asian and european instruments says waiting for updates! (all can be attached on charts but issue on backtesting). 2-
i am fairly new to coding. its been two days since i have been working on this. compiling it brings 2 errors, i have checked the trade mqh file for help. but made more errors on the way. here is the code
Is there a way to make the market watch screen inaccessible from MT4? Or if not that, disable market orders from being placed with code
hi Everyone ! Can you help me to find an EA that closes all orders of specific magic number when the sum of all those trades are +x$ Thanks
I am migrating from MQL4 to 5 and having a bump ride. This order placement function I wrote isn't working. I get this error message: '61059710': failed market buy 0.01 BTCUSD [Unsupported filling mode] Can someone please help me get it right? void orderOpen( string action) { if (
Hi All, I am using MT5 on a demo account. I've created a custom symbol (EURUSD.custom), imported the same settings of EURUSD. imported 1 min bar data and tick data. When backtesting any EA (Simple MA cross), whenever I reach OrderSend() function, it through the error "failed market sell 0.01
MT5 seems to be a lot slower than MT4. I have labels that give me information in real time, for example PositionsTotal(), and it takes about two or three seconds to update after an order is placed. At first I thought it was just a slow GUI problem, but it's much worse and more concerning. I have
Hi all, I want to ask what happens if I register the EA to the VPS, when the EA creates and reads SQLite DB files? If possible, is the location of the SQLite file will be on the same cloud server or on local? And what about adding SQLite file to existing EA that already registered to the VPS For
There doesn't seem to be any information (SymbolInfo) about a full pip. Most brokers are providing 1/10 pip, which can be read out via 1/DIGIT, POINT, TICKSIZE. However, when calculating the profit using TICKVALUE, the value gets 10 times higher then the Terminal calculates (by falsely considering
All, How to close all opened positions in MQL5. Need your sample please
I tried sending an async order with the following parameters: ------------RequestDescription Trade action: TRADE_ACTION_PENDING Trade symbol: EURUSD Magic number: 0 Order ticket: 0 Order type: ORDER_TYPE_SELL Order filling: ORDER_FILLING_RETURN Order time type: ORDER_TIME_GTC Order expiration
I have this code in a loop: if ( OrdersTotal () > 0 ) { monitorTrade(); } if ( OrdersTotal () == 0 ) { orderOpen( "buy" ); return ; } I expected the EA to never open more than one single order at a time, but it sends many until I disable it. I put the output of OrdersTotal() in a label and
Hey guys, So I've got a big question. I've got this EA for the prop firm trading and I just dont want them to find out about this EA. Is there any ways to make sure that brokers would think that my EA trades are manual trades? I mean does the EA's leave any traces for the brokers? Many thanks in
Hey all. I now have a MQL5 account, an MT4 account, a broker and a signal on TG that I would like to follow and have MT4 trade automatically. Where do I start? Oh - and bonus question: Where do I put the money that I want to trade with - MQL5, MT4 or the broker? Thank you
Hello Guys. I created a panel with buttons and combo boxes but they are interacting with each other. Please help
Hello guys. Please I built a trading panel. But the Amount and RR in Combo Box target 1 is interfering with the demand and supply buttons respectively. Please help me check what I'm doing wrong. Thanks
I want to fetch the 5 minute timeframe ohlc date between two specified date. And here is my code in python below_ from datetime import datetime from datetime import date import MetaTrader5 as mt5 import pandas as pd import pytz from tqdm import tqdm import plotly.express as px mt5.initialize() login
Hi there. I am interested in creating an EA that will do the following: 1 - I will trigger the first trade on current market value from my mobile device. The stop loss for this should be set to -10 by default. 2 - The metatrader platform running on a pc will then need to execute an EA that create a
My ea is about openning trades once a an iput percantage change in the daily change is hit. I needut to throw an alert when a trade is openned and closed
[Deleted]
  Coding Zig Zag  (3)
I want to code Zig Zag into an EA. The Zig Zag custom indicator that i imported into the EA Builder program comes with three Buffers.  Hi, Low and Zig Zag buffers.   But on the chart , the data window only shows the one Zig Zag buffer and it only has a value at the points where the line is drawn to...
Hi All, Hope all is well. I am looking for an EA that automatically places stop losses and take profits based on ATR levels on all charts/pairs with defined R:R level e.g 1:3RR. I would also like this EA to breakeven on 1:1 and close half of the positin at 1:1 ATR value. Please let me know your
Hi Im having some difficulty with coding a multi stage acceptance to open a trade and I hoping someone can help there are 4 indicators that need to return true values to open a code. Im trying to expand this to add a 5th and 6th indicator combination to reduce drawdown. what im tring to achive is
Hi, is it possible for my Forex broker to know the name of the EA mt4 that is running on my VPS? Regards, Paul
How to calculate the time of the last two TICK (ms) and the price?
I have an ea that implements crossover along with trading stop but what I want to happen while the trade is in a trend how can I switch off the crossover buy/sell order and just let the ts do the job
Hello, is it possible to check if market is open or closed for a symbol using Metatrader5 python API? Thanks for help
Hello friends, The following function is designed to search the history of the deals then it breaks when it finds the first deal out from below. Is there a way in MQL5 to find the second or the third deal from below, and extract information from it
  Machine learning for robots  (112   1 2 3 4 5 ... 11 12)
Hi all, I am doing machine learning (ML) of EAs and indicators and have decided to bring my experiments to the public for discussion. Experiments include generating initial tasks - templates, machine learning, creating robots - EAs or indicators, and testing them. To try it out, I have already
I am creating an EA that can send me alerts based on my buy and sell conditions. But I have difficulties in my programming. - how to code the crosses up of the DI_plus and DI_minus of the ADX of WILDER? - how to code the closing of the last candles above or below the Moving Average ? - what are the
When I tried to trade on demo account my codes do not place trades. However, everything seems fine on Strategy Tester. No errors in Expert Tab or Logs. Yes the code compiles //+------------------------------------------------------------------+ //|