MQL4 and MetaTrader 4 - page 853

[Deleted]
hey, i am trying to check for intersection between ma 20 and ma 50, the function i wrote seem to work, but its seems to be non consistentic. sometimes (depends of current value) the intersection accures when the substraction of the two MA's is ~0.2 and sometimes its ~1.4. how can i determine for...
[Deleted]
What is the shift parameter for? It was explained as "Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago). " which i could not understand what it means? Say i was to get the value of previous bar closing price, i should use -1, 0...
Trying to figure out a 'kluge' / 'work around' for Conditional Branching/GoTo in MQL4
How to configure MT4 to send a email with my account balance every X minutes? Is it possible? Thanks.
[Deleted]
Good evening! I want to calculate the lotsize depending on the risk per trade. Therefore I calculate the value per pip like that: double pips2dbl;   if (Digits == 5 || Digits == 3)    {pips2dbl = Point*10;} else {pips2dbl = Point;}double pip_value  = (pips2dbl/Ask) * 100000; If I do that calculation...
[Deleted]
First, this is a simple admission: I am feeling like I'm crap at this coding 'Milarkey' at the moment, but I am not giving up!! The following is a mash-up of code which I have stitched together whilst I am learning. What I am trying to achieve is link the Indicator to the EA so it will trade...
[Deleted]
What's better in terms of performance? : Use global variables for acces them from differents functions in the EA, or declare as local in start function and pass through parameters to other used functions? (like indicators, that are re-calculated every time in the start loop) Thanks
Can anyone help me explain how this vr--setka ea work... this ea make unbelievable 200% profit in 3 months when i tested it in strategy tester even though i know its impossible for this ea to keep get profit that much in the other months... or in real trading.... maybe january from march is an...
I adapted the 3_bar_swing.mq4 indy to have fewer criteria so that lows are not considered in the downswingbar and highs are not considered in the upswingbar I would like to adapt it further to cope with situations where there are equal highs and equal lows in the pattern so, the downswing bar would...
[Deleted]
My expert uses bar data to analyze the market. Sometimes (rarely) you get a message in the chart "WAITING FOR UPDATE", which I assume is due to some lag between my computer and the server. The problem is, right after that message disappears and the bar chart is displayed again, the expert just stops...
[Deleted]
Hi, I wonder if anyone has come across this problem. I run Win server 2008 16gig Memory and 8 core processor. When i launch more than 86 meta traders on the server, The CPU runs about 10% and memory used is less than 5 gig, But I start to get this error, "Failed to create empty document" in an MT4...
All, As per thread http://www.forexfactory.com/showthread.php?p=5662238#post5662238, the broker's MT4 server keeps terminal login active for 30 seconds only, after the last 'activity' from the terminal. Therefore, if you send a order after a period of inactivity, a fresh login is done which...
I am in search of a good, stable, easy to use, clean news calendar indi that will allow me to plot the red flags news days onto my chart. I do not need my chart to look like a xmas tree:) So if I could select which type of news, that would be great. Some of what I've seen are just too noisy/busy....
Any Acccurate indicator in forex market, already we paid somany trading system. please provide us any accurate indicator or website.
[Deleted]
Hi does anyone know when we select the trades by position eg 0, 1, 2 in the 'trade pool' and 'history pool'. 0 mean the trade at the top of the list. But is this affected by how the rows are sorted when we manually clicked the column headers ? Would it affect how the EA select trades, if we click on...
[Deleted]
Hello I managed to install the same MT4 version from the same broker, displaying prize information with 5 digits (with tick) and in the other version only with 4 digits (without tick). Is there a parameter in MT4 which controls the format of the prize info or is this a broker controled issue ? If
  indicator tester  (1)
How do I test my indicator with MT4 ? I would like to run it like I test an EA.
Hello Please guide me how I can Export Tick chart to excel chart?I want to transfer live tick chart from Mt4 to Excel and also save all there? Or please guide me what kind of program is suitable to save the live tick chart there? I attached the Tick chart indicator here I am waiting for your help
[Deleted]
Hello, I'm trying to find the exact level where they cross the "macd" and the signal. for example, I have this: extern double MACDOpenBuyLevel   = -10;MacdPrevious   =iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,2;SignalPrevious =iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,2);MacdCurrent...
Hi everyone, I want to learn to code in MQL4 but I don't know where to start. I've read a lot that you should learn C++ before you start with MQL4, but I've also heard that any programming experience is fine. I am a web application developer that mainly uses PHP, JavaScript and SQL. Based on what...
Can EA detect if other EAs are running in other charts of the same terminal? And can there be a list provided of the name of the EA? Is there a method to detect the uptime of the terminal (amount of days:hours:min:sec the terminal has run since the process is running)?
hi, i set the different MA lines to different color such as 7 MA to White, 38 MA to Red and 140 MA to Blue. however, when i do backtest and then open the chart window, all the MA lines become to Red, i have to change them manually everytime. Can be them done as the same as preset in the...
New article Synthetic Bars - A New Dimension to Displaying Graphical Information on Prices is published: The main drawback of traditional methods for displaying price information using bars and Japanese candlesticks is that they are bound to the time period. It was perhaps optimal at the time when...
hi, i want to draw lines or arrow on the chart window when something happen. can anyone tell me how to do it or which function? it must be on the chart window not separate window. i know how to create the indication on the separate window. such as: int start() { //----when something...
Hello everyone. I have a personal preference to use light color background templates(just find it a little easier on my eyes), but unfortunately a draw back is I find it difficult to see the Ask and Bid lines, particularly the Bid line, as it appears that you can't change it from the default "Black"...
[Deleted]
//--------------------------------------------------------------- 5 --   double L_1=iCustom(NULL,0,"CW",4,0);   double L_5=iCustom(NULL,0,"CW",5,0);   double MA_c=L_1;   double MA_p=iCustom(NULL,0,"CW",4,MAReduction);                                             //reads the previous bar number...
[Deleted]
It seems No what I do with the code I am getting inconsistancy with Orders being executed or just Nothing at all. Almost like the Broker just seems to like NO Target Prices or stops. Only signal closing and profits.( Moving ave. etc.) I can't change Brokers right now even though I would like to. Any
  Valid statement?  (2)
I'm trying find the lowest rsi value in x bars i been reading the (mt4)book think i'm asking the right thing but not sure. I'M new at this yes but i'm try to work it out myself . will this work. thank you double rsi-low= iRSI([iLowest(NULL,0,MODE_CLOSE,30,0)]);
- I try to develop same idea but with diferents indicators, please help me to make a indicator that show the diferences. Please let me explain ( check graphic attached please ). 1.- We set envelopes indi at 0.1, 0.2 until 2.0, Period 200 EMA 2.- Previusly we choose two pair with positive
I wondered if it's possible to get an EA to automatically load in a set file at a given time