Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1025

To post a new topic, please log in or register
  1 question (2)
I am recently trainig on meta editor, and it's a great experiance.But does training on meta editor help in understanding the fundements of trading using mt4?And if not where can we fully understand trading principles.
I'm trying to place a series of trades at a certain time, but i've noticed the trades only go through as long as there is a tick at that certain time... is there a way to make the trades go through soley on a time basis, and not on each tick? here's what i'm working with.... it's pretty simple. int...
Hi, I am trying to write a simple script to place orders for me using the include file OrdersSuite.mqh and my own include file myfunctions.mqh. The code I have written works perfectly on my main broker Alpari UK. But I cannot seem to get it to work with FXCM. All values at calculated correctly from...
Good morning all....I have been battling with this dillemma for awhile now and need some assistance. I have a system that I run on my real account that uses two EA's: one to place the trades once the conditions for trading have been met, and one that removes orders once my trades have closed for...
Hello How would you use a limit order as your stoploss. StopLoss = OrderSend(Symbol(), OP_BUYLIMIT, Lots, Ask, Slippage, StopLossLevel, TakeProfitLevel, "Buy(#" + MagicNumber + ")", MagicNumber, 0, DodgerBlue < 0); Or how would you code it. Any help would be great
I am having a problem where I attempt to close all open orders. Sometimes it will error out saying that it was an invalid price and when I look at the price shown there are like 4 or 5 extra zeio's at the end of the price value. The errors are as follows: 2009.07.09 23:51:37 SimpleGrail6 USDCHFgfx...
Greeting, i develop an indicator to do external functions DLL call. The functions was called successfully however when i delete the indicator from the chart window, a crash occur. Below is the crash details. please help. thanks. There has been a critical error Time : 2008.11.11 14:31...
I don't want to use extra software to put mt4 into the system tray. Can I put Mt4 from taskbar into system tray without using third party software? If possible, can this feature be added to the next update/build?
Good Morning from California, Been tearing this problem apart and just digging a bigger hole. Can someone have look please, 29 errors, but looks like I am have prolems understanding the declarations, as well as the code. Thanks in advance, Huckleberry #property copyright "Copyright © 2009,...
Can anyone code a MA with acceleration factor? Maybe based on ATR. Any other idea? Thanks
Im trying to create a buy when the current price reach's 10 pip's above the current bars low on the HR1 chart and vice versa for sell. I have created some EA's on indicators but I am not skilled enough yet at this and need help for this particular trigger. Can anyone help me with this? Thanks!
I have an EA that I want to start when price nears a specified level in an array: double stops_array[11] = {1.0, 1.1, 1.2, 1.25, 1.3, 1.4, 1.5, 1.6, 1.75, 1.8, 1.9, 2.0};So, I need to check the current Bid or Ask and round it to see which level it is near.However, once it has reached that level and...
Hi Guys, Please help me to make test for two object one time : I'd like to make order sell GOLD and Buy SILVER when its ratio > 75, but it can work only for either GOLD or SELIVER, the orders cannot processed both at once. Thank you.
Hello, I wish to open a trade when I reach a day line, e.g. the top of the previos day. So, my time frame has to be daily. The problem is that I want to open it only once today, and only when I reach it from the bottom up. It shold be something like: if (Bid == High[1] && ?? ) // open a trade Any...
I got all the details zipped up, with a capture and so on and so fort. It's not a big pieces of coding I'm sure for those who knows, I'm just really bad at it. Appreciate it! Cheers. mank
I'm looking for an MQL4 programmer that is willing to do a small project for me for free. I have a few simple FX trading rules that work suprisingly well and would like the rules to be programmed into an automated system. If anyone is willing to help please e-mail me at jammixmaster@aol.com...
Where can we get meta editor MQL4,we can't learn the language without having the program.
Hi Daneil i will waiting for your kindly help for my new EA,my e-mail add welfordooi@yahoo.com, i have a profitable manual trading system,but i lost my life of trading day and nite. Hope you be able to help me on my new EA. at the same time i share with you what do i have.
To see whether the short-term indicators are very accurate in the long-term absolute up every week or the form or that the indicators for a better discipline to use, novices and non-see indicators do not fit, want to have the strength and sincerity of a friend and Prudential do not contact me no...
Hi, I don't know if it's normal but when I test a EA on two month of time, backtest finish in two hour or more (tick by tich method). I know of people spend few minute for the same operation. What's wrong ? Actually when I test an EA I wanna try more time frame and more variable combinations but...
OK. Here is the start of the indicator code. All I need to do is enter a trade on the same bar as when the arrow first appears ############################ #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Fuchsia int gi_76 =...
When you tune an EA for establishing adequate leverage, lote size, it yields distinct "net profit", "profit factor", and "MAXIMAL DRAWDOWN". So, my question is which values are considered as acceptables for the "percentage drawdown"? 1% ? 10%? 20%? more??? ........?? Thanks AM.
  newbie EA :) (3)
hi all im trying to build my first EA is it possible to look for a custom indicator on the previous candle? and if yes how? thanks in advance
Hi, I trade fx for around 6 month only. I have read Automation Trading Championship sponsor by MQL4. I am impress by Auto trading. I would like to learn how to write a EA. I am not a IT guy and know nothing about programing, but I am willing to spend time to learn. How should I start? I have read...
Thanks everyone, this problem was solved. ************************ Hi. By using this script, you can copy objests from chart A to chart B just fine, but you can't make it copy from chart B to chart A at the same time. How to copy: 1 Set extern bool bMaster = false for chart A, which you want to copy...
  Help: stochastic readings (14   1 2)
Hey all, I have been trying to develop an expert based on stochastic. I use readings on PERIOD_H1, with the following commands: STO_Value_current = iStochastic(Symbol(),PERIOD_H1,K,D, Slowing,MODE_SMA,0,MODE_MAIN,0); STO_Value_prev = iStochastic(Symbol(),PERIOD_H1,K,D, Slowing,MODE_SMA,0,MODE_MAIN...
I am trying to create an EA to trade from a signals service provider - eventually anyway. For now I am trying to program just the functions to read in the necessary information. Two approaches I am considering: 1. The alerts come via email, I can download these into either one .mbox file or separate...
Dear All, Here is the indicator code...it compiles ok but doesn't show any values. In debugging, I found that it is unable to populate ROC array..what am I doing wrong? ************************************************************************************************...
Hi there, I'm just getting started with MQL4 but I'm not new to programming. I've had fun setting up a few indicators preparatory to writing some EAs to implement and test trading strategies. Can anyone tell me how I pass array parameters? For example I want to take a mean of a range out of a time...
can any one make a program that if i want to close only the sell and close only the buy