MQL4 and MetaTrader 4 - page 1625

Does anybody know how to make a script to close more than one order in a singletick?
Is it possible to draw a arrow from an EA at the Bid price much like the functionOrderSend draws an arrow upon successsful order execution? Any help will be appreciated?
  loopy problem  (5)
I'm hoping someone can help here. I'll post the code. I can't seem to get the loop working in my code. It only ever wants to run throughthe loop during the last 2 or 3 candles. I've even taken out IndicatorCounted()and used Bars-1. I get the same result. Can anyone help out here? Thanks.
[Deleted]
I have been reading the Order functions and I have not found a function that canretrieve the ticket number of a particular order in my list of open orders assumingI do not know their ticket numbers off hand. Let's say I have 3 orders - 1 GBP/USD buy order, 1 EUR/USD sell order and 1 GBP/JPYbuy order...
[Deleted]
int live = 22; if(AccountNumber()== live) if(AccountProfit()>AccountMargin()) SendMail(" ", " "+AccountProfit()); } return(0); i would like that thisi is repeating every 30 minutes can someone add line code to do this thanks
[Deleted]
if some condition in axpert advisor is true does it mean that all other conditions will not be checked at all in that expert advisor or expert advisor is checking all the time. is it possible that i write more expert advisors and then to attach more than one at the same chart! i would like that some
[Deleted]
i would like code for closing all my orders if profit is > than margin is it possible that order number can be the only factor that program need to knowto close it. because the number of lots is changing.it is not constant. and then to delete all by and sell limit thanks
I would like to specify certain time periods for certain pairs on which my indicator is to be used. For example, if it is placed on the EURUSD, I need to look at the previous hi's, low's open's closes from 3 HOURS ago, 2 HOURS ago and 1 HOUR ago. If the indicator is placed on the GBPUSD then it
[Deleted]
Hello All There are many out there who can code complex EA's. Can somebody help me in codingan EA based on the system rules I have. I have everythng written down to the lastdetail. This is a very simple one. I dont mind paying for this effort. Please PM if you are an expert in witing EA's....
[Deleted]
Hi, I am trying to create a loop with range of parameter called 'level'. This parameter is type of double. I wrote the following lines: Print("level ",level); if(level == 0.9222 ) { Print("level has been reached"); } This condition is always false even I see that level 0.9222 is being reached (in
Can i ask a big favour, i'd need a very simple MT4 indicator drawing histogram onbars (like on braintrend1) when C>H[1] and C<H[1]. Feel somewhat sorry but It does seem at the moment i'm not doing well with the MTsyntax. Thanks who can help Filippo
  Get Tickdata  (6)
Hello, is it possible to get the Tick Data which are all receive in the terminal. I would like as in a normal database to call the data´s that all been received, is not possible with the MetaTrader, that´s a absolutly normal Think and must be possible I think?
[Deleted]
How can I give my comment area a background color to make it easier to read whenit appears on a chart with bar data behind it??? OR make my Comment text easierto read??? ANY help would be greatly appreciated!!!
[Deleted]
  Indicator help  (4)
Hi, Can someone please help me with the code to detect the arrows placed on the chartfrom this indicator? I tried using iCustom and I can't get it to work. Thanks in advance, T
How do you get the bounding rectangle of and indicator whose property is separate_window?   I need this so I can use a DLL to draw inside the indicator rectangle instead ofthe whole client area of the chart window.
I was using MA crossing for trade entry, looks like its a slow indicator. Can anybodysuggest a faster indicator to use with Expert Advisor?
not the entire background,but the specify area?
Hello, is it possible to get the seconds from the actual bar which ist shown in the chart?If yes with which function? I have tried somthings but always for seconds thereis shown the last seconds from the servertime or zero.
[Deleted]
Hi, I tried to draw two moving averages, one from the actual TF and one from the upperTF, but the values in the charts are completly false. In the M1 Chart, must I have for the upper TF (blue line) the same values as fromthe M5 chart (red line), and this isnt so. Have you an explanation, or I have a...
[Deleted]
  disabling trade  (1)
I have struggled with the idea of only getting one order to be placed at a time. I thought that maybe I can simply disable trade once my conditions have been met and my order placed . Can anyone help me here? What might that look like if I simply want to disable the EA after the order is placed? I
Do you know that there is an easy way to download a source from our Code Base?
[Deleted]
I think " if ( alertTag!=Time[0]) " means if not same send mail and alert but I do not understand " alertTag = Time[0]; " meaning at all . alet and send mail is finish.why need this code???? if ( (fasterMAnow > slowerMAnow) && (fasterMAprevious < slowerMAprevious) && (fasterMAafter >...
[Deleted]
Hi. What do you think is the best slippage value in the order command? the metatrader samples show "3", but other people use "5". does it depend on the broker? (response times, delays) if we use slippage 3, it should be +-3, but I never noticed that I get a pricein my favor. if it is a sell,...
Estou querendo fazer contato com programadores que falem português para automatizarem o trading system que estoudesenvolvendo de acordo com minhas necessidades. Abraço!!!
[Deleted]
Hi, Why is the best broker to trading with news? Effectiveness, speed, spread... Thank you for your future answers. Jose
Is there a template available somewhere that someone knows of that gives you thebasic layout for a crossover EA of two custom indicators in the chart window? thanks.
[Deleted]
Hi all, I'm new to mql4 and I'm trying to develop one EA using some values from the Hull Trend indicator. Anyone can help me to write the correct parameters using the icustom() to get the color of the last "printed" bar? Thanks Paulo
[Deleted]
i would like to write a comment for each trade make by my EA. each EA will write is own comment in "comment" field any idea how to d, i found only how to read comment not to write ? many thanks Laurent
On the website of the Automated Trading Championship 2007, an Interview with William Boatright (wackena) has been published. William Boatright (wackena) is in the Forex market since last year. Before this he had been trading in thestock exchange for about 10 years. Now William is successfully using...
[Deleted]
  Daily Open in EA  (3)
I'm trying to get the price of Daily Open by a custom indicator ...... I try to use his code but i cannot get where the code should i use. I want to create an EA but I need the Daily Open price for a broker. i need your help to help me how to find the daily open price . I include the indicator