MQL4 and MetaTrader 4 - page 523

To post a new topic, please log in or register
Guys I am trying to move a stop to the previous high of te bar if a Sell and Low of a Bar if a Buy. I have written the following code. It compiles beautifully but does not work!! Can anyone show me what I am doing wrong? Can anyone correct it?    {      if (OrderSelect(tradeTicket, SELECT_BY_TICKET)...
Hello I have EA and I would like to change something in it. I will send the source code to you with full details explaining what I want to change exactly. Tell me, how much it cost? I know that it depends on how many hours it will take from you but tell me the average price!
  Modifying Pending Order (16   1 2)
I am trying to modify a pending order - I am only using Buy Stops and Sell Stops. The pending order needs to be modified at every hourly bar close and the corresponding value of the 60 EMA. If and when the pending order is triggered, I have already implemented a trailing stop but am finding it hard...
Does the function IsTesting() work in MT4 platform Build 509 ? When I use expression like the following, under tester there is no effect. Under TESTER, when I make back tests I have still Alert displayed "This is not testing !!!". Why ? if ( !IsTesting() ){Alert("This is not testing !!...
Hello friend, My English is not very good but I will try. I need to export the pivot point to excel CSV. Someone can help me? Thaks Dhylon Brazil   
hi, im a beginner and my problems is my ea working just fine during slow market. but when it comes to rush hour where ticks begin to move rapidly, sometimes it skipped or omit certain code. for example when -- ( OrderClosePrice()==OrderTakeProfit() ) Alert("hit Take profit"); -- so lets say it hit...
Hello, I made an EA in http://www.forexeadvisor.com/ I have TP set to 90 and SL to 50. The problem is that upon testing I can see it takes TP 900 and SL 500. In the settings and imput, the values are correct. Changing the values to 9 and 15 doesn't work. Making a manual trade with TP 90 and SL 50...
hi im a beginner and im trying to build a very simple EA just to understand how it works first. Can anybody help me by giving some simple example of a code for 1. Alert when it hits take profit 2.Alert when it hits stop loss my scenario is this:- after i execute lets say Order buy function, it sets...
Good Day... I am currently testing an EA to which it monitors simultaneously on 3 chosen symbols (EURUSD, GBPUSD, USDJPY). The EA at some point open trades, modify trades (Trailing stoploss), close trades on certain condition to which it allows to open 3 trades per symbol with a time interval. I...
Dear all, what can I do? //+------------------------------------------------------------------+//|                                                      testing.mq4...
Dear all I have downloaded a Free Signal service from this site to my account. Signals say me that "Subscriber's account is not ready for synchronization". (see the attach file please) I must close the pending trade but I don't want. Mainwhile I have changed my mind and I don't want the signal...
Dear all, During the EA backtesting, the system outputs several types of information which might be of great value to debug the EA. : 1. the dash line in red or blue, as shown in figure below. 2. The ovals with red or blue arrows inside, also show in the figure below. 3. The information...
I incidentally found that the MT4 platforms from different brokers cannot be uninstalled on windows 8. The message says U have no right to uninstall. I log in my windows 8 as Administrator and check all the box from the security including the log in, access, delete, edit. Can anyone tell me how to...
сожрал 2гб под восьмёркой при прогоне тестером более 2х месяцев. и так постоянно где можно скачать версию постарее? 
When I boot the MT4 in Windows 8 it boots properly.  But when I start any EA it crashes immediately.  Any suggestions on how to over come this?
Hello, I wa looking at some EA builders and I can't figure one thing out. When using a Moving Average, there is a MA Shift cell and a Shift cell. I understand what MA Shift is but not what Shift is. I've seen it in another editor as "Back Shift". Any ideas?
at the below program.case zero does not work and Alert("ITERATION................0")  does not realize.but case 1 occurs continuously. why does not case zero does not work ?//VELOCITY//////////////////////////////////////////////////////--- VELOCITY_ASAGI>VELOCITY_YUKARI (EN AZ UC...
  last 10 (3)
can i attend last 10 bid and ask prices to and array. Sample code.
hi, i was wondering if there is a difference in code/signal broadcasting between demo account and real account.. as if maybe there is a lag in real account or something like that.. im experiencing somewhat glitch during running my EA in demo account, is that going to happen in real account too?...
  mt4gui (5)
Anybody here with the latest experiences with the new version of mt4gui? I wonder why the tool is free, if the scope of the application is so great. The menus can be integrated into the MT4 menu. I.e. it must be used to access the code of MT4. Fx1.net is paid by Metaquotes? What information does the...
Hello, I need an EA developer for help with a simple coding. I'll pay you fairly! Most of the code was developed...what I need you to do is to develop one line of code: profit target will be updated daily for open orders from the day/s before. Any help, Please feel free to contact me at 714-873-1031...
Hello, I have recently switched to trading with a new broker and I have an issue with their MT4 which is that I am not able to set the Stop Loss and Take Profit upon market execution (i.e. I have to first enter the market and then go to set the sl and the tp). I have used MT4 via many other brokers...
I've got an indicator that signals an action by sound and alert: PlaySound("news.wav");Alert(Symbol()," make an action"); I wanted to add there the OrderSend function to auto buy-sell and it looks this way: int ticket;        PlaySound("news.wav");Alert(Symbol()," make an action");...
how do they that, ea's codes r invisible ? how can i do that ? i want write an ea n sell it . than the codes must be invisible. please help
Good day. I just would like to ask if the formula that I've written below can close a trade with a given example loss of -15.00.    for(ctr=0;ctr<OrdersTotal();ctr++)   {      if(OrderSelect(ctr,SELECT_BY_POS)==true)      {         if(OrderProfit()-(-15.00)>Point/2.00)...
Function Keys F1 �open "Userguide" (i.e. Help) F2 �open the "History Center" window F3 �open the "Global Variables" window F4 �open MetaEditor F6 �call the "Tester" window for testing the expert attached to the chartwindow F7 �call the "Properties" window of the expert attached to their chartwindow...
Being a newbie, I am struggling with understanding concept of TickValue. A query with MarketInfo(GBPUSD, MODE_TICKVALUE) gives me 0.6515 for BID/ASK of 1.53513/1.53531, my deposit currency being GBP. Going by definition of tickValue -> ("Tick value in the deposit currency") and tick size being 0...
Forex Trading Holiday Hours For July, 2013 The times listed below show the change to CFD trading instruments in New YorkTime. (CFD trading is not available to residents of the United States) THIS SCHEDULE IS REPRESENTATIVE OF OUR INTENDED HOURS. SHOULD MARKETCONDITIONS DICTATE, WE WILL DEVIATE FROM...
New article Money Management Revisited has been published: The article deals with some issues arising when traders apply various money management systems to Forex trading. Experimental data obtained from performing trading deals using different money management (MM) methods is also described....
In the MLQ4 Reference, there is a pre-defined variable called Point with the followingdefinition: "The current symbol point value in the quote currency." Beingnew to this world of trading, I was wondering if someone could provide a betterexplanation of what Point is, maybe in laymen's terms. Thank...