Download MetaTrader 5

MQL4 and MetaTrader 4 - page 37

To post a new topic, please log in or register
Which indicator of mladen do you mostly use?
Hi All I am new to MQL and I am trying to replicate the code I used to have for Full Stochastic in MT4. Code I used to have for Full stochastic works as this, Step 1. Fast Stochastic is given as input to the stochastic function (For e.g say 14, and the output is stored in variable say K) Step 2....
Hi all, what to use as "Close" in the calculation below to find out SignalLine EMA of MACD??? I've been googling around to find how to calculate the SignalLine in a MACD-calculation. I know the following to calculate EMA of something but the last part with close is not clear to me in regards to...
I have a labelObject in the charts , and i can show it on the charts but i use the function to move the label to an other place is not work like this code       msg = StringFormat("%.4f", nowLow);       dvolue = nowLow - dWHigh;       td = Time[itime];       objname = sNameList[32];...
  StepMAExpert_EAs (539   1 2 3 4 5 ... 53 54)
StepMAExpert_v1.1 EA. H1 timeframe. 4 main pairs.
So I was on the demo account in a trade on the eur/usd. I was short and in profit. At 5pm the JOLTS Job Openings came out for the usd and it was positive (i know it is not a high impact news announcement) but it should be good for the usd. At 5pm though euro got a boost up and so my downtrend ended....
  MT4 on Cloud (4)
Is someone running MT4 on Cloud? Can you suggest good service providers there? Not looking at very costly service but yes not looking at more than an hour downtime a day that too during American session end and Sydney session start. Cheers, Guri
I am fairly new to this so please don't be annoyed if I sound silly . The subject is forex . So I've done research over the internet and you hear leverage this and that, leverage is dangerous ,take care , but leverage if used properly can give you some amazing returns but you need to gain a lot of...
I do it like this, but it seems a little hackish.  Is there a better way? Thanks.    for ( int i = bars; i >= 0; i-- )      {         Value = high[i-2];     } Also, is there a function that adds up the previous X amount of ohlc values?  MathSum is the only one I could find, but it only adds up one...
l have tried many code , but still can't find way to get today date. Example Today = 10-Sep-2017 When l doing backtest on = 1-Jan-2015 How to get today date? Thank you. Best regards.
What is the difference, if any, between ChartRedraw() and WindowRedraw(). Or do they perform the same operation? Is there a best practice for when to call one function versus the other? Thank you.
HI , Is it true that if i want to test an Expert Advisor on mt4 wich use a DLL i must activate the auto trading ?
hello everybody,a i experience a really frustrating problem. i'm using the mt5 for a while now.   And i"ll tried to download the MT4 platform from the website. Guess what happens. I installed it and the mt5 trader appears. So i tried again. And the same thing happend. Can somebody tell me whats...
  Tick chart (1)
Is it possible to get tick chart on mql4 or mql5 or 1 sec bars. Anyone can point me to necessary directory would be greatly appreciated 
Hi im trying to create an array with a lenght of 59, where each value stores the tick number second by second. i have simplified the code here, I can also define it from 1 to 59 using for or while but after few ticks it says "array out of range" 263 time = TimeSeconds(TimeCurrent());...
Hello im new here on mt5 forum, not sure if this is where im meant to be but cant find the Mt4 forum, Ive been using and programming Mt4 for quite a while, now installing to a new computer and the Mt4setup.exe file is installing mt5 instead which is just wierd. Ive tried downloading the mt5 setup to...
Hi Guys... I would like to know if anyone has a way to use Multiterminal with accounts holds at a Broker who does not support Multiterminal. Apparently not.. If not, is there a way to monitor and manage several MT4 accounts on a unique screen.. Thanks everybody..
Hi i`m curious how the MT4 handles the shifting of the arrays after each tick.And here i`m mostly interested in the Volume[] Array. My question is that what algoritm shifts back the entire array by 1 element after each new data (in our case tick and/or time for a bar to close relative to timeframe)...
Hello all,  I'd like to know which is the exact formula (used by brokers) to calculate preventively the monetary value of a SL or a TP.  I'll explain better: if I set a pending order or I send an order to the market and I put mouse over my SL or TP level, the platform says me how much (in deposit...
Hi Ive seen that it is possible to embed a browser into a metatrader chart window. This should really awesome! Does anyone know how this can be done? Thanks
How does the platform determine whether to run a script with double click or launch meta-editor? I never get a consistent result.
I need to secure my EA so that it is freely available on demo accounts but require registration when used on a live account. I wrote some simple code, but it does not work in spite of having the correct Account numbers. Can you help me?      if(IsDemo()) return(INIT_SUCCEEDED);            if(...
Hi, I am trying to open at the beginning of a candle an order (buy/sell) with relative stop loss and take profit, after a generic signal is given at the end of the previous candle. Clearly it should be opened only one trade in the candle after the signal.  How can I tell the EA not to open...
Hi guys, On regular OnTick event, I would like to know exactly WHEN the OrderSent function is done(sent) when there are other commands after it, like print or calculations. Is the Order sent right at the line processed in the code, or does MT4 ait until the Ontick code is finished? Thanks for your...
hello, can anyone know why these two indicators show different result? Indi_A.mq4 is original code Indi_B.mq4 is my changed code // Indi_A.mq4#property indicator_separate_window#property indicator_minimum 2.0#property indicator_maximum 4.0#property indicator_buffers 4#property indicator_color1...
Hello everyone, I'd like to ask you all for some hints and tips on creating a professional style code to help maintain my trading account. I don't know there to start, but so fair this is all I have. void ACCOUNT_MANAGEMENT()  {   int AllOrders=OrdersTotal(),TotalAskOrders=OrderSelect(OP_BUY || No...
Hi, I called the code if(OrderSelect(ticket,SELECT_BY_TICKET)) everytime Start function executes.  Is it expensive to call this function everytime? I do this to populate new records to check the values in OrderCloseTime() and OrderComment(). L
Hello guys i have this idea i wish to implement into my EA, this idea involve waiting one hour after my order has been close that is either if TP or SL is hit and i have been thinking and came up with this so guy please i need your help. below is my attempt, is it correct? or should there be any...
Hi!  I am new to MT4, although I have spent a few years studying, practicing, and scripting with Forex trading before I used metatrader.  Now I'm trading rather successfully with MT4 using Expert Advisors running a Virtual Server. Question: If I am running expert advisers now, and I synchronize...
I, is there a function to have the total profit of all the opened order? Like OrderProfit...Thank's Piero