MQL4 and MetaTrader 4 - page 1446

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
[Deleted]
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...
[Deleted]
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
[Deleted]
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...
[Deleted]
  Can anyone help?  (2)
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...
[Deleted]
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.
[Deleted]
  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
[Deleted]
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
[Deleted]
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? ************************************************************************************************...
  Array parameters  (5)
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
[Deleted]
can any one make a program that if i want to close only the sell and close only the buy
[Deleted]
Hello, can anybody tell me how to find the first Bar of a indicator? I want to calculate a the first value in a specific way, and afterwards calculate every new indicator value an basis of the previous. thank you for help
[Deleted]
Hi, I am new to metatrader MQL but have heavy experience in programming. I am trying to change the color of a candlestick bar based off an indicator. For instance if stochastics or RSI is greater then 80 then i want the candlestick bar for that tick to be blue if it is less then 20 i want the
FXCM is offering fractional pips, my EA stops working (it does not place orders) on FXCM demo. I don't know why. Anybody has an idea ? thanks
Do I have to restart the whole MetaTrader if I want to update my EA that is currently running on an account? Or, is it enough if I just copy the new modified EA the the experts- folder, and compile it?
-
how to carry out an OCO(one cancel the other) command in MT4? for example: i sell eur vs usd at 1.39500,then i set a sell oco,limitprice(takeprofit) at 1.4050,stopprice(stoploss) at 1.39000,how can i make system hit stoploss(stopprice) level while it automatic cancel another takeprofit order. how...