Download MetaTrader 5

MQL4 and MetaTrader 4 - page 827

To post a new topic, please log in or register
#property copyright " N.Huy "#property link      ""//+------------------------------------------------------------------+extern double Initial_Equity = 3000 ;extern double Profit_Rate = 5 ;//+------------------------------------------------------------------+double Profit_Equity...
Windows 7 MetaTrader 4 Problem - New script files deleted on startup. When I run MetaTrader 4 in Win7 64 Home Edition it deletes all the newly created/copied script files from expert/scripts folder. So after startup only standard scripts remain in the folder. What is this? Any Ideas?? I tried...
Hello, With no success, I have been going through various forums to find out if anyone has posted how to backtest a Fibonacci sequence. I know that it's either difficult (or impossible) because it solely depends on the person drawing the sequence and also the variations in price action, but I...
How to calculate the maximum value of a bar within a period of 10 bars? I'll use this to calculate the resistance in this period.
Hello Everyone, I would like to make sure that I have a continuity and disaster recovery plan for my MT4 trade station. I am running a robot and would like to have multiple locations using different power and broadband providers. I would like to have each server running mt4 on the same broker and...
Hello, I would like to make sure that I have a continuity and disaster recovery plan for my MT4 trade station. I am running a robot and would like to have multiple locations using different power and broadband providers. I would like to have each server running mt4 on the same broker and same...
Windows 7 (64bit) Pls help me why?: There has been a critical error Time : 2009.12.15 01:41 Program : Client Terminal Version : 4.00 (build: 225, 10 Jul 2009) OS : Windows Vista Professional 6.1 (Build 7100) Processors : 2 x X86 (level 6) Memory : 4158312/2864560 kb...
Hey guys. can anyone please tell me how to set my mt4 to send mw alerts, for example when a cross over of moving averages takes place? i would like for my alert to go to my e-mail inbox. thank you.
Hi, I'm new to MQL4 and do have a problem with the execution of an Expert Advisor. While the Expert is running I'm getting the alerts I assigned to the OrderSends, but the orders don't show up in the Trading window in FxPro, which means the Expert doesn't do anything at all. Thanks in advance. Here...
Hi, I have a problem in coding Trailing Stop Loss. if (OrderSelect(u,SELECT_BY_POS,MODE_TRADES)) { double stoploss = OrderStopLoss(); int ticket = OrderTicket(); double priceopen = OrderOpenPrice(); double takeprofit = OrderTakeProfit(); int typ =...
If you've got several charts open, can an Expert Advisor cause the chart that it applies to to be selected? So if all your charts are maximised, the one that it selects will be the one that is displayed. Would be useful if this can be done.
  other forums (1)
are there other recommended forums or brokers,automatic trading, strategies ? TIA.
New article MQL5 Wizard: How to Create a Module of Trailing of Open Positions is published at mql5.com: The generator of trade strategies MQL5 Wizard greatly simplifies the testing of trading ideas. The article discusses how to write and connect to the generator of trade strategies MQL5 Wizard your...
hi guys, since I cant find it in the forum, maybe you can help me here. I'm trading 10 pairs at the same time, so there are possibly 10 trades or so open. I want to know the profits of - lets say - EURUSD. so far I have: double profit_in_currency()   {   int i, iOrders = OrdersTotal() - 1;...
Hi all, Can I please indulge a kind developer to write me a small EA for MT4? Objective: To open and manage hedge orders to orders created manually Description: I open trades manually in either buy or sell direction. I could open multiple trades at any point of time in either direction for a...
Hello friends this is checkmail and still being learning tried to code an MTF Macd indicator, me just wana add an text display to it, like the tui indicator but am getting lots of errors, think its on the final condition of buffers + 0. Can anyone correct the code....
unfortunately I have not found yet the right way how to do this but at least i found a detour if anyone has a direct way to do that i would be grateful the way i found is by forcing the terminal to save the data through opening the folder that contains the log files #include <WinUser32.mqh>#import...
Hi folks . Im really in red. dear coders . i dont know if you are checking this page, but really need your hel p. i just want this expert stop closing positions by its color changin' . This expert based on famous Slope Direction Line . i reviewed its code but it hasn't any sharp or satisfying...
The ways I'm aware of in which I can display data from an Expert Adviser are: 1. Using the Print command to send messages to the Experts tab; 2. Using the FileWrite command to send data to a csv file. Any more? Is it possible to have a specific window which displays the data? I suppose I could...
  Hi everyone (9)
I am Jason Robinson aka jnrtrading. I have been behind some of the indicators youmay have seen floating about the net. If you need help with mql4 then I hope tobe of as much assistance as I can. :) Cheers.
New article MQL5 Wizard: How to Create a Risk and Money Management Module is published at mql5.com: The generator of trading strategies of the MQL5 Wizard greatly simplifies testing of trading ideas. The article describes how to develop a custom risk and money management module and enable it in the...
Hello, i am testing my system on the 1min RT for EURUSD. i got data from 2000 to 2010. only missing data in that period is from 2010.05.08 to 2010.07.08. i.e. i am missing may2010 to july 2010 months data straight away. problem is 2010 is suspense year for my system. i've tested/designed it on...
According to my profile, my article has hundreds of comments Actually, it only has one!
  Living Forex? (16   1 2)
Hi Guys, Just curiously. There are somebody here that really gains money with Forex?, manual trading, own EAs? Somebody know someone that already gains much money with this? NIERO
Hi all, I'm revising the fitness function of my genetic algorithm implementation and so far I've only had the profit to be the only criteria. That means the fittest lifeform/strategy is the one with the highest pip count. Clearly this needs improvement. So for now I have: - profit, in relation to...
Hi, I'm new to MT4. Hoping you can give me a little help. I set up a VPS with Ultrahosting and loaded their copy of MT4. I don't want to use Alpari. How do I set up another broker in MT4? Do I need to download the MT4 platform directly from the broker I want to use, or do what?
Hi, How would you close all open positions on a specific pair when the sum loss had reached a certain level? Without closing all other open positions on other pairs Example ProfitLoss = 500 //max loss of all positions of a specific pair Sum all EURUSD positions If sum of all EURUSD positions >=...
dear MT4 traders, If you have read this already, I apologise for taking up space, I really do need this EA. I thought of a trading stratergy some time ago that is really simplistic and very effective (nearly), I have used it quite alot on demo, and am now looking for an EA to complete it. The...
How to calculate the number of points (pips) won the day?
I wonder, why there is bid and ask, why you can't just agree to take the middle, the average ? To increase the number of orders, agree also on fixed timings, -say- one settlement every 10 minutes, then the average of the quotes for the last 10minutes is calculated and taken as the price to be traded...