MQL4 and MetaTrader 4 - page 925

To post a new topic, please log in or register
dear community! the problem: i have an ea running, o.k. so far, suddenly the pc shut down and restarted, so the ea started also new, when the everything was online and running again. now my problem: i have opened orders and my ea does not recognise them anymore. in my ea i use the "SELECT BY TICKET"...
Hey all, first post...I have searched the forums and the documentation to try and figure out why this is not working. Here is my code: extern int TimeFrame1 = 1;extern int TimeFrame2 = 5;extern int TimeFrame3 = 15;extern int TimeFrame4 = 30;bool NewBarTF[4] = {false false false false};int...
//+------------------------------------------------------------------+ //| STEP TRADER.mq4 | //| LAS | //| |...
I haven't seen this before so is it something to do with the last upgrade? The EA runs in the back tester without errors but on forward testing it gives "invalid stop error" on every trade and yet I print out the stop and it comes out as 1.7265 for a short on GBPUSD so why is it invalid or is there...
  My broker funk'ed me (17   1 2)
I read many stories on the web on how the brokers get you if winning too much, never thought that I'll be in this kind of situation. Trading with this broker (and strategy) for a month now, then, last week on Friday apparently I've reached my cutoff level. For a month I've got maybe 5 mini-spikes...
My problem in brief: 1. At the opening time of the bar i ==> Time[i] ==> buy/sell conditions are met and an order is opened. 2. The order closes (hits t/p or s/l) before closing the bar i; (Time[i] ) 3. While we are still in bar i and after the order is closed, buy/sell conditions are met again!...
  Comment Help (1)
Does anyone know how to make a comment of more than one line appear in the upper left hand corner? All I can do is make the comment one big line. I want to have two or three lines of information to help me up there.
hi; is there anyone have metatrader on his\her iphone? Does it normally operates at Mac Os? thx Ozc.
Is ther anyway to change the color of the stop levels in mt4? they default to both red. I'd like to change the tp level to green.
Hello All, I'm looking for an EA that will close only one Symbol e.g. (EURUSD) if it is in profit. I'm trading 5 pairs, every with 3-5 max.trades. Thnak. FXMan77
I have Alerts in my code to show buys, sells, and stop moves that are not showing up. Not even in the Alert tab of the terminal. They were showing up, then I put a different version of the EA up the VPS that I'm using, but I have reverted back to the version where they were showing up but now they...
Is it possible to change when a new candle opens? For example, let say I am trading a H1 chart and a new candle open at the top of each hour. Is it possible to make a new candle open at a different time each hour, say 12:51, 1:51, 2:51, etc., etc. just to get away from the influx of activity that...
hey there, is there the possibility that i can put custom indicators to show as first in the list when clicking on "insert->indicators" (I believe thats how it should be in english, I am using another language)? So I mean not only to make them the first in custom indicators, but to get them one...
Hi Guys, it's been a long time. Does anybody know if it is possible to show my chart on a website? I explain. I use a expert advisor that is attached to a chart and I want this chart to show in real time on my website. Is it possible and if yes, how to do it? Thanks for any info. Pascal
Hey all, Is there any way to time how long the code takes to execute for 1 tick? I know in Matlab there are commands to do this (tic,toc IIRC) Thanks, J
HI I HAVE INDICATOR THAT PERFORM WELL ..CAN ANY ONE PLEASE CHANGE THIS INDICATOR TO EA.. I JUST NEED THE EA OPEN TRADE WHEN BUY @ SELL SIGNAL APPEAR ON INDICATOR AND (S/L,T/P,) I DON'T KNOW HOW TO CREATE AN EA PLEASE ANY ONE HELP ME .... TQ
Hello, What is the easiest /best way of combining say several indicators into one so that there is a single alert when all the conditions are met. Is there software that can do this easily for a non programmer? Cheers
  customized EA (1)
Hi fxt I would like an Expert Advisor as follows: No time frame No currency pairs in particular when the price stops down and goes up as spread + X automatically close SELL order (if exist) and open an BUY order when the price stops up and goes down as spread + X automatically close BUY order (if...
ObjectCreate("SignalDot",OBJ_ARROW,0,0,0);ObjectSet("SignalDot",OBJPROP_ARROWCODE,108);ObjectSet("SignalDot",OBJPROP_COLOR,Gray);SetIndexStyle("SignalDot",OBJPROP_WIDTH,1); makes the same size dot as: ObjectCreate("SignalDot",OBJ_ARROW,0,0,0);ObjectSet("SignalDot",OBJPROP_ARROWCODE...
Hi there, Wondering if anyone else is experiencing a two week or so gap in 1 minute historical data for GbpUsd from around March 13 to March 26 or so? I've installed 2 fresh MT4 implementations from 2 different brokers and they both have this March data hole. This is a big problem. Anyone know...
I have instralled fonrts into windows/fonts and also windows/media/fonts on my wine section on Linux. MT4 starts up and all works properly but the top menu isn;t displayed - any idea son how to fix that?
If I set pending orders ( as following ) OP_BUYLIMIT - buy limit pending position, OP_BUYSTOP - buy stop pending position, OP_SELLLIMIT - sell limit pending position, OP_SELLSTOP - sell stop pending position. and a few hours after the orders will be opened, then will the orders change its status...
I opened an account a few months ago with a broker that uses MT4. However I need to backtest my EAs using a fixed lot in each trade. I usually do this to find the true volatility that an EA can capture from a FX market. If it works and the equity curve looks well then I apply money management...
Hi, I am currently running back tests in the Strategy Tester in MetaTrader 4 Build 225 (I have had too many crashes with build 226). It seems like there is a limit for how long period I can test in one go. It seems to be somewhere between 1.5 and 2 years. if I set the date interval to test from Jan...
New article The Use of ORDER_MAGIC for Trading with Different Expert Advisors on a Single Instrument is published at mql5.com: This article considers the questions of information coding, using the magic-identification, as well as the division, assembly, and synchronization of automatic trading of...
Hi, I just wanted to know why the bw mfi that you can download from meta quotes is different from the internal one that comes with meta trader 4. For one it doesn't display the information as easily and two it doesn't display all of it. For example under value 0.1332 it has sub values (+0.0313 vol...
Hi all, I have multiple installations (folders) of MT4. However, I would like all these MT4 terminals to use the same EXPERTS/INDICATORS folder. Can this be done? Thanks. c:\MT4\MetaTrader-1 c:\MT4\MetaTrader-2 c:\MT4\MetaTrader-3 c:\MT4\_EXPERTS c:\MT4\_INDICATORS
Hi, Can someone please help me. I am trying to build a simple range trading system in Mql4 and I'm having problems. I need to create a SMA with an upper band (+6 pips) and a lower band (-6Pips). If the current bar open is > lowerband[1] and < upperband[1] and Askprice falls below lowerband[1], Open...
my idea is a hedging step trader using small lots size that would double at each step. Let say GBP/USD was at 1.5000 the system would put a buy and sell on at 0.01 lot size.Step 2 would be 30pips higher at 1.5030 with a buy sell pending and a pending buy sell at 1.4970 and lot size double and so on...