MQL4 and MetaTrader 4 - page 1360

Hello, If I include the statement : Print("EURUSD Close :: ", DoubleToStr(iClose("EURUSD",PERIOD_M30,0),Digits) in an EA, and attach the EA to a forward tested GBPUSD chart, the Ea prints the correct iClose value for the EURUSD. But.... If the same EA is backtested on a GBPUSD chart, (for the...
TEST 01.01.2009 to 31.12.2009 DEPARTURE WITH 10000 USD TEST CARRIED OUT COMPLETELY (default values) EURUSD DOUBLE UP 30 MINUTES > +4560… 01.09.2009 to 31.12.2009>+16136 ILAN 1.4 4 H > +2006..01.01.2009 to 31.12.2009 >+12250 ILAN 1.6 BETSAFE 15 MINUTES > +692…01.01.2009 to 31.12.2009 >+6242...
I am searching an indicator which shows me a chart of the profits and losses realized during my trading transactions such as we have in the backtesting on the graphic in the bottom of the classical plateform Thank you in advance for this information Gerard Lefeuvre
Howdy one and all, I’m a newtbee at this and have to say thateven just trying to find a way to effectively get started and how to proceed onthe best course is most definitely not easily discerned. I’m trying to figure out modifications ofsome existing programs as well as writing my own. As some of...
[Deleted]
Hi, Can anyone assist me with this issue, i have code that has been working fine on ICM, two weeks ago i put the same EA on Alpari and it works fine on there. But yesterday i put it on ODL and it will not open the instant order. it does open the BUYSTOP, The error returned on the instant order is 0
[Deleted]
  EA on mt4 mobile  (1)
hi there,does anyone know how to attach an EA to the mt4 mobile platform? thank you.
[Deleted]
hi! everyone below order closeall code is 1st orderdelete after 2nd closeall. i hope 1st closeall and 2nd orderdelete. ex) eurusd 1lot hold and eurusd 2lot limit order 1. hold position is reached profit price, closeall(1lot) 2. working order open(limit or stop) delete(2lot) 1st hold position (1lot)
  EMAs cross strategy  (17   1 2)
Hi I will want this strategy, but I'm not developer: This strategy uses two Exponential Moving Averages with periods 4 and 11 . When the first moving crosses the second moving upwards, the strategy opens a buy position. When the first moving crosses the other moving downwards, it closes the buy...
Hi all, I've tired saving the detailed report, but nothing would be saved ! I right click on the history, click on save detailed report, click on save, and then i go and check the location .. but cant find anything .. OS - windows xp I have disabled the firewall (kaspersky), didnt help. ! any ideas
[Deleted]
  Windows based EA  (7)
Is there a windows based (ie. friendly) EA software that I can write EA without learning this terrible language? I can't believe there isn't one. If there isn't, one of you eggheads need to write one and make a million.
[Deleted]
I'm using a custom indicator for about 5 months on my MT4 (225) and everythings was going perfectly. But a week ago my custom indicator disapear. He is still in my folder experts/indicators but he dosent appear on any charts in fact the title of my indicators appear on the left corner of the chart...
Why when I am just trying to do a SIMPLE pending order does it keep saying Common Error? WHY? Useless program???? MARKET IS MOVING This is ten billion times worse than Saxo Yes I can't be bothered to code it. But what DUMB program can't allow you to place an order because of a Common Error. MT4 by...
Automatisierte Handelssystem für MetaTrader finden man für Deutschland unter folgenden Seiten. http://www.best-eas.com http://www.forex-millionaer.com Informationen zur Programmierung von automatisierten Handelssystem findet man unter: http://trader.metatrader.me/ und www.meta-trader.de Der...
I have a script that I want to create 3 objects on my chart. I can do this, BUT I want all the objects to also be SELECTED upon their creation. This way i can easily move them around with out having to right click>objects list and then selecting them that way. Can this be done? I don't see any code...
retrieve candle high, low, open, close, (shift 2) and then shift 1 and shift 0 as well, just retreive the prices i am intereste in. can anyone direct me to those functions? TY
Hello, I'm looking for a function which can list all available symbols. The idea is to scan some patterns over all currencies which I can trade with my broker. Does this function exist in MT? Thanks!
hello, I have programmed some indicators, but haven't used the great feature of metatrader regarding EA's including the strategy tester. To generate an EA for the strategy tester, I copied the code from my indicator to the EA, since the EA's generally don't seem to be very different from the...
if (trend==-1 && s==0) { if (b==1) {OrderClose(ob, OrderLots(), Bid, 3, Black);} os=OrderSend(Symbol(),OP_SELL,Lots,Ask,3,Ask+SL*Point,Ask-TP*Point,"coment",1,0,White); s=1; b=0; } if (trend==1 && b==0) { if (s==1) {OrderClose(os,...
Hello, I really don't know how to check if there is an open position on selected currency. For example: I have 2 opened positions on GBPUSD and USDJPY and I would like to check if there are any open positions on USDJPY. How to programme it? Regards
I would like draw the lines as the (E)xpert (A)dvisor on Meta Trader 4 and refresh it every next bar. Let's use only 100 last bars. The green line should be drawn as the connector between two points: 1/. LOW of the last bar (always) 2/. LOWEST bar of the last 100 bars - but if the line cut the price...
[Deleted]
Hi, I have been looking and looking and have not been able to find this EA. There has to be one already made....This system is not mine but it has been working very well for me: BUY: 1. 6 or more candles down then an up candle. 2. RSI below 30 3. %R below -80 TS of 20 pips to keep losses to a...
[Deleted]
  Buffer Question  (4)
I'm trying to bring the value of a buffer into my EA with the iCustom function, but no matter what I do, change the calculations, assign another value to the buffer, I get the same result: 2147483647.00000000 Does this value represent an error in the buffer, such as an overflow?
Just wondering what the versions will be)) To avoid flooding (although then it's better not to write anything at all), I want to warn you right away - I'm not selling or buying anything here, no market in my post. State: Updated the state, +1 profitable deal
  Forex strategies  (65   1 2 3 4 5 6 7)
Displaying on the screen: 1.Average (say average over the previous 60 days) daily range. 2. Range reached on the current day If at about 14-16 (Alpari TP time) the range 2. is approaching / slightly exceeding (say +/-10 pips) the range 1. - at this moment we open with stop-loss, say 50 pips inside
  Bugs in MT4?  (4)
Hi, I have encountered the following errors while writing my indicator: //+------------------------------------------------------------------+ #property indicator_separate_window #property indicator_buffers 2 //+------------------------------------------------------------------+ //| Custom...
I want to show a lot of MA in a indicator. So, if I can use two-dimensional array as buffer, It will briefly written form of circulation. Like this:    for(int i=0; i<96; i++)   {      Param[i]=10*(i+1);      SetIndexBuffer(i,ArrayMA[][i],INDICATOR_DATA);      PlotIndexSetString(i,PLOT_LABEL...
[Deleted]
I am seeking some advice on an issue that is not very clear to me. In a 1 Min chart the last Close[] price - when does it take place, is it at the 1:45:59sec or 1:46:00? If the second case is correct, is the close[1]=open[0]? My question tries to solve a problem in which I am trying to detect the...
This doesn't make sense to me...so I'm here to ask for some help. In my Expert Advisor I am placing a pending BUY STOP above current Price, yet it is generating the 130 INVALID STOPS error. This is an ECN broker that doesn't allow stoploss or takeprofit on pending orders... so I have set those...
[Deleted]
I am trying to find a way to add the following two indicators to my charts in MetaTrader with no luck so far. Both indicators are available with FX AccuCharts. Any help would be greatly appreciated. MACDForest Directional Movement System Any idea where I can find these two indicators and add them to...
[Deleted]
Hihi guys My metatrader charts are based on Bid quote so the highest lowest open and close of previous bar is highest Bid, lowest Ask ...etc. When my broker wide the spread from 2 pips to 40 before Fed for example (EURUSD) and there is no significant move, lest assume that there where no move for...