Download MetaTrader 5

MQL4 and MetaTrader 4 - page 815

To post a new topic, please log in or register
Do all brokers have the same margin call with metatrader 4? Does anybody use any specific software to find the best leverage based on their trading strategy? I want to weigh in factors such as lotsize - starting equity - account leverage - number of orders - drawdown - and margin call. Thanks,.....
I am luking for coder that is capeble to code ea or script that works on renko chart. contact me on mail: brokerslo@gmail.com
ok take the code below and compile it, there will be no errors. now un comment one of the comments and compile it, it gives a error: " ')' - wrong parameters count C:\Program Files\Ava MetaTrader\experts\junk.mq4 (68, 10) " does anyone have a work around / fix for this ?...
  How close order (19   1 2)
hi all friends i 've written an EA recently and i tested it in st-tester on EURUSD and charts and it opened and closed all order successfully, but when i tested it on EURUSD in a real chart it opened order but did not close the order. i have this problem on EURUSD specially and i don't know how...
Where can I go to post the above request? I am writing a tick logger for multiple instruments in c++, but the DDE QUOTE topic returns only date, hour and minutes, no seconds. This forces me to use GetSystemTime, which is prone to failing on repeated frequent calls.. thanks.
Nobody knows, envelopes in rsi formula ?
So I've been thinking, lately with a few posts related to Smarter robots, what's Best approach for creating a smart Robot.. Please respond with your Option and Opinion. In my past surveys I didn't allow counter points. This time I would like counter opinions. Hopefully a little constructive...
B"H Can trading a certain symbol (by an EA) be performed while symbol's chart is closed? (In any manner) Thanks, Simha
Hi, I'm new on metatrader stuff, and I'm trying to change someindicators, make some signals with some of them, but It's a little bitconfusing. I would like to my indicator show 1 when the High is aboveaccelaration upperband, and plot -1 when it's below accelaration downband. Forthe rest, plot zero....
Hello to All once again Yes I am appriciate of all the help. But alas, I am stumped. Though I have been with this site for many months and more. All the studies, codes, etc. are gone. I have been advised, because of errors I had spoke of, that I should restart another account. That all codes and etc...
I want to limit my maximum position to 10 lot,this expert have good result in LONDON breakout period, actualy this expert open unlimited lot until limit reached (100) with my broker. example: (if order total>10) stop and restart (if order total<10). the concept of the strategy is the market likely...
hi every one, im trying to count last 15candle on 1min chart and put fibonacci on them, for buy order botom to top and for sell order top to botom and move stoploss to 68.5% fibonacci level to exit trade. only if prise move below on ema 1 for buy order and above or sell orders. any help please....
I have noticed that my EA's still show doubles in them as 4 digits even though the charts are now 5 digit - am I missing a trick here? Happens with both MetaTrader and IBFX. Do I have to download the install file again and re-install?
Hi I have this bit of code extern double Ratio=1.10; double StopLoss = (AccountEquity()/AccountBalance()>Ratio) *Point; I am trying to have a 10% StopLoss based on 10% of the equity. Am I on the right track or way off based to get this right. Any help would be great.
New article Controlling the Slope of Balance Curve During Work of an Expert Advisor is published at mql5.com: Finding rules for a trade system and programming them in an Expert Advisor is a half of the job. Somehow, you need to correct the operation of the Expert Advisor as it accumulates the...
Dear Friends, I have coded a simple Expert Advisor code ( Please see below ). It could not make any live trading order although I have checked the allow live trading option on the Meta Trader's option menu. Please let me know what's wrong with my codes. Thank you very much for your help....
Luc Nguyen
Hello, I get this erroe message whenever I load the instaforex platform. By uninstalling, installing and running the application the software works fine, but after closing and reopening it, the error message comes back again. Is there a way to fix this issue?...
Hi, I'm trying to create an EA from cobbled scripts; OCO and trailing stop. Also would like a time variable / delay to enter candle X period(s) after candle open, and repeat every X period until order is taken. I want TP=trailing stop. Could be stopped out often but hoping successful runs will...
It my first EA and I have problem to set a stop loss, the stop loss works on the buy orders but does not work on the sell orders, it's so weird this is the code. this EA working with MA its really simple and make profit lol //+------------------------------------------------------------------+ //|...
if (XXXXXXXXXXXXXXXXXXXXX) { for(i=OrdersTotal()-1;i>=0;i--) { OrderSelect(i, SELECT_BY_POS); int type = OrderType(); bool result = false; switch(type) { //Close opened long positions case OP_BUY : result =...
Hello All, As I said, this is the very first time I'm looking at E.A. I d/l the MT4 from FXCM and from FxPro. Both of them are "offering" the same two "samples" E.A. : MACD and Moving Average. I put them 2 on 2 different graphs, but they haven't made any operation... ( although I carefully...
  Back Testing (2)
Hi, I'm new to the EA area. I was wondering if there was a sticky post somewhere on how to run a back test and what some of the terms mean ie. ticks modeled, modeling quality, and how to control the dates. Or maybe one can't control the dates if you choose "Every Tick" under the Model Option?...
Hello, please I want to start trading on my mobile phone I currently have an E71,I would want to know if is possible to use the phone.if so where can i get the windows mobile to use and which broker supports mobile trading.I use FXDD but cant get their link to mobile platform.please can anybody...
guys, I need some help with a problem, that I cannot resolve on my own. I want to know how can I communicate one way, being in EA I need to get variables from other CI. I cannot use iCustom, as I get other values that a running CI - so I left that idea. I wanted to implement CI in EA, but it also...
The Book of Sergey Kovalyov is not readable! The letters are much too big! How can i change this?
Hello Folks. I'm pretty sure that this is explained somewhere, but I guess I'm not using the right search terms. My question: How do I tell an EA to only place an order if no other one is currently placed? To get a bit more specific: I want to place a BUYSTOP, only of no other BUYSTOP or BUY-Order...
I have an EA with one IND, and another EA with another IND. I wish to combine the Two IND's into a single EA. NOT - *how* to combine the two into one- That part of the coding is done and it works fine. But Rather, HOW to optimise ! For example, a STOCH, and a MACD ( who cares if these are the...
[1332] exception C000008E at 004CBF22 in C:\Programme\BestDirectMT4\terminal.exe Could it be that there is some uncaught zero division somewhere inside terminal.exe happening when calculating the y scale of the indicator window? I am having not much fun with a really ugly and ongoing debugging...
Hello, I have also build a Wolf Wave EA for you, if you dont know what Wolf Wafes are there are many Informations about that in the Internet and here is a picture from a Wolf Wave: My EA Programm has a algorytmus to find such Wolf Waves and in my Backtest you can see a good result, Drwadown under 2%...
  order status (6)
how do i know if pending order had allredy open ? the orderselect() is for opening or pending order . do i have to catch it by comparing the open price ?
1...808809810811812813814815816817818819820821822...1244