Download MetaTrader 5

MQL4 and MetaTrader 4 - page 546

To post a new topic, please log in or register
thi high of the last 2 H1 bars-the low of the last two H1 bars could be....  double HighMinusLow_H2=  MathMax(iHigh(NULL,PERIOD_ H1,  1),  iHigh(NULL,  PERIOD_H1, 2))-  MathMin(iLow(NULL, PERIOD_H1, 1), iLow(NULL, PERIOD_H1, 2));   Now i want to take the current bar of High and then subtract the low...
Is anyone having this problem or am I setting up a trailing stop incorrectly??? Let's say that I set a trailing stop at 30 pips. The price action starts to move in the direction of my position, lets say 5 pips. Suddenly the stop I had set changes to within 5 pips of the current price. This happens...
How do I stop deleted or closed charts from opening up once I start up MT4.
From Gmail to an MT4 EA to open, close or amend trades I wonder if such an EA is available Thanks if you can help  Alex 
Hello I got some issues setting my Sl value. Here what i use, for the EURUSD pair :   double sl = 0.0004;for a buy : Ask - (Ask * sl)for a sell : Bid + (Bid * sl)   but i always have a 130 error, any idea why ?   thanks Nicolas 
Hello, Here's the plug in for MT4 Sessions, you can see different session in a seperate window and on the chart. Have a nice trading day! Forex Robert  
OddTrade The reason I write is because just recently - after developing my first highly successful EA- I want to conduct some serious backtesting... I want to use data I know to be accurate - So, I downloaded tick level ascii data from a reliable source and verified it for it's accuracy. Then, I use...
 Hello Here is the plug in for MT4 Pivot points, you can change it to hourly, 4hour, daily, weekly, monthly   Have a nice trading day! Forex Robert  
I am looking for a MetaTrader 4 proigrammer to make an AE to trade a customs system for trading. I dont seem to be able to get anywhere as it all wants me to register with MT5. I am looking for MT4.   Can anyone post me in the right direction. Budget is negotiable depending on initial quote and...
ma14 = iMA(NULL,0,14,0,MODE_EMA,PRICE_CLOSE,0); if i want add indicator inchimoku or ADx  Iichimoku or IADX how i can add  
good day guys.. can you help me on how to use live feed data and put it into a vb.net application.. plz guys i really need your help and can you post some sample using some symbols.. any help will be much appreciated... thanks.
Hi,  I'm a new user and now struggling with mql4. Thanks for some of reference stuffs, I just wrote first code as follows, but could not work well. It seems The message of below code is "if price is above ichimoku and open<close then buy at market and exit entry bar + 2 bars," vanilla coding. An...
I use this to set a take profit for an order:  modify = OrderModify(ticket, price, 0, (price + (direction * (TakeProfit + ii) * PointSize)), 0, Green);  The problem is that it removes the stop loss which was previously set.  The stop loss is changed to 0. How can I set a take profit without...
I have downloaded a demo of M4 for some reason it wont stream? I am logged in. Even tried downloading it again and again. It ads all the data up to 31st dec but not after. I down loaded M5 and that works perfect, but i need M4 because there are a couple of indicator I want and they only paste into...
hello friends,i want to find the highest price int sometimes,and i want to find the highest price's RSI(indicator) value,   so i think i must find the highest's price int waht's K line ,please help me
Hello, Let say I have an indicator in EX4 file, it shows nothing but an alert only,which will tell me to buy, sell and exit the market. Can we make an EA base onthis indicator only? Thank you
Can a moderator please publish my code on Code Base: I asked for it to be held back in Dec 2011 - it is now ready but is not being published - it may still be logged as on hold.. The code to be published is ASK+BID+SPREAD-INDI, thanks
  FileOpen and FileWrite (13   1 2)
Hi, I got a problem using FileOpen and FileWrite. The functions FileOpen and FileWrite seem to work (returns positive return val) but no file is created... see code below I'll be gratefull for help. code: int outFile = FileOpen("testFileOpen.csv",FILE_CSV|FILE_WRITE,','); if (outFile<=0){...
Hey guys I've looked everywhere but can't seem to re-locate an indicator I came across several months ago. It is a linear regression indicator that also plots forecast of high/low confidence limit (i.e. 95%) rays.  I find many regression indicators that only show current regression with std dev....I...
does anyone has a problem with android app? for some reason the quote is not moving at all. thanks
Hello I'm new at MT4, i'm trying the plateform with an oanda pratice account. I dl nt4 and i'm trying to use my oanda account but i got only 1 server : MIGBank-Demo Any idea how i can have the oanda practice server ?     Thanks Nicolas   
Hello everyone I am appealing to the community. I am passionate about trading and I'm having a very difficult period right now. I lost everything female, apartment ... I work all day and I do not have time for trading. I appeal to you all to know if someone could give me an expert advisor that I can...
forexparvenu
  im looking for scalp ea (12   1 2)
anyone can give to me ?
hi, i have an indicator that shows arrows when on uptrend and downtrend. I tried to get the values of the arrows using "icustom"....but i couldn't succeed... how do i get to use the value of these in my EA?
  training mode (5)
hallo, is there any possibility to wiew bars advancing at 1 by one steps by pushing a bottom and viewing different indicator plotted like they were  in real time. I ask cause  i'm trying to evaluate how usuful is zig zag indicator to my model, once pivot are fixed all well but how when zig zag...
Hi Everyone Weird thing with MT4 build 445 I have an ea that is taking correct trades at times and once in a while takes an opposite trade  i.e  when the condition is good to take a short it takes a long but only sometimes broker FXDD Any suggestions Thank you in advance 
I use iExposure. I want iExposure and iHistory in same seperate chart in same row. How can I merge this indi? I can not code this.  
  DOW POINTS (12   1 2)
Below there is a program to draw vertical lines at the second bottom point which are higher than the previous bottom. (It is like dow theory . It will find bottoms and compare themselves and draw verticals to the second bottoms at the uppertrend ) never draws. where its logic mistake?   <SNIP> 
Dear Expert, Would you please advise? Why for the same live account, the mDD on the Trade page is -154.89 while on the statement it says mDD is 15.90 (Please see above image)?  Thank you for your teaching. Best, EAgreat   
Hi,  In most of the literature around the Stochastic oscillator is defined as:  %K = 100*(CLOSE - MIN (LOW, Pk), Sk) / (MAX (HIGH, Pk) - MIN (LOW, Pk)), Sk)   However in MT4 the Stochastic is defined as:  %K = 100*SUM (CLOSE - MIN (LOW, Pk), Sk) / SUM (MAX (HIGH, Pk) - MIN (LOW, Pk)), Sk) The main...