MQL4 and MetaTrader 4 - page 1110

anyone can calculate the max reasonable lotsize before you enter a trade if the accountstopoutlevel is 100 which means if the margin level reaches 100%, the account will be stopout.
New article Using MetaTrader 5 as a Signal Provider for MetaTrader 4 is published at mql5.com: Analyse and examples of techniques how trading analysis can be performed on MetaTrader 5 platform, but executed by MetaTrader 4. Article will show you how to create simple signal provider in your...
[Deleted]
Hi everyone, been using this forum a lot in the last months, just registered to have a little question taken out that i havent been able to solve or find solution online. this is an EA i have been playing for 2 days to detect doji candles (its a code in progress) but im having a problem with the...
[Deleted]
I believe there is a way to intergrate the use of Microsoft Access into MetaTrader 4. I searched but it gave me a dozen pages addressing errors. Can someone direct me to or give me an example of the code to integrate? Thanks in advance.
[Deleted]
1. When I download history from Metaquotes for EURUSD I end up with a gap from 6/11 - 9/11 has anyone else had this issue? 2. How accurate is history from Metaquotes? 3. Is there a better place to get pricse data downloads from either for free or at a charge? thanks K
[Deleted]
Hello, Can anybody help me with code? I want to create an indicator, drawing vline since 1970.01.01 after every 1000000.54 seconds. I wrote something like this but it doesn't work: int start()  {        datetime nl = 1000000.54;        datetime start =  StrToTime("1970.1.1 00:00");        int...
I've got an EA which opens a trade for me and sets a target level which it monitors. It closes the trade when that level is approached and certain other criteria are reached - so it's not as simple as setting a take profit on the trade. I use the EA for a number of different currency pairs but there...
-
for(cnt=0;cnt<total;cnt++)     {          //set trailing stop     if (OrderType() == OP_BUY)      {         if ((Bid - OrderOpenPrice()) > TrailingStop*Point)         {            if (OrderStopLoss() < (Bid - TrailingStop*Point) )            {               OrderModify(OrderTicket(),...
I downloaded automatic stoploss EA from database which changes price to BE at choosen price. But i would like to change the price to +1 intstead of BE, because i practice on ECN account and there is commision, so instead of BE i would always lose some amount. This change i think is easy, but i...
[Deleted]
Hello I want to show the computer time (my local standard time) in chart window. if somebody know please advice me how to code it. million thanks mithetnme
Hi guys. A quick question, but I have tried many things. I have been closing parts of orders, and then basing decisions of the rest on the part of the order that is still in MODE_TRADES, and unfortunately it uses the info from the orders from MODE_HISTORY at the same time (even if I give that ticket
[Deleted]
Hello all, I'm wondering if there is a way to downgrade metaTrader to previous build? Thanks!
  BIAS Indicator  (1)
//+------------------------------------------------------------------------+ //| BIAS.mq4 | //| Copyright ?2011, MetaQuotes Software Corp. | //| http://www.sedofx.com/ | //+----------------------------------------------------------------------------+ #property copyright "Copyright ?2011, MetaQuotes...
[Deleted]
hi to all.... i have an ask about Symbol type.... in MQL4 is there are any method to know if actual Symbol is a Forex Pair, CFD, Future or other...
[Deleted]
  icustom problems  (5)
Hi all, Recently I have started learning to make custom indicators. I figured that a good learning project would be to make the kaufman adaptive moving average. With the help from the indicators I found in the the code base and the documentation on this subject I have made the attached indicator....
-
  language file  (2)
Hi. I have done new language file, but I need either Multilanguage pack to use or then help to complete that file by MetaQuotes. Anyone here who can help with that issue?
  Stocks Data  (2)
How can I upload historic data of stocks and eod daily data into metatrader?
[Deleted]
Hello, Is this website good for ........ thanks in advance,
[Deleted]
Hello, I m be trading manual a system that could be profitable. The system that I am trying to do (hedge) is open eurusd, gbpusd, usdchf and usdjpy (all BUY, and all 1 lot). When the sumatory of this 4 trades get a profit of 100 U$S, then I close all trades and re-open the same 4 trades. I am using
Hello, i have 4 accounts and i want at all 4 account simultan trades. i want to create an EA. I want to use 1 Account with my manually trades and all this trades must an signal to my own EA. And all my other 3 Acccount must only have my own EA and Activate it and then open and close all 4 accounts...
  need help!!  (2)
void PlaceOrder()  {   Print("J is 0");   if(Hour()==16)     {      Print("J is 1");     }  }  void start()  {    PlaceOrder();  }   when i run this, it only went through "Print("J is 0")",it wont go to the step "Print("J is 1")", does someone know why? Thanks for your time, i appreciate your helps!...
[Deleted]
Could someone know where have to put the end program bracket?. Thank you very much #property copyright "Copyright © 2006, Taylor Stockwell"#property link      "stockwet@yahoo.com"#property show_inputsextern string Symbol_1 = "EURUSD";extern bool S1_Buy = true;extern double S1_Lots = 1.0;extern...
Hi, Can I display inputbox with prompt about password with field mask char characters like this: ******* ? If yes, then how to do it using any library (and what library) and what syntax use in MQL4? Rgds,
[Deleted]
Can someone please help me with this. I want to be able to have only two or three day's displayed on my charts but I have tried and and tried without any success. I have tried the magnification buttons, the chart shift buttons but I am unable to have it showing as I want it. Help please
Hi, can I control an ex-4-EA with another EA, which I program
[Deleted]
Hello! I've made an EA (with debugging help from RaptorUK, thanx for that :) ) that should open and close trades at specific time. Opening works properly, and everything else, but close_all doesn't work at all... Here is the piece of the code I found online and inserted: void closeall() {  double...
[Deleted]
Hello friends, we are going to develop our site and i want to put the widget like scrolling live update of currency . so Any one know how we get the code or script for the live update of currency in mq4... please help me.....
Hi, Since last Friday the 4th of November I can't open MetaTrader 4 anymore. When I opened it in the morning I received a message saying it would update the software and soon after the MetaTrader window became small and then it freezed. After many tries I uninstalled the software and re installed it...
[Deleted]
Hi! First of all; my EA is coming along great thanks to mq4l.com & FF.com! Thanks for all the help! However, i'm afraid i'm stuck again. - I have a signalup & signaldown value; double signalup=iCustom(Symbol(),0,"Xochi",1,1);double signaldown=iCustom(Symbol(),0,"Xochi",2,1);   if (signalup...
I have continuously received error message ' Old Version ' whenever I log on to my MT4 Demo . Also there is no connection to the server. I tried to download another MT4 Demo but could not access Meta Trader Custom indicators from 2005 -2009, some of which I require for my trading. Could any one...