Expert Advisors and Automated Trading - page 249

I purchased a VPS from mql5 and have it synced up with my EA as pre instructions and made sure that the auto trade is activated. I also have the same EA activate on a demo account with the same broker but my EA on the demo account issued a buy but nothing is happening on the one on VPS. Anyone know
Hi, Can anyone tell me how accurate is back test for past result (Not future result). I know bast performance do not guarantee future result. So, here i am asking about a past result. I made a back test for EA (Oct 2020) and the result is in negative but the developer of EA said me back test provide
Hello. Can someone help me out here. I'm trying to store the OrderTakeProfit() in an extern variable. Most of the time it work's fine. but sometime the value is something like 1.325329999999999999. How do i prevent the 9999999999 to get stored
The owner of the expert advisor does not want to sell anymore. When the product is discontinued, can the previous purchasers continue to use the product
Hello, I have an EA which works fine but when it hits the stop loss it exceeds it and takes more profit. which is quite unusual for the EA to do that. Even though the take profit and stop loss has been set. The image below is a perfect example of what am saying. I really need assistance
My expert advisor compiles fine, but wont load on the tester. I created a second EA that used ChartIndicatorAdd() thinking that may be the reason the indicator isn't loading properly but same results. It is an unusual indicator because it has a user-defined starting point to calculate the signal
Hi, I have two open positions that say "aaa" and "bbb" in the position commentary. How can I get the opening and current price information of the "aaa" position
Hello, My broker have put a dot after the symbol, like "EURSD.". I try to open an "offline chart" with an indicators, but I get, for example " EURUSD ,M5" instead of "EURUSD . ,M5". The dot disappears. What can I do? thanks a lot
I know it is rather MQL4 question, than MQL5, but i know many developers are doing conversions from MQL5 to MQL4. After recent modifications it is pretty easy, but there is one catch. New MQL compilers (both from MT4 and MT5 that are similar) whilie compiling MQL4 strategies dont put the comments...
I've been trying to use the cloud network for backtest and it takes forever to do a one year test with only 3 variables that goes from 1 to 30 with 2 steps in a non 24/7 market. Sometimes it goes pretty fast and it charges me only 0.05cents and sometimes it takes several minutes to just start the
  EA Terminology  (1)
I have bought an EA and am unsure of what the settings actually refer to. e.g. 'distance' or 'DD reduction Algorithm' Can anyone refer me to a source of explanations for terms used in typical EA input settings? Much appreciated cheers
Is there an expert Opens many deals ? I need an expert to open 10 or more trades in a single moment free
I have attached a single EA on three different symbols and I have coded that onTick() returns if there's no new bar because my signals are on opening of new bar. The EA attached to different symbols run as expected most of the time, i.e. the onTick() exits if there's no new bar but sometimes it
Hello. I am having a problem when opening 2 diferentes orders at the same time, but with diferent take profit. Order 1: Volume of 3, with TP at 150000 (I just put a high value to test this case, and show the error) Order 2: Volume of 1, with TP at 91885 Buy price of both orders at 91825. When the
Hey all. Can't seem to understand why my code doesn't work, anyone can help me see what am i doing wrong? void OnTick () { //--- double op; if ( OrdersTotal () >= 1 ) { int orders = OrdersTotal (); for ( int i= 0 ; i<=orders- 1 ; i++) { op = OrderGetDouble (
I would like my EA to have separate TP and SL for when it's volatile and when it's calm. How should I detect it? (I don't want to use an indicator) Will taking the average size of all the bars in the last week be enough? Anything above it would be considered volatile? Is there a quick way to get an
I am retired person, so I have times to learn new or develop old computing abilities and also I should save my mental health in these pandemic days. So I am trying to write a combination of EA with my own preferences by using Vladimir Karputov and other developers EA's that were found in CodeBase
Hello. I am writing my first robot. Automatically, after the signal, it opens a transaction and I would like the robot not to open another one after the transaction (SL or TP) is completed. That he wouldn't do a new cycle. thank you
Hello, I got this odd warning with build 2174 during beginning of the backtest: 2019.10.14 06:18:12.405 FX5 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\E23367DD11DBEB0EF97D08185EAB7295\MQL5\Experts\EA\FX5.ex5' is not 64-bit version I did recompile the EA with the latest build of the
Hey I'm currently subscribing to a signal but I'd like to minimize the risk. Therefore I wrote an EA wich should stop the signals if my daily risk is reached. if (AccountEquity() <= minDailyEquity || AccountEquity() <= minEquity) { SignalInfoSetInteger ( SIGNAL_INFO_SUBSCRIPTION_ENABLED , 0
i want to write money management code with fix risk i ude below forumuls: double pos_lot=NormalizeDouble(margin/(sl*tick_value),2); // max lot size but it dont work in XAUUSD and XAGUSD could any body help me fix that? thanks
I'm looking for someone who can help me modify or correct the mistake in my code for a trade manager that closes all trades when its target is reached. This works perfectly with the Equity Target but fails to do the same for Pair Target. At times it works flawlessly but when reapplied on the same
Looking to create my EA to buy/sell at price == indicator value. New to programming and I have a custom indicator that creates a VWAP at a specified position. I would like the EA to buy or sell after I place my VWAP starting point. It would be a semi-automated EA as I would decide where the
void OnStart () { datetime lastCandleOpeningTime = TimeCurrent (); bool result = true ; string fileName = "BINARY OPTIONS.sqlite" ; int db = DatabaseOpen (fileName, DATABASE_OPEN_CREATE ); //Open the database if (db ==
  How to Edit Ex4 File  (13   1 2)
hi everybody. i want to know how to edit EX4 robot file ???
Hi, I have tick data save from EA save tick for 1 week on CSV ( have time and tick both bid and ask price I would like to use it for compare with other tick data Normally I use historical data from application like Tickstory and tick data suite for backtest or MT5 using from broker available on MT5
hello guys is it possible to put a link inside a Alert box or Message box and if anyone click on the link will go to the site? example: print( "press on the link to go to the site" + www.google.com + " ." ) something like that. best regards
Hi I am trying to close an order and open an order in the opposite direction automatically on MQL5 under buy and sell signal that I have already created. So, if there is a buy signal, it should close the previous sell order and open buy order at the same time. Likewise, if there is a sell signal, it
Have tried searching and implementing but cannot find correct example. Its weird because it should be needed for lot of people and should exist somewhere. Can you give a link or code for that? So far I have done by examples this double calculateLotSizeForPips( double slPips, double
[Deleted]
Hi, I just started learning MQL5 language, after studying some of the samples in the Codebase, I decided to write a Turtle trading strategy to practice the newly learnt knowledges. I successfully completed the EA and confirmed the results through backtesting , however I found the process of