Download MetaTrader 5

MQL4 and MetaTrader 4 - page 683

To post a new topic, please log in or register
I had a bug in my code and when I used the bugged indicator, it froze my laptop. I restarted the computer and fixed the bug but I am unable to open up the mt4 terminal but I can open up all other apps on my laptop. How do I get mt4 terminal to open again?
I discovered a great trading sytem and i would like to transform it into an exper advisor. The EA should buy when the trend cross a simple Line & do takeprofit/stoploss at an Fibonacci line. Can somebody help me ? Best wishes, FreeStyle
how to modify magic number? follow parmeters,which is magic number?
  range bars (1)
is there a template for metatrader that will produce range bars?
Hi, I am quite new at all this automated trading and I have written my first expert advisor (yay), but now comes the dreaded task of backtesting (boo). Since I've only been doing this for a month that's all the information I have. I was wondering if anyone has a .hst file with the year's data, and I...
Does anyone know where I can get the code for the aforementioned 3 time period of pivot points so that I can plot on my charts? Any help would be greatly appreciated. Nick
Is it possible, in an EA at one broker's account, to monitor the price action at another broker's account. Example: I have an account at FXDD and AskOBid, and I want to put an EA on the FXDD account, but I want that EA to factor the price action of my AskOBid account before it places an order in...
Hi, I would like to ask you if there is any convertor for FML to MQL4? Thank you in advanced, Nikos
Hello guys Can somebody help/show me how to add "Day Filter" & "Close All Order" function. For e.g if someone doesn't want to trade on Friday(select friday for both function), then the function should not open any new trade on fridays and also should automatically close all open orders/pending...
Hello guys, Could you help me? i will change my stop lost automaticly when i get profit 1 point. it can be? ths guys.
Hey, I just read a lot of explanations about absolute, maximum and relative drawdown. This one seemed very good to me: https://forum.mql4.com/41359 BUT now I made a backtest to see it for real - and the numbers look different. The above explanation can't be right.. I attached to files. One without...
New article MQL5-RPC. Remote Procedure Calls from MQL5: Web Service Access and XML-RPC ATC Analyzer for Fun and Profit is published at mql5.com: This article describes MQL5-RPC framework that enables Remote Procedure Calls from MQL5. It starts with XML-RPC basics, MQL5 implementation and follows...
Hilfe zur Programmierung auf MetaTrader findet man unter: /*spam deleted*/ auch ein Benutzerhandbuch über MetaTrader: Erste Schritte mit MetaTrader Downloaden: MetaTrader Benutzerhandbuch Downloaden: MetaTrader Handy - Benutzerhandbuch traden übers Handy Downloaden:
Hi Community, has anyone else had any problems with their EA mq4 code vanishing from the expert folder? If so what is the remedy?
im looking for an indicator that will tell me if the 3 day swing is either up or down thanks
APeng
Hello to Everyone! I would like to draw a trendline with ObjectCreate("trendline",OBJ_TREND,0,time1,price1,time2,price2,0,0); I have the time1 in that format: 2011.10.03 18:12 and time2 in the same format: 2011.10.03 20:12 Price1 and price2 are in a normal double format. Does someone know a way...
Hello everybody, I'm trading on correlation between the pairs usdchf/eurusd and kindly wanted to ask for some help from you coders. What I need is a script/ea that allows me to close specific positions on these two pairs depending on price levels on the crosspair (eurchf). Example: I've got four...
This is my first post on the forum, Have been coming here and reading off and on for some time. Its a great place to learn. One of the best I've found for the "mql" language! Thanks to all that make it possible and those who Moderate it as well!! The problem is most likely easily fixed, I've tried...
Hello, some broker set up stop loss or take profit with a level of 300 points or more, it is possible to modify this set up ? thanks for your help
Hi, I am new to MT4 and struggling to set up envelope lines 1% above and below the 60 day moving average. Can anyone help me with a solution please?
Hi Fellow Traders -Programmers! I appreciate yourhelp on the issue: I have many profiles,each for different analysis purposes; each profile have many charts windows inside. The issue is it's time consuming to change different market,like from eurusd to usdjpy for example, into the same profile; each...
Considering the amount of instruments available at most brokers it would be nice if MT4/5 supported either 1. a way to change the instrument and/or period (settable which of the two should be changed) on all currently open charts 2. a way to 'link' charts such that if you change the...
New article The Basics of Object-Oriented Programming is published at mql5.com: You don't need to know what are polymorphism, encapsulation, etc. all about in to use object-oriented programming (OOP)... you may simply use these features. This article covers the basics of OOP with hands-on examples....
FX is not stationary, it is non-periodic. So it does not make sense to use a constant look-back window on any indicator: they all need to be adaptive to the market. I would suggest to make an overview of all possible ways that the length of the window can be adapted to the cycle length. I will start...
Hello, My company is working at an integration between Java and MQL4. The advantages of the approach is the usage of artificial intelligence, databases, web services, high performance computing gateway, or statistical artifacts already available in Java. We have already the capability to call static...
Hello, We are having an issue defining our Stoploss and Takeprofit levels. We broke down the MACDsample EA supplied with MetaTrader 4 to a simple Macd Cross EA. We can set the takeprofit and stoploss values but the EA backtest results are inconsistent with what we have set. We are not sure if we are...
I have a workable EA based on RSI. I seek for help to improve this EA with an automated lot size (increase or decreases automatically depending on current margin or equity) Can someone help me with this?
Good morning, as always, the first steps are the most difficult ones, so I appreciate help. I have tried to adapt the codes of existing indicators, but I have difficulties. So I prefer to specify what I would like to do: 1. 2SMASlope_Indicator: Inputs: Fast = length of SMA1 (= 1st Simple Moving...
hi i have been trying to adapt this code to my ea so I have got it to find a trend line drawn by me on the chart no it not my code just my adaption of the code the function works and produces the desired result however i can figure out how to get the result out of the function that is i cant...
Hello! I've looked in the forum but cannot find anything. Before I go and code it myself, I thought I would ask - is there an equidistant channel indicator? Something I can access from within an EA? Thanks very much!