hi i am wondering if it is possible to choose the spread in the mt5 strat tester manually.. i dont like the current "dynamic" system in place as i do no know what spread is being used. so is there a way to manually enter the spread used in the MT5 strat tester? like MT4 has. if there is not a way to...
Hello,
get this error, don't know why:
2012.08.10 17:43:22 Core 1 2012.07.05 23:05:00 Invalid stops reply code=10016 symbol=EURUSD action=1 volume=0.1600000 price=0.0000000 sl=0.0000000 tp=0.0000000 filling=0
The string above dumps a MqlTradeRequest structure. As you can see, stops are not...
Hi
I want set de Cexpert class to use type trend some times as Fill or Kill (FOK) that is default in Expert Advisor generator, but
also want use some times as ORDER_FILLING_IOC (IOC)
I tryed set trailing.TrendType(ORDER_FILLING_IOC); //enum_type_trend
but didn't work.
also, How can I set...
If somoene else has made my account as a signal provider how to disable it, I want to create a signal provider account but cant since the account which I want to use is already being made as a signal provider and I have no idea how to find that particular signal provider, or who is using it here
Hi,does anyone have an easy to use trade copier that i can try out.I downloaded one mt4i copier but i have issues setting it up.Have you set it up before..please assistance needed from the house. RegardsMichael
i need an EA which buy or sell a trade in 0.01 lot and if that trade comes to loss then it will double it lots in opposite . . . .. for example i buy EURUSD in 0.01 lot after sometime it loose 50 points then it will sell in 0.02 lot. . . if the market goes to buy direction then it will double it lot
Hello,
I have EA created by MQL5 EA Generator. I have my own custom signal of CExpertSignal class. I need to reinit one variable of the filter on every OnTick() event (generate a random number unique for every tick). But how to access filter variable (or its encapsulation function) directly...
Hi. I'm very new to coding in general so i think this would be an easy fix if. My problem is that when I run my EA it does all i want until i tell the EA to remove all objects and after that I want it to "reset" it self or to start taking in new values as it dose when I first run it. Now when it ads
do you have any idea where can i found an ez which will lock the lot size, means if we try to take the bigger lot size order our platform will not allow till we made the change in the ea, bcz of my greediness i need this ea to control my lot size
What's wrong with my ea. please help. when in place on the chart, there is no effect to move SL despite profit and parameters are met int XBE_Pips =15; extern int BE_Pips = 1; //---- if (Digits==3 || Digits==5) { dPoint=Point*10; } if(Symbol()) return(0); int type;
I've written an EA with simple money management and trailing stop, based on 5 EMA High and 5 EMA Low. The idea is to sell when overbought and buy when oversold. If you run the EA with 0.3 or 0.4 spread, i.e 3 to 4 points it is profitable. Thanks to trailing stop i get about 88% success rate. The
Hi, please see the pictures attached. I am wondering if MT5 has the "limitations" option for optimisation as MT4 did? or have they removed it? it is a very useful function as it allows the optimiser to find the results that are within a given "limitation value range" e.g. you could set max drawdown...
I have received payments for 2 of my signals but when i look at the signal subscribers it still shows zero, how long does it take from a subscriber making a payment and subscribing to the subscriber being visible in the signals stats?
Hi,
I'm trying to publish my EA in the market; however I can only upload one ex5 file.
How do I add custom indicators to my EA so that I only have one ex5 file?
Thank you,
BM
Hi there,
I bought an EA, and synced it to a virtual server. I have started up MT4 again, and the strategy tester says 'invalid licence'.
How do i get around this?
Thanks
Josh
Hi, I was using a copying service, this service allows just by entering the slave & master password to copy trades but only one terminal (master) is needed. How is that possible since all the others copy service works with a server & a client ? Is there any other one working that way since I
hi does anyone know how to code "% profit trades" into an EA so it can allow this factor to be optimised in the strat tester? Im suprised they dont offer this built in. max dd, balance, profit factor are all available/offered but % winning trades isnt - even though its a key element to trading and...
Hello,
I have a Problem with the Strategy-Tester and my Expert.
If i start the Tester in "Visualization", I see all the Lines and Points and so on, I wrote into the EA.
But if i close the "Visualization", there is nothing in the Tester-Chart.
So I can´t do a good Analyse.
Or another...
I have some code that I want to apply to both the constant arrays High, and Low. So I created a function that takes an array as a reference and I try to call it on both the arrays High and Low. Of course, when I try this, I get an error; saying that I cannot pass a constant array as a reference....
Hi,
I'm using MQL5.
When running my back tester I'm doing the following.
Example (see below for a screenshot):
Open Trade1 SL=100 with volume=0.01
Open Trade2 SL=150 with volume=0.01Open Trade3 SL=200 with volume=0.01I then run in the strategy tester.
The price then rises in the strategy...
I understand the concept of global variables. What I wanted to know is, if I have 2 different EAs running at the same time, and both of them have a variable defined as "TargetProfit", will this variable function independently for each EA? or will the EAs get confused? Should i label my variables...
is the mt5 strat tester could network available free in any way?
or is it a completely pay only service?
thanks
Hi,
Iam beginnger and looking form information how to put into code in command if() a latest price (not last close bar price) - last tick or few ticks prices.
I need it to compare with currents price to start open order sell/buy.
Best regards!
What functions in MT4 hold the value for open long trades, closed long trades, open short trades, closed short trades, total trades for the day. Is 00:00 Server Tim when MT4 starts a new day to calculate values for a day? Thank you.
[Deleted]
help me to add code if hieken ashi bar change color close all
i use this code
bool heiken30()
{
double Heiken_op30 = iCustom(NULL,30,"Heiken Ashi",Red,White,Red,White,2,0);
double Heiken_cl30 = iCustom(NULL,30,"Heiken Ashi",Red,White,Red,White,3,0);
if(Heiken_op30 <...
Dear Sir,
I need somebody to correct the follow code:
#property copyright " www.OnlyWinnerClick.com "#property link "www.OnlyWinnerClick.com" const string allowed_broker = "Instaforex Companies Group";const long allowed_accounts[] = { 61736192, 436290, 646490, 225690, 279260...
Is it possible to limit the number of total trades placed in a day by an EA? Also can it be possible to limit how many longs and how many shorts? Does the day for an EA start at 00:00 server time ? Thanks
Aloha,
does somebody know if it´s possible to read the speed-value of the strategy tester? Or, if this is not possible, a way to get the real value of GetTickCount() from the Windows Kernel32.dll, because GetTickCount() is matched to the simulated server time in the strategy tester, but I would...
Hi all I need your experience to clarify a doubt about the optimization . Assuming that you want to apply the algorithm to the "next week" you will have to choose the parameters to input, obviously those parameters will be derived from the result of an optimization period. what optimization period
[Deleted]
name of indicateur is Custom Moving Averages.mq4
use this commend to add EMA but is alwayse true :(
bool ma()
{
double ema= iCustom(NULL,20,0,0,0);
if (ema<Ask)
return(true);
else if (ema>Ask)
return(false);
else return (EMPTY_VALUE);
}
i need to add this paramtre in ma ea
Period...

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.