Download MetaTrader 5

MQL4 and MetaTrader 4 - page 926

To post a new topic, please log in or register
I need some help programming a simple indicator. Hope someone can help me with this. The indicator must be in a separate window. SRSI=Ema2 Of Rsi14 SMA=Ema3 Of Ema3 Of Ema3 Of Rsi14 DMA=SMA5 of Ema3 Of Ema3 Of Rsi14 I also need levels 60 and 40 plotted with grey dashed lines. This is the original...
I have 2 deals that look like are made by my EA, but there is something really strange about them, bought are in a no trading condition. I mean the EA w8s for a set of indicators and the 2 deals are executed when one of the indicator is nowhere near the required levels for a deal to be made. The...
I have attached an EA and two indicaters. Note the comment when running the EA in tester. The value from HPthreePM (which I don't really care about, just testing) shows up but the value from AR3EURUSDH1a does not. I do want AR3EURUSDH1a though. The values are brought in lines 4 and 5 in start. The...
I would like to analyze last profit trades in my EA before open a new trade. How can I do that? Using: OrderSelect(0, SELECT_BY_POS, MODE_HISTORY) doesn't seems to bring last close trade... Thanks
Hi everyone, My problem is that I need to close/delete orders if the price reaches the MA i.e. Condition #1 ..... TRUE OrderSend (.................) Condition #2 ....... TRUE OrderDelete () / OrderClose No new order can be excuted if the first one is not closed/deleted Hope it's clear ...
Hello,is there an MTF Double Smoothed Bressert indicator on this site (or anywhere online),please ? Is there an orderly way of searching for indicators here? They don't seem to be in alphabetical order-perhaps I've missed something. Thanks Mike
A challenge for anyone skilled in MQ4 language I need someone who is amazingly skilled in the MQL4 language for this task, since I have no desire to learn programming myself. So here is the task: I've been trading the Stealth Forex system for some time and have made excellent profits from it. I'm...
In the past when running the tester I could create a chart with all of the tester trades and superimpose a trading template over the trade results and verify the accuracy of my trading algorithm. Just recently though I discovered that this is no longer available. When I create the chart with the...
No matter what I do, I ALWAYS get: 'TestGenerator: unmatched data error (volume limit....)' In the History center I've deleted all the data, closed MT4, Restarted and Reloaded history from both MetaQuotes and FXDD. I've tried it in different brokers and MT4 installations, different EAs: Nada !...
Hello,I have indicator which plots weekly Pivot/Support/Resistance (it is modified from ready to use indicator).. I want modify this indicator to plot Pivots/Support/Resistance in the past. The reason is that I want to examine Pivots action more closely and create trading strategy based on that...
OBJ_TREND draws a line between two points. Is there a way to extend it beyond its left and right points that define the trendline? Please reply if you know how to do this. Thanks ForexWatchman
After much trial and error, after many x rated words and telling the computer to X - off I am just down to one single thing in my EA. I have learned to make my EA one function at a time. And now, if possible I just need help with the last final thing. I need the following to be programmed into the...
I need someones help, because I am stuck since a few hours now with the following task: A graphical object is attached to a chart - an arrow in this case. This object needs a time and a price as coordinate. Now I wanna convert the time and price coordinate into a pixel based coordinate. Any idea how...
Hi. I am trying out the Broco Trader demo account, and wish to try out the expert advisor feature. I have compiled 3 or 4 expert advisors (downloaded from the internet) in the meta editor - they all compiled with no errors and created ex4 files in the broco trader\experts folder. In the terminal, I...
I searched the database and documentation but haven't found the specific information on this. I've been having troubles with selecting orders. So in a number of different programs I put in print or alert statements after them to return the error status. All of them are being selected with the int...
Hey Folks, I have the following problem with this code: It is not showing the things I want it to show (obvious, otherwise I wouldn't be posting here). With the Maximum Potential Range Efficiency (I know, a pretty hyped up name, but couldn't think of anything better) I wanted to determine wether we...
dear traders, have any of you sucsessfully traded the gap? the weekend one? I notice on the big movers like GBP/JPY, sunday open, as soon as market opens, sudden volatile movement in one direction about 100-150 pips, very tight stops 10 or 20pips works. I'm thinking on friday...
Hi, i'am no Coder and looking for an EA which buy/sells the second fractal (in condition of Time or Candles) and reverse after Price crosses MA. Filter second MA. Is Anybody here sharing such an MA? Thanks for an Answer.
Any advice if it is possible to change the font size if i use the following function ObjectSetFiboDescription("Up",0,"(100.0%) - %$"); I need change the description portion to bigger font. Possible to do it? THanks
Dear moderators or other member who can help, I tried to run my EA in my computers (I have 2 computers with windows XP) and it worked WITHOUT any problem. When 2 of my friends tried with XP and Vista there was crash error. These is Vista error : There has been a critical error Time : 2008.09.30 11...
I have worked the new platform during 3 months (mt5) and I have two recomendations that hopefully will be taken into account. The first one, why dont consider another (one or two aditionals) new fibonacci (in the menu: insert/objects/Fibonacci/Fibonacci retracement) which work both independently and...
Anyone have an ea that can send my trades to another account? Thanks in advance
Suppose an EA begins the init process and realizes that the "ABC_abc" indicator is not available in the ..\experts\indicators folder. How would the EA "shut itself down" and remove itself from the chart?
I need a pivot indicator that will dispaly all the pivot levels just to monitor the activity in the past if any body have please give me or can design thank you
Hi... am a new learner of MQL4.I just wanted an alert on the number of bars in a chart. Please refer the code below.The problem is that after execution of the special function init, when start() starts, the global variable "count" shows a value of 0. What am I doing wrong here? int TF=1; int count;...
int start() { int limit; int fractal1=45; int fractal2=49; int fractal3=2; int counted_bars= IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //---- last counted bar will be recounted if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; //----...
Hi all, Trying to have a deeper understanding of the ZigZag indicator I was investigating its code. My finding was that the parameter ExtDeviation is useless so I checked it on the charts. I attached two ZigZag indicators with ExtDeiavtion 0 and 1000. Independently of the timescale and zooming the...
  the MQL4 book (4)
dear traders, I am having troubles with the book on here. I have started reading through it, but know for a fact that I will not remember everything, theres so much to remember. is there another way that I can go about learning MQL4? I need to be able to relate what I am learning to something I know...
Hi If i have one account with deposit of 100$ and open one order with StopLoss of 25pip in EURUSD how i can calculate lotsize on the base of 2% from total deposit ? thanks
New article MQL5 for Newbies: Guide to Using Technical Indicators in Expert Advisors is published: In order to obtain values of a built-in or custom indicator in an Expert Advisor, first its handle should be created using the corresponding function. Examples in the article show how to use this or...