Download MetaTrader 5

MQL4 and MetaTrader 4 - page 984

To post a new topic, please log in or register
I was curious to know how much time the community here spends on forex. I, myself, dedicate pretty much all working hours lately to forex. I programmed scripts to fully automate my whole company over the years so I can spend time on whatever I want now. Whenever I'm not developing, corresponding,...
I look at 9 currency pairs--all on one profile--each profile set up by timeframe--so there is a weekly profile with 9 charts, a daily profile with 9 charts, etc. My problem--I work on multiple computers with differing monitor resolutions--so I would like to use the tile commands (vertical and/or...
All, As the spread evolves all the time ( please see the code to check this on manual mode) newspread=(Ask-Bid)*10; if (spread!=newspread) {Alert("the spread has changed from", spread," to ",newspread);} spread=(Ask-Bid)*10; I would like to know if some people have elaborate som idea and code...
Hi There, I would like to know if the code of MetaTrader 5 will be similar to C++ and if it will be easy to link MetaTrader to C++. Thanks and all the best. UKALGO
They are only trades in demo account. I will continue trading in my free time. If you like to see my trade, you can use forex.com platform, and login investor account to track my trading. login: 90261764 password: mpn4iik
Im getting different optimisation results each time I optimise Seriously, what is this shit ? It's pissing me off
Hi I have successfully created a Configuration File to run a Strategy Tester, to pass as a startup argument to MT4. When I run this file it works perfectly, however the speed of the test is around 25, and I would like to either specify the speed, or have a default speed of 32. Does anyone know how...
I recently opened a demo account, and my script gets an error every time the code tries to make atrade. I using a simple buy order: ticket=OrderSend(Symbol(),OP_BUY,1,Ask,1,Ask-10*Point,Ask+10*Point); I get an error code 4109, which is "Trading Not Allowed" Also, the IsTradeAllowed() function...
//CODE BLOCK “A” – no issues here. //Main logic for entry for long or short. Simple MA Cross. //It works fine and it enters the orders correctly if there is NO Code Block B. if (MAONE > MATWO && MAONEP < MATWOP) { EnterLong = True; LongDir = True; } if (MAONE < MATWO &&...
It's a simple scalper.... The backtest was done from 2000 to 2009 (june/21)
Any help would be appreciated: if(stopLoss >0) { dollarrisk= equitypercent*AccountEquity(); riskperpip=dollarrisk/stopLoss; lots=riskperpip/10; } else { dollarrisk= equitypercent*AccountEquity(); riskperpip=dollarrisk/ATR2;...
I'm a little confused re Ticks vs Bars... am I right in saying this using candles. Time[0] is the current tick time whereas iTime(Symbol(), 0, 0) is the time of the current candle... if so is iTime the open time? What is the difference between Open[0] and iOpen(Symbol(), 0, 0)? Thanks,
Account: Name: Currency: USD 2009 August 31, 18:37Closed Transactions: TicketOpen TimeTypeSizeItem PriceS / LT / PClose Time PriceCommissionTaxesSwapProfit642355842009.08.28 19:24buy1.00eurusd1.434941.435081.435692009.08.31 16:441.435080.000.00-0.2014.00642348572009.08.28 19...
hey foks, can any of you explaing in simple words, what exactly is neural networks, who should use it, and how it improve you tarde gains. thank you
Hello there. Here i'm proposing something: what you think about to make some "forum divisions" to keep everything classified, such as in example: - Beginner's section: beginner's help needed for code and/or mt4 language basics - Advanced user section: advanced user section to discuss topics in mql...
I am trying to store the MA values using iMAOnArray. For example, I want to store the current bar 0 to prev 4 valules of an MA in the array MA_Buffer[5]; Once I have them, I want to calcuate the highest value and lowest value and want to know the difference between them. For example. 0=1.4320 1=1...
some broker currency name is different with meta quotes server, so i encount a problem of downloading the history data how to solve?
Hi Programmers! Can I add an indicator to the chart by the Expert Advisor? Thank you in advance! Relative
For some reason when I ad a new fib level it does not display, shows ok in the properties window. did search of site .... and got nothing ...any ideas? Also does anyone know how to get the fib expansion tool to appear as a button on the tool bar? Currently it is only available from the insert menu....
Hi; Could you please kindly help me about the code of open and close a trade at a specific time that I will choose. In example I would like to buy (100000 units) Eur\Usd at 1.00 pm and close it 3.00 pm. Thanks many...
Please if anybody can help i tried to use (at_Itp4_Env indicator) for EA, what parameters in ICUSTOM i have to write to send order to upper line and other order to lower line? can be? this indicator is written by Nikolay Kositsin i tried several parameters, no success... thanks in advance, Samir...
Anyone can tell me how to find the period to use as string - this I want to go to the comment
Hi, As the subject states, I am looking for somebody to help code a custom indicator for an algorithm i've made. If anybody is interested in helping out, or is just interested in the indicator itself--it revolves around binomial distribution theory and standard deviation--I would appreciate it. Plus...
Hi, I was running an EA on a demo account, on M1 (minute) chart. I changed the period to another, I think, to Daily period, and all trades were immediately closed within a few seconds. Is the changing of the period the cause of the closing of the trades? Was the EA initialized again, like the...
Hello... I am new here and need to know where I can read how to use this interfaceie, pasting code into the text etc. ? Anyways I'll try to ask the question thebest I can without the use of copy and paste functions. I am a newbie coder soplease bear with me. What I am trying to do is take an extern...
Can someone please tell me what the Variable 'Pips' is doing in these couple lines of code? if (l_ord_open_price_4 - Ask > Pips * Point && li_56 < MaxTradesPerChart) { OpenBuy(); ____________________ if (Bid - l_ord_open_price_4 > Pips * Point && l_ord_open_price_4 > 0.0 && li_56 <...
Hi, I would like to know how it's possible to link indicator and EA: what is the code in the EA ? Shoud the indicator has to run on the chart where the EA is running or it s not necessary ? One indicator can run or be called by two different EA ? Many thanks UKalgo
  AUD/NZD Strategie (22   1 2 3)
Hello, here I have maybe somethink interesting for you. This Strategie work on AUD/NZD Pair, but you need a low Spread somethink like 8-10 Pips, if you get this low spread then you can get the super results from my following backtest. The Broker by which I have use my Strategie has doppel my spread...
Hwlp!! Noob Alert! I am trying to identify when a bar crosses an indicator line. I thought if i checked each time a new bar starts to be drawn - and used iClose, iHigh and iLow, i could some how measure when a bar has crossed over and indicator line and do some calculaion with that data. Any help...
Hi guys, I'm pretty new to forex trading and I need lots of help. Last week I made more losses than profits on my live account. When is the best time to trade each currency pair? Which indicators can I use? How can I maximize profit?