Currently I use FileWriteArray to move between the MQH files and MQ4's. I am not aware of any other methods to adjust an array in one location Change it and send it back. My Current issue is two Fold. I want to use file Write Array to a USB drive to take the Data some place else. Next. How can I...
I had a typo in my EA that resulted in opening many orders, so the margin exhaustion is expected. But since the code does check margin, the 134 was not. RefreshRates();... /* However, the broker doesn't care about the at.risk/account balance. They * care about margin. Margin used=lots...
Hello I would like to build my first ea based on one of my indicators. It have only one buffer. The indicator work good. It shows 1 to open a Buy trade and -1 to open a sale trade. The rest of time it shows 0. In my ea i want to convert 1/-1 in trade so I do that : My problem it's that wrong....
Hi all, I'm testing the ea on a demo account and some times comes this error on Journal tab; 14:30:02 '2089041584': modification of order #6413070 sell 0.04 EURUSDi at 1.29077 sl: 1.29039 tp: 1.28584 -> sl: 1.29038 tp: 1.28584 failed [Invalid parameters] Any suggestions how to avoid this ' Thank...
pleas give me list off mt4 indicator developer /programeer services provider ( paid and free both)
(4)
hi if any one know then pleas give me list off mt4 indicator developer /programeer services provider ( paid and free both)
[Deleted]
All, This is the 4th EA I have tried to code and the only one that makes an upward trend,it was developed on the 5min EURUSD time frame, as the EURUSD seemed to have themost characteristics that I was after. The backtest is included below, as you can see it is only for 1-Jan to 1-Sept (Whichis when...
what is my big mistake here.....any help Please replace your code here using the SRC button.
I use support and resistance but want to work on fibonacci or pivot point indicator are best what is your opion ?
[Deleted]
Hello, I would like to know how I can receive a notification (an email for example) when a pending order is executed. Any idea? Thanks! p12d
I want my EA to only enter on the first signal, e.g. when the 3 MA crosses the 8 MA when both are above the 200 MA. At the moment the EA will do this on every cross above the 200 MA, but I would like to set it to ONLY enter on the first 3/8 cross above/below the 200MA. If I can find out how to do...
[Deleted]
I have an extern double StopLossPips and I would like to make it conditional with an IF statement. Basically I don't want the stop loss to kick in unless some condition exists in the market. In this case price above/below a 5MA. (_Is5MAStopUp) I have tried to implement it within the code where the...
I want to include a box in the top right hand corner of my screen with 6 lines of data which change each time period (i.e. 1M,5M,30M etc). I have seen some details about the mt4gui but not too much. I have extracted the following code from an example and the 'box' and TimeCurrent are displayed The...
I like to have a SMA, 10 period, 0 Shift based on "Previous Indicator's Data" of RSI, 10 period, Close. Unfortunately, I see this option in the manual/chart MA selectbox only. It is not listed in iMA "Applied price enumeration". Is code available? Thanks at forhand for your help.
Dear Sirs, I've begin an Ea, nearly close the end at thispoint, 4500 lines. It is built with 6 includes which getvariables, Globalvariable organization and Functions. It is a MultiSymbol Ea . It uses 4 indicators and 4 différents HeikenAshi. I download at the beginning then one time each minutes...
I wrote an EA and NEVER allow two orders for any pairs. However, I figured out that two orders were created for EURUSD. I checked the EA log as follows (Simplied version) 14:59:57 daily fitting v7 EURUSD,M5: Reset counters, the system is...
hello guys.. could you help me how to stop counting of ++ to a certain count... if(Bid<ma) SARup++; if(SARup>4) SARup=0; but after it become 0 it count again.. i want the rest of ++ to become zero. thanks guys appreciated your help.
I'm new to Metatrader. I want to be able to enter a time and date to place a trade of a certain value. I also want to be able to add a stop loss to that trade, but I want that to be in pips (because I don't know what the currency will be worth at the time of the trade). Also, if the dollar value of...
[Deleted]
hi, can any one tell that how can i find a close price of a 15 days ago order ?? thanks
Hi I have ma cross shift problem. I tried to make : two bars ago 20<50 , one bar ago 20>50 , current bar buy. Normally. it is a simple rule. But İt makes alot of buy-sell in current bar and cause lots of lose . My condition is about past 2 and 1 bar ago. What is the reason. Could you...
Hi, my indicator show a strange behaviour as the values of the Data-Window and the curves that are shown are not what it has calculated?? The structure of my indicator is as follows: double indi[][20];...int start() { static datetime tLastCalcBar=-1; int sz,b,iBarToCalc...
[Deleted]
Hi guys, I am getting this unusual problem. "Invalid slippage for OrderClose function." The slippage is an integer and has been muliplied by 10 for my 5 digit broker, so the OrderClose function is seeing an integer of 30 in the OrderClose function. The first strange behaviour is that the error...
I have a ea that use MT4gui. I see buttons but when i click on nothing happens. How to try to solve?
Hello, I have an issue with these instructions MODE_SPREAD & MODE_STOPLEVEL. When I check these values on a 5 broker digit I got these values for example: MODE_SPREAD : 17.00000 MODE_STOPLEVEL : 10.00000 That's ok. But, when I do the same in a 4 broker digit I got these values for example
#include <stdlib.mqh>int start() {//----double L=iLow(NULL,PERIOD_D1,1);double H=iHigh(NULL,PERIOD_D1,1);double H_0=iHigh(NULL,PERIOD_D1,0);double C=iClose(NULL,PERIOD_D1,0);double O=iOpen(NULL,PERIOD_D1,0);double L5=iLow(NULL,PERIOD_M5,0);double SL = 50*Point; // StopLossdouble TP = 100*Point; //...
[Deleted]
I'm quite new in trading and EA development as such. At the moment I'm trying to use a DeMark lines indicator as a trading criteria in my EA. My challenge is, the output from the indicator is visual objects (DeMark trend lines ) plotted on the screen. How do I call this objects by referencing the...
Do anyone still remember the settings to convert ichimoku to Trendmanager indicator. Thanks for helping.
Hi, I downloaded the tick data with the max settings in the options (999.. -> 257...), so there is a tick data back to 1970 in my MT4. I know that the spread and all these things can chane the results, but I heard someone said in a conference that the tick values of 2010 are the last one and that he...
[Deleted]
Hi, I am new to MT4, I just want to get an idea if it is suitable for my purposes. I got a version of MT4 with my Oanda account (which I never use) I am looking to back-test a swing trade methodology on FTSE 100 constituent stocks on D1 time-frame. 1. I gather I will be able to export data for the
I have been heavily optimizing my EA with genetic algorithm checked for faster speed. I found some excellent setting combinations but when I try to combine these with other settings those particular sets seem to be avoided by the optimization results! I have even re optimized with the settings I...
Hello,I have problem with Metatrader4 for Android, it dosn't work on x86 smartphonehttp://www.gsmarena.com/motorola_razr_i_xt890-4998.phpplease help,w.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.