Expert Advisors and Automated Trading - page 280

MqlTick Tab [] ; ulong d = ( ulong )( D'2019.12.17 10:00:00' ) ; void OnStart (){ CopyTicks ( _Symbol ,Tab, COPY_TICKS_ALL ,d, 1 ) Print (Tab[ 0 ].time ); } I'm trying to get a tick but when i check it by printing tick's date i get 2011.12.19 00:00:08 and if i replace COPY_TICKS_ALL by
Hi, I'm converting my EA from mql4 to mql5 and I'm stuck with Bars function please help, I'm going mad... int cntFromNow(datetime barDate) { return Bars(_Symbol, _Period, Time[0], barDate); }
  Compile as One  (2)
Hello, does anybody knows or have any idea how to.. compile indicator and EA as one compile(indicator.ex4+EA.ex4)=newEA.ex4 OR compile(indicator.ex5+EA.ex5)=newEA.ex5 Thanks :)
Hi everyone, as refer to the picture below, i had purchase a copytrade from signal area and when it come to fill up for the "Deviation/ Slippage" column, i not sure what is the numbers should i fill or pick? what is the number should i filled up in the Deviation/Slippage column? Thanks to anyone who
Hi all, I am a beginner here and new to EA. I have a third party indicator and would like to make auto trading based on the signal. However, I am not sure how to get the value in EA. From doc, I know there is function called iCustom to get indicator value but I always get 0 from the return
Hi, does someone has information about the possibility to load the Event Calendar from MT5 into an EA Script? Would be nice if anybody could help me with that.   Thanks. tMAE 
  Autotrading  (7)
Hi, I'm a beginner here. I started trading and I'm trying to have auto trading. I don't know how to set it up? I click on the icon but I can't set anything else. Can you help me? Thanks
  Robot software  (1)
can you please assist me on howncan I get a robot software that will help to trade. I am trading under XM
Hello, What is the correct way to proceed if you have several strategies that can be applied to the same symbol? How to distinguish a purchase or a sale related to this strategy or to this other strategy? Thanks, Pierre8r
Good morning :) One (not really easy) question about protecting expert advisors: I have developed some EAs and now I want to rent them out. Therefore, these EAs should be controlled via an online system, so that I have the possibility to give and remove the functionality of the expert advisors (e.g
Hello, Please could someone advise me? I have an EA running on a chart, it has a magic number: "100" I rename the EA in Data Folder > MQL5 > Experts folder while the EA is still running (no code is changed) I refresh the Navigator window and the name change shows up I drag the EA with the new name
//+------------------------------------------------------------------+//| PivotPointUniversal.mq5 |//| Copyright VDV Soft |//| vdv_2001@mail.ru
https://www.mql5.com/en/docs/eventfunctions/eventsettimer From the doc, I can see there is no timer ID. No way to tell which is which, so there is only one timer is allowed in each EA?
Hello, everyone! First and foremost - happy New Year to every single one of You!:) Wanted to ask about MQL5's VPS. In rules, it is being said that it is possible to migrate up to 32 charts to VPS, however, I need to migrate...39 charts. What could be the solution here? 2 platforms, both running the
Hi, everyone. I'm searching for an expert based on fibonacci retration, but one configurable that i can set the line of oppening order, take profit line and stop loss line. Example: My order is set before 100.0 fibonacci level, my stop loss after that, and my take profit before 61.8 [to a sell
Hi guys, I'm trying to get a value of a variable from a custom indicator using CopyBuffer without succes and I don't understand why. This is my Indicator file mql5 double CandlesticksPatterns[1];-----------------------------------------//I've set the array 1 because if empty i get error 4806 (I
Does anyone know if the new update of the Windows version will give problems with the installed EA? Regards
Regarding the EA modification, how to modify the pending order for immediate execution
Hello. I just new to EA trading. I see an EA which prefer in M1 Timeframe. I began to test it on strategy tester, but the report said that the Quality Score only 25. How do i solve this problem? I have tried to add the Historical Data for M1 Timeframe but seems doesnt work at all. The Testing
Good evening, I'd like your opinion. I am a programmer. I have recently started using MQL4 I made an EA for a specific change and these are the results in the years 2018 and 2019. I would like to know if it is a good result, what parameters are to be improved, and if this EA can have a commercial
  MofidTrader  (3)
why any expert advisors don't work for TSE assets
how can I make my indicator that givs buy arrow and sell arrow work as an expert advisor
Hi, I have encountered an interesting issue - my live account with a particular broker has 1:30 leverage (and that's also what ACCOUNT_LEVERAGE property says), but for some instrument types (cryptocurrency-based CFDs, e.g. BTCUSD) the leverage is reduced to 1:2 instead of 1:30. Nevertheless, when I
hi all, i want to do a currency strength type of EA So, let's say i want to long EU I want to see if euro part of the pair is in also long in EJ, EG so is it possible to automatically identify Eur in the EU on my chart and then find the euro direction from EJ, EG ? hope you understand my...
What is the maximum lenght of the body that GET request can send in MQL4 (I am using webrequest) ? Also Can I extend it
Hello, i'm trying to write expert advisor to send alert signal to a microcontroller board attached to my computer in COM3. I inspired to try this when i saw video on youtube to communicate to arduino with C++ languange (code attached). I have already upload the code to arduino and it's look like
Hi, I`ve been trying to create an EA but i am having trouble with the Trailing Stop, i have tried everything and it wont work, when i compile everything is fine, no errors, but when i simulate the Trailing Stop does nothing. I would like that everytime i am having 40points gain, my stop loss would
hello Can I make the strategy tester visual mode runs faster
I used EA for trading by MQL5 VPS. But when I removed EA from chart, go out and turn off my laptop. When I came back home and turn on laptop, the EA automatically triggered one entry. Then, I stop connected to server MQL5, manually exit the entry. Then I turn on MQL5 server on Navigator tab, even
Hi folks, I'm facing some issues, because when I'm running a backtesting in "Real Tick" mode, the prices between ticks and m1 (one minute chart) are not matching. Because of that, my EA is getting differente prices. I don't know why MT5 need to use one minute data when we are running "real tick"