Download MetaTrader 5

MQL4 and MetaTrader 4 - page 125

To post a new topic, please log in or register
i can't get anything related to another timeframe plot correctly in my time frame i am using. Lets say i am in the 1 min chart and want to plot data from the 5 min, i want 5 min upbars plot as up arrow in 1min chat and 5min < 30 RSI, plot as down arrow in my 1 min chart, here is my code (not doing...
I would like to shade the area between two emas. I know there has been some discussion on this, but I can't find the right solution... I just bought a dell alienware, and it has a 4k screen. So I thought I would mention that I am dealing with high resolution. However, there are two ichimoku...
  Scam Aware! (2)
Hi guys, I just want to inform you of the latest scam binary options software called 3 week millionaire released into the market by those scam developers. Please beware of the developer and his fake software and take note that his main aim is to make you lose money not to gain it. Once you subscribe...
Hi Guys, Is there a way for the mql4 program (EA) to know these data during testing or optimization? A simple example: I would like to print out on the chart the time interval the tester is running on or the actual profit factor, etc., on the fly anything from the final report. Thank you.
I use a button to put Pivot Points on the chart. That works. Now I want a button that puts a indicator on the chart. Can anybody help? Thanks 
Have you had this issue? When I use Control classes( CAppDialog ) to create a EA, I have this issue in some chart window. If you know what the answer is, please tell me. Thank you. 
I have been using the MetaTrader 4 app on my android for over a month, worked great for what I was using it for. One morning, I logged in around 7:00 am, worked fine. Tried logging in later that morning around 10:00 am and I got the error, Authorization Failed. I contacted the broker to see if...
Hi Can i have both MT4 and MT5 program? or will downloading MT5 replace the MT4 program i have now? Thank you!
I'm supposing to make a separate chart window MTF multi-meter using iMA. Actually, its a rather big one using 6 moving averages and depicting crosses which are 3 per time-frame & 27 in total. I've constructed a current period prototype that counts to 0 .. how to make multi-time frame ? Have a look...
When I click on a (standard/normal/OBJ_BUTTON) button, if the click is at or near a horizontal line, the line will be selected too (because the option "Select object by single mouse click" is activated), which is undesireable for me. How can I make it so that only the button is clicked and NOT other...
Could we discuss what Fibonacci levels are exactly like if we were going to make internal variables of Fibonacci level prices? They seem to be a percentage of a price so for example between 1.1346 and 1.1549 we have 0.0203 pips .. how do we get fibo prices from the levels without using the fibo tool...
Hello  Where is the problem with the small code below. Idea is to buy after a candle crosses "overSold".   Do you have a code which functiones (regardless of indicator). I need to find principle for "candle crossing"...         int start() { //---- if(Bars<=RSIPeriod) return(0); //---- i=RSIPeriod;...
Hi I was working on a expert adivsor based on an indicator. However, once I load the indicator on to the chart the indicator shows the buy and sell arrows on the chart but unfortunately the values are not being shown in the Data window. How do I get buffer values for the up and down arrow? So that I...
Hello Good People, I've been trying to use MA_AngleZeroSigMA in my EA for a while with no success. My code uses a total of 7 indicators with a filter region. All indicators work perfectly and take trades excerpt MA_AngleZeroSigMA. I had to make slight repairs to MA_AngleZeroSigMA indicator and...
I know this is going to seem a bizarre request to many of you but is there a way to move the chart over by 30 minutes.  By this I mean where currently a 1hr bar shows the activity from 8:00 - 9:00, 9:00 - 10:00, etc, is it possible to have the hourly bars showing the activity from 7:30 - 8:30, 8:30...
Before I go any further, let me say that I have searched carefully using the forum search feature and using Google, and while I am aware that there are many threads over the years about unmatched data errors, NONE that I found addressed the issue I am facing. Following advice in many of those posts,...
Hi, I'm very serious about taking advantage of algotrading. However, the modelling quality of my bactest is 50% or less. Even with that number, I'm printing out the time of the tick and I'm getting it every 3 seconds or so. My strategy is based on hourly candlesticks and getting a price update every...
hi guy i have  a questions i  have created a EA , but i see  a  strange effect . when i attach it  in USDCAD , only  in  one  cross EA , work good ,  but  when i  attach in  twice or more  cross , i dont know  why  the  EA interact , i  use different magic number.   some one have idea??? thankz so...
Hi Guys,   i want to calculate MA cross over on MACD in mt4 its easy u just MA to "first indicator's data" and thats it! however when i try to do this with MQL it says "ENUM_APPLIED_PRICE" Can't convert Enum coz by any means this will be 8th but on help file it has from 0~6 so wondering how to...
Hi, Is there any indicator to find the 'Support/Resistance for last 1 hour or 4 hour' that I can use in Expert Advisor  . Thanks Ajay
I understand that prev_calculated = 0 is passed to the first call of OnCalculate then it is incremented each time by one? So inside OnCalculate, how would I handle all bars that are less than prev_calculated?  If prev_calculated starts at, 0, then there's nothing to do as in:   for (int i=0; i <...
Documentation says it's possible, but when i color one fibo level line, all lines get the same color. ObjectSetString( kaartid, Fibo , OBJPROP_LEVELTEXT, i, "label text" ); What am i doing wrong?
Hi everybody, I need to know if it si possible in someway to modify the "zoom in" "zoom out" so that the percentage of graphic zoomed with each clik is less than present. I just need a zoom in the graphic in a scale between the possibilities that the platform has as usual. Thanks a lot for your help...
Hi, I don't receive results when I do a Post Http Request,  instead with a Get Http Request this code works:   string GetPHP(string path, string data){   string headers = "Content-Type: application/x-www-form-urlencoded";   string Types = "";   char acceptTypes[];   StringToCharArray(Types,...
  MQLock S32 (1)
Hello i use the MQLock S32 Roboter that is for one hour chart an in the AUD/NZD currencie. But the roboter dosen´t trade. I dont know why?? Thanks frittndo
Hi, Need help.. lol During back test, there is no trades in certain period although my history center have those period record. from below trade results, it shows that there are no trades in 2015.4.15 till 2016.1.4, may I know why will this happen and how can I solve it? 411 2015.04.14 04:49...
hello, I plugged in my code a time lock but I have problems. I have duplicate this code, but in the time 14:30 20:00 signals that I receive are all wrong: //----------------------------------------------------------------------------------------------------//int Ora_From_Hour = 08; //time of the...
Hello. I am creating some label objects, and need to put them in front all elements on the graphic window... but not works. Is there any specific property for that?       My code:  void DrawBoxInformation(bool fixed=false){   int y = 30;   int x = 10;      RectLabelCreate(0,"rectOrders",0,x,y,260...
  order open (2)
Hi,   Can anyone tell me how to open an order during a retracement of the graph. for example assume initial GBPUSD price is 1.3000 suddenly it rises to 1.3100 (for news or any other reason)  then its coming down towards 1.3080 during this retracement my EA need open a sell order.  can anyone help me...
I was wonder if there is any Function to put in my  EA to enable AutoTrading when it accidentally disabled. Is there any function to do it in MQL4 ???