MQL4 and MetaTrader 4 - page 966

[Deleted]
it start here: https://www.mql5.com/en/forum/143085/page3 and thise is the code: #property copyright "Copyright © 2009, MetaQuotes Software Corp."#property link      "http://www.metaquotes.net" extern int Digits2Round = 2;  // Floating point rounding extern int PercentOfFreeDepo = 1; // Risk...
Hello, I have a problem downloading history of price in metatrader. When I get the download history at History Center, I realize it was missing several months between fev/2012 and dez/2012. Other months it downloads correct. Anyone know why? Or how I can download safely? Thank you.
[Deleted]
//======================= condition for ORDER BUY ===============================  if  (Check1 >= Threshold && Check2 >= Threshold && O<H)       {        ticket=OrderSend(Symbol(),OP_BUYSTOP,Lot,H+P+Spread,0,H+P-SL+Spread,H+P+TP+Spread,NULL,0,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);           if...
[Deleted]
Using MQ4, how how can I get the ask price of a pair from three seconds ago?  This does NOT work: price_3_seconds_ago = MarketInfo(pair, MODE_BID, -3);
[Deleted]
Hi, I trying to coding a indicator with multi Time Frame. Here are the code, But below code the data is count from right to left. can some one help me to opposite the code, so the data is read from left to right?? Thanks Lot! ;)    ArrayCopySeries(TimeArray_H1,MODE_TIME,Symbol(),Period_H1);...
[Deleted]
Hi guys, i have a new question, simple i think. So when for example it's 15:00, i want to know the open price of the candle which time was 9:00. if (TC >= 15 : 00 ) { if (Openprice < iclose(symbol(), period_H1, 1 ) { Action } } So how to write code to obtain the Openprice of the
[Deleted]
What I want to do ultimately is pass the History array to my C# DLL where I can do lots of cool things :) I found this C# and metatrader tutorial to work great with MT4 (not MT5 64 bit) http://www.codeguru.com/csharp/.net/cpp_managed/windowsservices/article.php/c14735/ The tutorial passes a string...
I am using a support/resistance indicator but it only sets to 1 timefame, 1440. So when attatched to a chart it only updates or reads from the 1440 chart, the only thing i have managed to come up with is, If i where to add this line extern string note_TimeFrames =
[Deleted]
From the following test file my metatrader only takes the blue values (when I import them into the history center) 2012.01.02,08:04:00,5890,5893,5890,5892.5,22 2012.01.02,08:05:00,5895.5,5897,5894,5894,39 2012.01.02,08:06:00,5894,5895.5,5894,5895,8 2012.01.02,08:07:00,5894,5894,5893,5893.5,4
Hi,  I have been reading with no luck trying to find out if by any means is it possible for an Indicator or EA to reload another indicator on the chart with new/different settings automatically??    Thank You 
  news tab missing  (4)
hey everybody i've a problem with my mt4 plattform and can't solve it by myself. Since that day, there is no "news tab" anymore at my plattform!? Anybody an idea how I get my "news tab" back? :) best regards from austria
[Deleted]
Hi, I looking for answer at this situation. I have easy code, two or more object overlay with the same parameter , color is different. In both cases I am always seeing on graph yellow line . Why I don´t see once blue line and once yellow line? Thank you for help. ObjectCreate ( "carah4"
  Forex systems  (140   1 2 3 4 5 ... 13 14)
Strategy for accurate signals GBP, CHF, JPY, GBPJPY, GBPCHF. There are three types of demand in the Forex market: traded instruments accurate price forecasts credits for traders This posting is dedicated to the exact pips forecasts for any of five days of week, which are freely available to all
Hi Forum, hoping someone might help me understand how MetaEditor is set up after multiple installations, so I can fix a problem. I have multiple MT4 installations on my PC and no matter which version of MT4 (different brokers) I have open, when I launch MetaEditor, I experience a couple of annoying
[Deleted]
hello friends  i have a question  about pending order:  i have 2 pending orders  buy and sell once one of them hit i what to close the other  .  i am  just a newbe mql programer  and its beyond my ability right now.   any direction friends????     many thanks. 
[Deleted]
I just wrote my grid program, took two weeks and the result is a program that that only open order at the first level and fails to open on the subsequent levels. i wanted it to open on the levels as ask price goes above the grid levels but its not doing this. The program is attached , will...
[Deleted]
Hi, Is there anywhere I can find the mq4 file for the Moving Average indicator, the default one that comes with MT4? It's one of the only indicators that will work when applied to another indicator window that I am using but I need the code so I can try to amend it creating an envelope/band type...
Hi, I have tried to create the code for this EA to buy when the MA_High is greater then the MA_Low and sell when the MA_Low is less then the MA_High, I can't get it to send the orders and close the orders. Any assistance would be appreciated. Thanks    
[Deleted]
double valueA; double valueB;  double valueC;  valueA=0.04; valueB=-0.02; valueC=0.02;  double CurrMinPrev=iHigh(NULL,PERIOD_H1,0)-iLow(NULL,PERIOD_H1,10)  if(CurrMinPrev> valueA)     //   if this condition is met        double CurrMinPrevB=iHigh(NULL,PERIOD_M1,0)-iLow( NULL,PERIOD_M1,6)...
Testing code like this: int start() { //---- Print("IndicatorCounted=", IndicatorCounted()); //---- return(0); } Sometimes, the printed message is: 15:42:50 DayIndic EURUSD ,Daily: loaded successfully 15:42:50 DayIndic EURUSD,Daily: initialized 15:42:50 DayIndic EURUSD,Daily: IndicatorCounted=0
-
Hi All, I found that at terminal starting, all Random calls from different places starts with the same sequence of pseudo-random numbers. Even after MathSrand(TimeLocal()) call, because TimeLocal() gives the same second at terminal start. Here is a code snippet, that solves this problem, I thought...
I am having the greatest trouble in finding an indicator/template/script/Ea to put on my MT4 platform for CONSTANT RANGE/RENKO bars (I think they are the same).  I have looked on the online library on 2 MT4 platforms - no joy. Both of these platform helplines don't want to know either. The many...
Hi:  Question about maximum objects for an indicator.   Are the maximum objects limited by the buffers which I read is 8?  I have an indicator that uses a variation depending on the equation - it can range from 4 to 15.   I see that the Zup indicator can output 20-40 objects so I am not sure I fully...
-
Hello community! I am an absolute rooky in "programming" indicators or expert adisors. I am not a programmer, but I will do my very best for understanding the code, before combining it with code from other indicators. So I am not programmer, but rather a "combiner". :-) But now I have a problem I
hello traders , i need your help to create simple EA for 5 digit broker if i drag EA to chart : appear input box : order : 0 for buy , 1 for sell TP : i can set the pips value Hedging : i can set the pips value for hedging  ( if i order buy , so this EA will make pending order sell which pipstep...
hi coders, can u provide me bbands stop EA code  thanks 
Hello MT4 Community I have been trading on this platform for a short while now, I trade each time time with fixed parameters for the TP and SL set at 10pips either way. The MT4 platform with aplari allows you to take a snapshot of your trading terminal, but i would like to know how it might be
Hi hope someone might help me with this query. Instead of having a horizontal line across my entire chart at calculated price levels, I wish to: control the length of the horizontal line; and reference the line's  horizontal position relative to the chart window (not time); andhave the lines...
can we send ask() ,bid(),through sendmail() function??????
Hi, I have created an ea with an OrderModify to add a Stop Loss to an open order, but every time it is executed, I receive a 141 error (too many requests). I don't know why. Can you help me, please? Thank you