Download MetaTrader 5

MQL4 and MetaTrader 4 - page 63

To post a new topic, please log in or register
Hi all, In tradingview there's an indicator called "Correlation coefficient", which represents the correlation between 2 Symbols (the chart symbol and another chosen symbol). See image attached. It ranges from -1.0 to +1.0 . If positive means the 2 symbols move in tandem, else they are moving in...
i want these level notify me: extern bool Base=true; extern bool Entry1 = true; extern bool Entry2 = true; extern bool Premature_Entry_1 = true; extern bool Premature_Entry_2 = false; extern bool Pullback = true; extern bool BreakOut = false; extern bool TP1=true; extern bool Ext_TP1_1 = true;...
I am working with a FX brokerage and we are looking to integrate our Salesforce platform with Metatrader to create accounts as someone signs up for the brokerage. Is anyone familiar with how this can be done. Thanks!
Is  Metatrader API service free or paid? how to get API service?
Hello, I want to create a website like myfxbook, I want to ask you some things about API mt4Can mt4 provide realtime transaction data?does mt4 provide transaction data via the API of people who have login in mt4?thanks.
This is a follow up to the recent article Be In-Phase by Mikhail Korolyuk. As my comments would be too extensive to add there and the topic is (as I think) of general interest, I decided to start a new thread here. This is to be seen also as a attempt to contribut something to the MQL4 community, as...
I think metatrader 4 is all a trader will ever need, as metaquotes will try to end it, i found a way to keep it forever, using offline charts, i see that period converter open a hst file and just refresh it every 2 seconds, on offline chart, my question is how to  instead of use hst file, use a csv...
Hello MQL please give a feedback on this Indicator it calc pivot point and R1 and S1 using the standard method and this method this method is simple math :  EURGBP*GBPUSD=EURUSD , EURJPY/USDJPY=EURUSD ... #property indicator_chart_window#property indicator_buffers...
I'd like to take a break when I lose my deal. I've made a code, but it doesn't work properly. I'd like to put it in terms of purchase. Can you explain the above code? extern double initial_Lots = 0.1; //+------------------------------------------------------------------+//| exter...
Hi, I read about the new mql4(Build 600+) and already updated my EAs, now i have a question. How secure is the new protection against crackers and other types of executable cracking and modifying the code. EX: hex editing date of expiration, memory dumps, etc.. How secure is a simple time...
Is it possible, by code, to retrieve the EA name?
hi, i need help to change parts of some datetime value, with another variable, it's possible to do that?//+------------------------------------------------------------------+//|                                                test.mq4 |extern datetime time= D'2017.11.05 0:01:00';int a=10;int start...
Hi I am wanting to backtest both weekly and monthly timeframes, but MT4's strategy tester only goes as high as daily. Is it at all possible to backtest higher timeframes? cheers honkin
When using the following code in a script, it works fine: CurrentFileName = StringConcatenate(ReportsDir,"\\",title," ",TimeCurrent(),".html"); h = FileOpen(CurrentFileName,FILE_WRITE); However, using the same code in an expert advisor result in an error opening the file. When removing the...
Does anyone know how to calculate the max draw down on a pair at a given bars e.g 100 bars?  
Good night everyone, I am trying something interesting with Zig Zag indicator but I have a little doubt. We all know ZigZag repaints to adapt to new price values and cannot be used for signaling, right? I am trying to build an indicator that can show me all those points signaled by Zig Zag in the...
Hi guys, this script should close a part of the running trade just to cover a possible loss if the stoploss would be hit. For example I bought EURUSD at 1.1600 and the stoploss is at 1.1550. Price rises to 1.1700. Now I want to sell exactly the amount of lots that the rest position is safe in case...
need urgent help to instalmt4 in mac
Newbie here, sorry if this is a repeat. I'm seeing these 'balance' orders in my account history, besides my buy and sell orders. I'm talking about the 1st and 4th orders in the image attached. These are just a few cents, and clearly not any account deposits/withdrawals that I did. They seem to...
The code samples shown below draws and displays the chart per new bar, https://book.mql4.com/samples/icustom I want my indicator to be in a separate window and display independently from the main chart. and it should draw fixed details (non-repainting) at 5 second intervals. Which means when the...
The variable "speed" should display the value of variable "ti" which is 0.00156. But it just displays some random number. Why this isn't working? any format conversion mismatch? double and inters etc?...
Blew script is not closing my pending order can anyone help me please.........//+------------------------------------------------------------------+//|                                            1ClickCloseAllv03.mq4 |//|                                Copyright 2016, Ozan Buyuksemerci...
I just finished a 10 hour optimization run and I realized that the save report doesnt include the input Parameters for each case. Is there a way to make them show up? Thanks
Hi, I have (more than) two times installed mt4, all of them came with their editor b.1601 dtd May 19, 2017. But one shows this toolbar: the other one: So on the second editor I am missing the option to search and to un-do and re-do? Ok, if I click on "Edit" I have these options and the functions...
Does MQL5 provide trade signals with a profit percentage charged rather than a subscription amount? Or can anyone suggest another service who does that??
Hey guys, I'm trying to run two independent EAs on EURUSD, and I'm having issues with making them managing their stoplosses independently. I'm pretty new to this, but have done my due diligence and couldn't find a solution to my issue. Any help is appreciated! Yes, I am running the EAs on 2 separate...
HiWitch will give me the best price you think? And why? Example 1) If i set a pending order at 1.100 on EURUSD at 20 lots 2) Or if i set 40 pending orders at 1.100 on EURUSD  at 0.5 lots? And allso another question. Will 40 orders require more data power (such as CPU or memory) to have open then...
Hi, I'm trying to use the heiken ashi without using the iCustom call, am I on the right lines with this:    int MaMetod=2;   int MaPeriod = 24;   int MaMetod2 = 3;   int MaPeriod2= 2;   double maOpen1=iMA(NULL,0,MaPeriod,0,MaMetod,PRICE_OPEN,1);   double maClose1=iMA(NULL,0,MaPeriod,0,MaMetod...
Recently installed MT4 and at present time, the buy;takeprofit and stop lines are not on the chart.  How do I get these lines on the chart.
Hey Everyone,Would have a question if someone could please help me.On the left side of main dashboard is Market Watch menu. Here is a list of all trading symbols (trading assets) available to trade, regardless of type of financial instrument, e.t. stock, material, etc. I have there everything...