Download MetaTrader 5

MQL4 and MetaTrader 4 - page 270

To post a new topic, please log in or register
Please, help as the above symbols are missing. How can i get them back?
New article Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal API, Part 2 has been published on mql5.com: This article is a continuation of the first part "Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal Panel, Part 1". In...
Hello,   How to make hotkey for "Vertical Line" in MT4?   Thanks, Max 
Hi, Need help. i installed this Forex Currency Indicator(FCI) and trend scanner on my MT4. Vers 4 build 765.  Problem is Forex Currency Indicator. This indicator appear back on graph as per picture i attach. How to pop up window it like the other below? i mean like other standard indicators. i cant...
After posting a message to service desk, asking for zoom in shortcut as in MT5 (which knows about "-" and "=" keys on first row on keyboard) they told me I need to use Shift + "=" to zoom in. huh? thats very intuitive, thanks but no thanks.  I searched for a solution, and the most flexible was...
void OnTick()  {      double vol=0.01;      Print("AccountFreeMargin before:",DoubleToStr(AccountFreeMargin()));      Print("AccountFreeMarginCheck:",DoubleToStr(AccountFreeMarginCheck(Symbol(),OP_BUY,vol)));      OrderSend(Symbol(),OP_BUY,vol,Ask,0,0,0,"test",0,0...
Is it possible to move the Trading Panel in MT4? I would like to move it to the right hand side of the chart.
  orderselect (2)
Hello. i have a problem with OrderSelect() this i the code a made but ther orderclose never carry out. so if someone could help i´d be very grateful.  input double Lots=0.01; input double macd_rapido=12; input double macd_lento=26; input int macd_signal=9;   input int slippage=3; input int...
Hello guys, I have question for connoisseurs of MT. I wonder, how does the tester in visual mode. Let's say that the main period of the strategy is to 1 h, I set the best mode of testing the quality of the data. I run the tester, MT downloads 1 min data ( in ../tester directory), and the chart will...
  tester... (4)
hello everyone In MT4 In the tester is it possible to automatically eliminate some tests optimization? For example: In an EA I have the option to use (true) or not (false) the parameter "traillingstop." With TS = true, the tester evaluates the parameter "distance". ok But with TS = false, "distance"...
I am using MT4 v4 Build 765 and I wanted to create a new version of an existing custom indicator - which I have done. I created the files 'as indicators' in the MT4 developer window and can see both the old and new indicators in the Navigation pane. Both compile OK but.... the new indicator doesn't...
I try to port an indicator from MT5 to MT4, and this error is all over the place. for example: 'ENUM_APPLIED_VOLUME' - declaration without type        utils_mql5.mqh  353     69 Apparently this type is not recognized, although I find it in mql4 docs what can I do about it? Is this a bug? Am i doing...
Dear Gurus in the house, Please I need enlightenment on this: I used 30p for my stoploss and 30p for takeprofit also but after the ea opens the order, I noticed that the stoploss points was higher than takeprofit point sometimes by almost 10p. What do you think might be responsible for this as when...
Ok guys,   I am at a total loss as to why this isn't working. I have a nice snippet of code that I like using to optimize the lot size based on a percentage of account balance and the stop loss that's been set, but I don't know why the EA is only keeping it at a constant 0.1. I have been trying to...
Ok.  I'm trying to learn how to draw lines using the classes provided by MQL4.  I put this in a script to attempt to just draw a simple line.  But when I drop it on the chart, I don't get an object created.  Can someone show me what I'm doing wrong? #property strict#include...
As I believe in "step_stochastic nmc_mtf-lines-alerts.mq4 ", I would like to ask Mladen and/or Mrtools to build new EA based on this indicator with simple conditions which can be modified later on: - fixed lot - sl and tp can be define or the EA work according the indicator signal - Frame time can...
Hello all, I have a problem with a newly written indicator that basically detects four different divergences explained on this site: http://www.babypips.com/school/high-school/trading-divergences/divergence-cheat-sheet.html My problem is that I want to make a second for loop running inside the start...
My first post here on the forum: I am running an EA that for some reason trades will only be initiated on the default profile and no others. Anyone had any similar experiences or insights?
When I drop script onto chart, I want a horizontal line to be created and the flexibility to move this line where I want with the view of returning the price once I lock it in and the script continuing with the rest of the code.  I know how to code so i am not asking for someone to do this for me,...
Is it just me or is there an abundance of people in these forums who just refuse to read the documentation, search or try to learn how to code? I do believe that MetaQuotes does need to spend a little time on Educational Videos or something like it. Over the years I have had to Google and search...
Hi all: I have a technical problem with the MT4 platform. I have a FOREX.COM real account and want to look for the investor's password. However, since I opened a demo account, the old mails were flushed out. However, I can find the mail file from the user's directory but it's coded in binary and I...
Is this the right way t do ichimoku alerts in MQL4? The alerts are at the bottom. I haven't figure dout a way of swapping over the senkou span/kumo cloud alerts yet apart from the alert every time the Bid price crosses. Complete code in the attached notepad file. //----ALERTS//---- TS cross KSif...
Hi, Can you guys help me to make this candlestick pattern?   it's different than usual pattern. Can you guys please help me, how to code this?    regards 
Hello, In my EA I'm trying to catch the moment when the custom indicator changes its color, would you guys help ? Thank you! Source of the indicator below //--#include <MovingAverages.mqh>//-#property indicator_chart_window//-#property indicator_buffers 6#property indicator_color1 clrNONE#property...
Hello, Hopefully someone will be able to help with my query, I have a base class, and 8 inherited child classes, is it possible to create an array of type "base" to store each child object for easy looping, or would there be a better approach to this? The cCurrency class is responsible for...
  iMACD (4)
Hi everyone; double  iMACD(    string       symbol,           // symbol    int          timeframe,        // timeframe    int          fast_ema_period,  // Fast EMA period    int          slow_ema_period,  // Slow EMA period    int          signal_period,    // Signal line period...
Hello to all. I have been trying to search around here and on mql5.com for what exactly this ERR_ORDER_LOCKED is all about.. there are multiple places to find that 139 means Order is locked but no explanation as to what this means.. is this something the platform is doing or something the server is...
I want my EAs to ankwoledge the news in market, I will like to use this information in 2 ways. 1.- To analizye the news impact on my strategies, using backtesting, data analisys, etc... 2.- To make use of the time of next releases, to perform actions on my EAs. I know that for example forexfactory...
It seems possibly that integration with Visual Studio is quite good. Can someone help out and tell me how integrated backtesting and Visual Studio can be? Perhaps a different IDE is possible too???? Are you getting all watch windows working, can you "edit and continue", are breakpoints working, are...
  MACD / MACD-2 (12   1 2)
This goes to anyone that can help me ! I am new to MT4, and consequently not familiar with its operation system regarding downloading external indicators. Anyway, I am using an APPLE Imac computer where I downloaded the MT4 using a PlayOnMac / Wine. No problems up to here and neither to set up my...