MQL4 and MetaTrader 4 - page 775

  Placing several orders  (11   1 2)
I am placing 4 orders with spaced TP. Question is which is best  - Place order,  modify order  4 times  or  - Place all orders first  - Then modify them
I greet it really put the indicators into an expert, I will not fail over to (iCustom (NULL, 0, "EXIT.SIGNAL" 0,30,9.0,0,0)) the problem is probably in (int = l_ind_counted_0 IndicatorCounted ();) nieve but how do I replace or how to get data from it to signal to buy and sell I do not know where the...
  4105 OrderModify Error  (15   1 2)
Purpose: Add a set stop loss and take profit to all open trades (regardless of currency pair) Problem: This script generates error 4105 when placed on a chart. Invalid ticket for OrderModify function. My demo account currently has an open trade with no stops or limits attached. What causes the...
[Deleted]
To back test my strategy is really hard, since its discretionary it is hard to this manually as there are always different ways of seeing things. In order to find the best way to make the system follow rules instead of my thoughts, I would need to play around with rules and create entries in back...
[Deleted]
Hi,   I have decided to begin with a simpler approach while I get this programming thing done. I'm a really sloppy trader and automation is a definite goal.  1.  I am wondering if I can improve certain aspects of my manual system while I figure this all out. I am looking to be able to enter an order...
  Signals and s/l  (1)
I'm using MT4 Build 445 I have connected to a signal and MT4 has placed the trades, but for some reason its not entering the s/l data on the trade screen it just shows 0.000. Yet if I check the journal it has collected the s/l data with the trade also shows the correct data in account history too
what is wrong here with this code if(High[0] - Low[0] < High[1] - Low[1]) && if iVolume (0.0.0)>ivolume(0.0.1) alert ("alert") my idea here if range current bar < range previous bar and volume current bar >volume previous bar alert
Hello friends ... I am a novice programmer ... Now after a year I can take on more complex things ... I'm working hard to learn more ... now I'm stuck on something that is not too complicated ... but not out of here ... EA need to have in a list of results (profit) from last 30 operations already...
[Deleted]
Hi, I am wondering where I can go to get some strategies in MT4 that are reliable. I have a bunch of indicators preloaded in mt4, since they are preprogrammed why do they not show up in my expert advisor? All I have is MACD sample and a MA EA. I'm not looking for anything complex that does not
hello all, just wanna know how to identify start of new candle in mq4 ..seen itime but can't understand it what value it returns.
Hello,   Im trying to fix my EA for 12 hours until now, Every thing going smooth and my orders open as I want to, But I cant get them close if my pair change direction...   Here is it :...
[Deleted]
Hi, All - new to the forum here as I'm on an MT4 demo right now with an EA system....I'm trying to trouble-shoot a trade issue with an EA trade on 1/6/13 that should have been executed, but it was never received by my trade servers at OANDA, where the practice account is. I need to get to the MT4...
  Questions..  (7)
Hi everyone, First of all, I'm still learning the MQL4 language(newbie here only at lesson 2), and I'm not really a programmer. I just have several questions: 1.How do you determine the high and low of a candlestick and everything in between? Like, I want to know if a certain value has been included...
[Deleted]
You can send information from the expert to a website? I want to do is the MQL4 code can open a web page eg http://mysite.com/expert.php?lot=2&margin=1974 This is my website processes the information and expert answers to whether or not to initiate any operation
[Deleted]
1.why the 2 marked  functions are in the deinit ?  2.why 720 value on the marked line?   the code:   //+------------------------------------------------------------------+//|                                                DailyBreakout.mq4 |//|                                   Copyright © 2008,...
Can someone add an sound alert to the Snake Indicator? The alert should appear when the previous (2nd bar) is bold (cause the first bar is repainting) The alert should also display the currency pair and the timeframe. Hope for help
whats the difference between a order ticket number and magic number.... when we place a order the number appeared in leftmost corner in orders pool is ticket number?? 
Hi Everybody,    I wanted to know if someone has a script to open a position when the market opens (MOO) - I know most broker don't allow that to protect clients from slippage.   Thanks  
I found this forum is an indicator of ytg_DveMashki_ind_w_Signals I want to add those markers and (MA 5, close, simple) plus indicator signifying crosses with MA's in ytg_DveMashki_ind_w_Signals if there's someone here who can help me very grateful example image I edit      
[Deleted]
Hi Guys! I copied my MT4 folders to an USB Stick so I can run it from home, work and other computers.  I get a freezed monitor when the connection to the broker is established. When I compile my CI before connection the problem did not occur on one Laptop but on the Computer at work it did. Has...
Finally I have build my own trading strategy and below are the results which I got. So expecting seniors to review it and expert comments on it whether this strategy is good or not? Thanks in Advance GCI Financial Ltd. Account: 519720 Name: Terry Currency: USD 2012 October 16, 05...
[Deleted]
I use a custom expert adviser to close trades that are already open.  The problem is that it only seems to close one trade each second.  Is the expert adviser only being run once per second? Is there any way to make it run 10 times a second?   
Hi all,   In code I get the error message  '(' - function definition unexpected, Could anyone help me to get this right ? In attach is  all the code and in Bold is where I suppose the problem is, nevertheless I've been uncessuful to get it right. Ticket=OrderSend(Symbol(),OP_BUY,LotSize,Ask...
[Deleted]
Hello,    I am working on an EA and am looking for a technique to do the following:    Before opening an order, I want to find the last time an order on the desired symbol was closed and get the following info:    1. Did it close in my favor.    2. What Bar did it close on or, does the current bar...
[Deleted]
Hello,  I´m Tom. I´m looking for a software solution to collect the quotes from the mt4 tick by tick in a database. I want to calculate with these tickdatas later in excel and for that I need a solid data basis. The problem could be that I use actually 8 brokers and so I want to collect the...
[Deleted]
Hello guys; I need a little help about this issue. I would like to create an EMA "dynamic", where the parameter "pr" changes; in fact here you are the script. The script is a "standard script" for an EMA plus two arrays; one is a collection of price close, the other the collection af an EMA. Thus, I...
Hello traders, Any one can help me that, how to make wingdings shown little distance in the chart , because i have up down arrow in the chart, it shows touching the price bars ups and downs, i would like make this little bit distance from price bars high and low thanks in advance abdul I attached...
Masters Hello, I would like to design two EA program, this program is very simple, it very single operation, 1: one can only buy another can only sell 2: to set up their own stop-loss, 3: ownsetting profit targets, 4: when earnings target can be automatically closed 5: when on a transaction...
Hello everybody, I know that with MT4 is possible to partially close an open position ... but with my MT4 mobile version for iPhone, seems unpossible to do it. I can only close all or nothing. Does anybody has any idea about ? Thanks so much Corrado