Expert Advisors and Automated Trading - page 355

Hello As I haven't worked with creating clickable objects on a chart yet. Can someone give me a code that - Creates a button that closes all active trades once clicked - Creates an text box that takes number input and a submit button that reads the number into the EA. It will help me get a...
  Please help: Spread  (17   1 2)
Hello, I downloaded and imported the 1-minute data from FXDD and use it for my backtests. I realized that no matter what I define for "spread" on the strategy tester, results are the same. So I wonder whether all backtest results will be flawed and why exactly (fixed spread from the data?), so...
I went into this problem recently. I use Trade.PositionClose from the library to close a position. Looking at its code, it uses TRADE_ACTION_CLOSE_BY, which means it is closing by opening a trade in the opposite direction. Problem is that on a pair, trade is disabled. Info says that this symbol is...
Hello, how many trades per week is not considered "Too frequent"? Does this impact on the rank of the signals? Is there a way to know what is the position in the rank for a signal provider ? Thank you
Good day! It is possible that there is a similar topic but couldn't find it in a hurry. So my quiestion: at "trading signals", if the comment column shows "cancelled", does that affect the overall performance of the given signal? For example, if someone cancels his or her trade with -100 dollar...
Howdy Traders, Ideally I would like to have the following workflow 1. Edit EA in MetaEditor 2. Compile 3. Run in Strategy Tester 4. Stop test if I see something I need to change 5. Edit EA in MetaEditor 6. Compile 7. Run Strategty Tester again   However what I have found is that...
Dear all, These lines below shows you an issue I am experiencing I started my EA just a bit before 11 pm GMT on a sunday. There was a signal (according to my EA) but the EA did not take any trade until the midnight. Now, I am not so familiar with the TimeDayOfweek function but apparently it codes...
  Order History  (11   1 2)
Hello, i try to get out the pips of the closed trades, i had the idea, to count the difference between order openprice and orderclose preise void OnTick()  {   double Profit_Buy; double Profit_Sell; double Profit;// retrieving info from trade history...
The new version of our product shows as being available on clients market terminal, buy when selecting 'update' nothing happens (except for the same sound as when terminal signal is lost) and error code in journal is : error 403. Can anyone assist please?
hi, Feeling lazy on Monday morning, hence the question. I have a real account which i'm using with an EA (lets call it EA1) and is on an MQL VPS. What i wanted to know was that if it is possible to add the same account with a different EA on a different MQL VPS ? Thanks in advance
Hey guys, I'm considering on adding the custom time zone app with FXCM - see link here: https://www.fxcmapps.com/apps/custom-time-zones/   This should make the time of each candlesticks reflect your actual time zone. Would this have an affect on my EA?  Say for example, if I wanted my EA to trade...
Hi All, I have been testing an Expert Advisor in EURUSD with "Real Tick Mode" since January 2012 to December 2015. If my understanding is correct, the first time I do my backtesting, history real tick data are downloaded from server. Then they are stored in local file system. I think this is...
Hi, Someone gave me this indicator which is very useful for me... but it's tiring to keep on browsing each chart to see the indicator... i hope someone here could help to create an alert for this indicator.. appreciate it so much.....
hi guys  i have problem whit strategy tester. i wrote a script as  follow. when i run the strategy tester, in every tick, a new indicator well add to the chart.  whats the problem? thanks void OnTick()   { int r=0; double rr[]={0,0,0};  r=iCustom(NULL,tp[i],"jjrsx",8...
Hi I'm using this for a demo account and I have a problem. It doesn't sell on time and losses profits. https://www.mql5.com/en/code/15248 this the link. What can i do to improve the EA?
Hi to all in my EA slippage and spread filter doesn't work on real account . please guide me Code lines related to slippage extern int Slippage_pip=100; //int Slippage_pip; double dig; datetime time_start; int curr_band=0; datetime Prevtime; double PrevSellPrice, PrevBuyPrice; datetime...
Hi This is my first post! I am currently following a Signal from an author on MQL5, the Signal suggests that I have $ 300 in my account as capital. I am wanting to trade 10 times that value(ie put $ 3 000 in my account), the problem is that when the signal enters a trade it enters the...
Hello everyone, I am looking for a way to customize the time brakets in offline chart. For example to remove the data and leave only everyday from 10:00-17:00. So overall chart will be showing a live data only for the selected time brakets. Problem is that it must be done with the standard...
I have searched high and low, left and right all around the web but I just couldn't find an EA that I want. I've tried e-Trailing, Tight_Trailing_Stops, TrailingStops and a few others. None of them can really activate the Trailing Stop at a certain pricing. Example: Let's say I placed an entry of...
Hi, there are different order types in the backtest I see in my results. What do they mean? modifyclose (What is close? On what behalf does the position close?) s/l (I even got profit from a s/l position) --> is that from trailing that always modifies position? t/p (I got profit here. that is...
Hello guys. I'm still thinking how to recognize trend with EAs. You know manually, when looking at the graph you can say "ok this is uptrend". Its going nicely upward... My problem is to how to automatically recognize trend. What do I now is doing array of 4 EMA values and then im trying to...
When I try to set a profit Target using the high and low of bars 2 and 3 the EA does not apply it. Is there something wrong with the code? I am basically trying to subtract from the opening price the difference in pips between the high and low. TP = (0 * myPoint) - (MathAbs(High[3] -...
  High Low EA  (3)
Hi all, I am new to automated trading , but I have been successfully trading the breaks of the previous day / weeks bars on Oil and Dax. Does anyone know of a simple EA that would buy the break of the previous days high, and sell the low, and the same on a weekly chart, ie the break of the previous
Hello everyone After try using #property strict and all going succeed except this code : // Exit After X Bars tempValue = getOrderExitAfterXBars(770); if(tempValue > 0) { if (sqGetOpenBarsForOrder(tempValue+10) >= tempValue) { Verbose("Exit After "...
I have an EA that is trading at specific hour of the data. When backtesting I noticed that the trades are placed at the wrong time in winter. Is there a way to account for this in the strategy tester? I'm using if(Hour() == SpecifiedTimeInConfig) is there a way to determine in the backtester if...
I want to ensure that my EAs trade 24/5. Why is it that some EAs need VPS to trade when my computer is turned off? And why don't some EAs need VPS?
hello i'm new here as a seller. i'm waiting for account proving. I have been Trading for 5 years now. I am trading low risk aiming. My Subscription Price is 15$ only. Currently trading the EURUSD , but can change to other pairs, depending on their potential. Wish you all the best and good luck
i dont know why SUM of 2 Orders are not correct , i am trying to close Last 2 orders with Minimum 1 usd profit. but in stratgy tester it,s closing no logic some time 0.50 cents and second trade at 0 , some time first order profit 1 usd and second order close at 17 usd loss. i cant understand what is...
[Deleted]
Hello I like to know something if i am managing some 1 account and using my mql5.com account for VPS hosting and i put the EA on it and took hosting also paid 10$ now if the account holder changed the password for his Forex will he be using the EA ? or the EA is connected via my Mql5 only...
i am trying hard to code the ea but no luck please help me i want to close any 2 orders with profit total of 1 usd. for example 1: -10usd 2: -7 usd 3 -6usd 4: -3 5: +4 i want to close number 4 and 5 because minimum profit target requirement total sum +4 and -3 =1...