Hi All, could you give me any approach how to measure candle accelaration? any code example or pseudocode. Regards.
Hi, I am running a same EA on different currency pairs. I want only 4 trade openedfor any specific currency pair, meanwhile maximum total trade for all currency pairs is 30 trades. For e.g I would need 4 trades opened forEURUSD, other opened trades can be of different currency pair but not EURUSD,...
Can some expert shed light on my EA. I am trying to store tick data into an array, which always stores zeros. I can, however, successfully export ticks into a text file. Attached is my EA and the results
[Deleted]
Can anyone help me with how to program any mt4 indicator to initialize on only one Forex Account? and if the indicator is place an any account it is not program to work on you would get a message on the chart stating "wrong account"
I wrote a custom indicator but it seems I cannot make the color user defined. Any solutions? Thank you.
MetaTrader 4 Client Terminal build 438 Terminal: Fixed trade history request by "Custom period" time range. Terminal: Fixed Push messages having invalid MetaQuotes ID.Terminal: Fixed possible incorrect display of company data in About window. Terminal: Fixed translation of the interface into...
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; //...