General - page 919

Hi, I use normally the 5-min, 10-min charts in the EA. But I want to update or modify the StopLoss or the TakeProfit every minute. How to? Here are codes in my EA but this is for Bar-Begin. This means, if I use the 15-min chart, it will update/modify very 15 minutes. void checkTrailingStop(){   //...
Hi, I am building a multipurpose EA, with the following approximate structure: int OnTick(){ Call Very_Lengthy_Scanning_Function1(); Call Very_Lengthy_Scanning_Function2(); Call Very_Lengthy_Scanning_Function3();}void Very_Lengthy_Scanning_Function1()// many loops herevoid...
How to get profit daily from Forex market?This is very much simple for a Forex trader. You need to start trade you should be cool down your mind after you need to mental refreshment and body. Than you could be look at this market very much carefully. Than you can shut Down your computer than 10...
Most equities trading systems employed today are algorithmic.  Today, in 2018, the percentage is probably well over 90%. Source:  https://en.wikipedia.org/wiki/Algorithmic_trading But here is an eye opening statistic.  Unlike equities, only 10% of FX trades are currently made by EA's.  See FX...
In Metatrader 4 the information of the tab Signal>My Statistics is not refreshing. It is 0 always.. Could anybody help me? Thanks in advance.
MQL5.community: failed to start thread I make a EA,and EA is ok,can run.But when i use many times,the MT4 logs show MQL5.community: failed to start thread. what is wrong?
Hello guys, I am looking for an indicator which displays new day first 3 candles body high&low and candle high&low on 5 minute chart. I am attaching chart for the reference. Here, I have marked first three candles on 5 minute chart as 1, 2, & 3. I want an indicator which displays two things on new...
Hi, a question, just to be sure that it is meant what I assume: Am I right, that (in contrary to mq4) variable don't get a value 0 on their definition: // in mq4:int i; // i == 0 - at least last year//in mq5int i; // i == random It could be just another trap of the code-migrating mq4 =0 mq5....
This little piece of code: int OnInit() {   MqlRates r[];   int nR,nB = iBars(_Symbol,    PERIOD_M1);   Print(__LINE__,"  nB: ",nB,"  ",err(_LastError));ResetLastError();   nR = CopyRates(_Symbol, PERIOD_M1,D'1970.01.01',TimeCurrent(),r);   Print(__LINE__,"  0..tC,  nR: ",nR,"  "...
To make a profitable eA , It requires the professional knowledge of a real trader. The EA is a  sat nav map THAT TRADES FOR YOU , anyone can draw a map , but a correct map or in our case a profitable EA requires consistently profitable trading logic. An EA without consistently profitable logic is...
In short, I would like to have a master controlling account and have secondary accounts linked to it, so that they will do exactly like the master account does, in terms of trading. Is this possible, and how
I have read that VPS with EA has problem with dll. I have an EA on a VPS to mt4, do you believe that i have problem with this?
  MQL5freezes  (4)
MY DEMO MQL5 IT FREZZES AND DONT WANA GET I MUST FIRRT UNINSTALL AND INSTALL AGAIN CAN YOU HELP ME FIX THE PROBLEM 
Seems half the indicators don't work on Linux. Anyone found a non-Windows fix? https://www.mql5.com/en/market/product/16560#description Got that working?
  how to  (5)
how do I display  the sell and buy boxes  Please look at the picture
  Estimating margin requirements in MQL5  (73   1 2 3 4 5 ... 7 8)
An example from the contract specification of one DC where leverage is a property of the symbol, and even, as the DC writes, its rate. A question has arisen: How to evaluate the collateral of a trade in these conditions, more precisely, does OrderCheck() or OrderCalcMargin() take into account the
Some people say that one should not invest more than 2% of total balance, but why it's 2%, not 3 or 4? This 2% rule is not a formula, because every formula does not work if you change the constants. So we can say that this 2% rule is only an arbitrary number, and other people just repeated it. We
I have created a file using the Python Pandas library like this: out.to_csv("modular.csv",index=False,encoding="utf-16") Now I am trying to read the file through the Strategy Tester of the Metatrader5. But getting the following error on the Tester Window: #property tester_file "modular.csv"int...
I have installed mt4 with vps to my pc at my office, but I can't connect to my laptot at home.VPS is used only for one PC
Does anybody know what are the meanings of the initial two char. of the log-files: DO, MG, RQ, RH, CG, HN, RF, OM, DQ, IS, CR, LQ, MP, OL, DE, EK, ER, HS, IO, KF, KE, JL, ... Is it somewhere documented?
I have tried a code for copying the generated file from the tester folder to local, but I guess it is not working as I see that the return code is 2, which means file was not found. Kindly, have a look at my code: #import "shell32.dll" int ShellExecuteA(int hwnd,string Operation,string File,string...
If someone has 2 strategies with 70% win rate each one, and they have very different time entries , what's the probability of having 2 loss trades at the same sequence of trades? example sequence of trades:  X  I   I   I  X  I   I  X  I   I     strategy 1 I   X  X   I   I  I  I   X  I   I   strategy...
I want to use differents Timframe into a swicht, but program ask for a constant This do not work : constant expression required int tf1 = 5;int tf2 = 30;int tf3 = 240;calcul( tf2 );double cacul( int tf ) {   Switch( tf )     {      case tfi :      case tf2 :       case tf3 :      }return(0);}
Hi, I am new in  MQL. I want to get two MA indicator on one chart with different time frame, but then I set up  iMA() with different time frame (H1->H4)  I get empty chart without error messages.  Maybe someone can help me and say that I am doing wrong.            #property copyright "Copyright 2018...
Hello everyone, I just made the switch to Mac and am having a nightmare of a time trying to download MT5.  I've downloaded PlayOnMaC, configured Wine etc but when I get to the installation screen for MT5 a screen pops up saying "Please specify proxy server options"  This is a home laptop, I didn't...
can some one help i am trying to stop the ea from adding sizes to my terminal. its stuck on different lot sizes being added to different logins how can i delete this or control it . i have tried everything possible but with no changes
Hello Everyone, I hope you all are doing good. I want wondering, when I started one strategy tester on my MT5 terminal, only one core of mt system was used. At the same time, I thought of testing the other Expert, but I cannot. Using the reference from the documentation on starting a terminal I...
2018.07.02 13:08:19.958 Virtual Hosting 'MQL5 Amsterdam 1' failed to send status command 2018.07.02 13:09:31.959 Virtual Hosting 5941700: failed to get performance statistics (78.140.180.90:443 receive response failed [12002]) What doe that mean?
Please tell me how to make one circle with letter in? In meta trader 4 For counting elliott waves ? I hope to understand me .
Hello, Can someone help, I want a 4 digits broker. Regards