Expert Advisors and Automated Trading - page 145

To post a new topic, please log in or register
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...
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...
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())...
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 duplikium as 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...
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. 
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" youwill have to choose the parameters to input, obviously those parameters will be derived from the result of an optimizationperiod. what optimization...
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...
Hello, I need to code this simple entry: Candle A Candle B Candle C Current candle D Entry rule: if Open B > low A and if High B < low C then Buy at the opening of candle D If anybody can help would be very much appreciated! Thank you Regards Pizzo
  need help (2)
ca anyone help me making ea.. when order is 0,open buy stop and sell stop 5 pip from current and no SL or TP.. order then have trailing stop lost 10 pip when there is 1 order.. delete other pending order.. and i can't found way to make ea run in both 4 decimal,5decimal and jpy which is 3 decimal...
Dear Folks, I have a litte problem with MT4 on Ubuntu. I bought an EA with my Account on my Windows PC, because, and I don´t know why, on the emulated ubuntu Version is no Market available. So I took a Copy in the right directory on my Server, based on Ubuntu, and wanted to run it on Chart. Then,...
where can I find the above mentioned system/EA/.... I was reading in the Forex Factory and a comment was made on THE UDINE'S 00 LEVEL TRADING but I cannot locate such doe's anyone have a clue as to where this may be located?????
because Mt5 can backtest more than one pair at a time, I want to learn mql5 to for creating a grid trading ea. But I don't know where to start, should I just learn the code itself or the Mql5 Wizard?