Expert Advisors and Automated Trading - page 135

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 //+------------------------------------------------------------------+ //|
Hello everyone, i am searching a lot about finding some robot for trading since i do not do any technical analysis and i found this website <Deleted> , but i am really very scared to try and risk my money on new stuff. If someone did try it please reach out and inform me about your experience with
" Embedding any limitations by time, account type or number, financial instrument, etc. into your Program is prohibited. All such actions will be considered as unfriendly to the Buyer and are prohibited." So how does MQL5 change the code within the .ex5 file to prevent copying between computers
hi everyone, i really need you help here guys, i have lots of expert advisors on mt4 and i want to batch test all of them in a specified time period of data on a symbol, and then save the reports so i can review them later, can you help me how can i do that ? except for using automatic mouse and
Hello, Quick question on good programming practices. I have a trade entry manager EA which, after the users clicks to buy/sell then tries to immediately select the ticket number (which was captured during the market order entry process). Sometimes, the EA selects it successfully (open position) with
I'm new here so sorry if this has been asked over and over. This is my literal first 5 minutes on here and not sure how to find what I'm looking for. But I'm wondering <Deleted> . <Deleted> Thank you kindly for your time
I am backtesting an EA and got an unexpected loss in my backtest results, so I tested using the Strategy Tester Visualization using the exact same data, period and parameters and the trade that leads to the loss isn't taken on on the visualized version. Is there some difference in the way the
Hi, Sometimes, when I manually change the symbol on a chart, there's a delay between the moment the chart loads from the saved cache and the moment it updates its rates info and prints the new ticks/bars received from the server. This is rare but sometimes the delay is long enough that it results in