General - page 253

To post a new topic, please log in or register
Is anybody using MetaQuotes-Demo server in metatrader 5 and has the same issue with SL: ???
Hi every one, I am using MT4 and trading with TRUE ECN account. Some times chart getting 10-20 seconds for update live price. That is not always happen. Sometimes it happen with my EA and indicators. When my EA put a order then it  place after some seconds ago.  When i print TimeCurrent() on the...
I am looking for a good, reputable EA and/or trade copier provider. Also looking for a good signal provider.  New to trading, looking to work the best of these systems whilst I develop my own trades. Currently using a provider for the last few months but considering other options. Would like a...
Hi, My EA uses a Timer. It should print out "Hello World" every minute. I run this on demo live and it does as what I want. But as I back testing it, it will not print out any thing. I wonder if the EvenSetTimer() could be back tested....
  Metatrader 4 (5)
how do you download metatrader 4? it just keeps giving me metatrader 5.
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?
  Set up a VPS (3)
Hello , please help me to set a vps server , i select my broker but no option for paying or validating VPS SERVICE  need someont to tell me steps please
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?
Hi, please someone can help me to remove letters from words in a string ? thanks for any help string one = "one";double value_to_remove= -1; // this number will remove letter from words, -1, remove 1 letterstring on = " "; - QUESTION - How can i make ON string become "one" - 1 letter, = "on",...
  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
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);}