Expert Advisors and Automated Trading - page 56

To post a new topic, please log in or register
Hi guys,I literally spend an hour to find a service provider that offers me a online verification for my expert advisors. Do you giys know someone on the web that offers a service which let's the expert advisor be deactivated or activated when I wish???? Thanks 
Hi guys, My EA does everything correctly except for closing orders. The EA compiles with no errors. Do my CloseAtMiddleBand(), closebuy() and closesell() functions look ok?  //+------------------------------------------------------------------+//|...
Dear friends, Suppose I have a pending sell limit order for a certain instrument in a stock exchange market. If I run an OrderSendAsync() command to cancel this order and, shortly thereafter, I run another OrderSendAsync() command to send a market buy order for the same instrument, is it...
Hi, I back-tested the same code (pseudo-code) with same broker's data on Trading-view web-platform and MT4 platform. Trading-view  shows 200-300% profit per month almost consistent. However, MT4 gives very small profit, and big losses. Could anybody explain why there is so big difference. Thanks.
In the Toolbox/Experts, it says that " indicator is too slow, 6000ms, rewrite the indicator" , does it affect the operations of the EA's? NB*The indicator is not part of the EA but is on the other graphs.
Hello I'm a beginner just started to code my very simple EA for index trading and get confused with an error with my code. 2018.06.28 09:12:33.787 2016.12.10 13:10:00   failed market buy 0.01 Volatility 75 Index tp: 21257.4562 [Invalid stops] And here's my code :...
I am trying to test an EA performance in XAUUSD in 2007 at 1 hour timeframe. I have checked in the history center that I do have 1 hour history data of XAUUSD in 2007, but no data for 30min, 15min, 5min and 1 min. However when I run my strategy tester in visual mode, I saw the candle stick in the 1...
I have an EA but want to make the final decision as to whether to buy or not. So having detected a buy/sell condition the EA should request entry confirmation with something like: "Buy condition confirmed - submit order?" and then allow me to give a y/n response. Does anyone have a code sample or...
Hi, I got also this error message: test on EURUSD,H1 (netting) tester stopped because OnInit failed there are no trading operations I use this condition to enable the EA only on Hedging account      // Enable only for hedge account   if(account.MarginMode()...
im looking for a trading utility to open and close trades quickly in mt4 using offline renko charts.  do I need a programmer or can I buy it at the market?  thanks for your time.
Hi, I have rented an EA since 3 months but at the end of this month my rental period will come to an end. I've decided to buy te EA but can someone explain to me how this works in practise? After buying, do I need te download it again? Can I just leave te EA running that I rented before? Any ideas...
I know and I have read alot of threads on it which were old which basically stated that the commission rates of the broker remains hidden and is not accessible to do any calculations until after a trade is made. Any luck with this?
Hi I've got an EA set up on a Demo Account and then set to run using the VPS services (here) and in Parallel I also have the same EA set up on a live account via a  VPS This morning something potentially dangerous happened, my Demo EA just kept opening the same trade until the balance was empty and...
Hi, I 've done a simple indicator using Dialog. Working fine, no errors. I am now trying no create an EA to use it's signals. Once I load the EA I get the alert "CApp Dialog: find sub window error". My indi has no sub windows. I searched deeply for it but couldn't find any related information....
How is it possible for EA's to be still active when EA's has been dis-abled/removed from the graphs. I would first remove the EA from the graph, then synchronize the graphs and experts. All  EAs will be dis-abled then I able the auto-trading again. Everything will be green . But after all that, I...
Hi master trader, , I want to Ask about to indicator zigzag. how to call indicator zigzag for MT4 And how to use it in order to open position automatically.
Hi, when I try to read any information of a stock option symbol on a day where it did not have any tick, the system is having the behavior below. It get stuck for around 8 min and then return an error that crashes the expert running: 2018.06.22 21:42:43.346 VALED427: history synchronization started...
Good morning,                     I would like to knowi if someone could code the following EA for me and mention a price. the Ea must display on your chart the high and low of every 2 MA crosses. so the EA must have a specifictime inputted to start calculating say I have EMA 10 and EMA 26  once...
Hi Everyone, I am building an EA, to deal with multiple timeframes simultanously (M1, M5, M15 and H1). So I want to display the multiple timeframes on auxiliar subcharts (this displaying will not affect the EA behavior, but will help me to know if everything is correct). I am using the OBJ_CHART...
Hi, I have a problem with strategy tester. I run my EA and the data of trades don't show in history of strategy tester. The value of trade show as 0 (zero). Someone already see this? Someone can help me? Thanks in advance.
Hi, I find the following fact quite shocking: I have an EA that I tested with exact same settings, exact same spread (chosen in the startegy tester) and exact same time period on 3 different brokers. Believe it or not, all three results were different. Not only that, in one broker, the EA was...
        printf("Symbol()=%s",Symbol());        SymbolSelect("EURGBP",true);        printf("Symbol()=%s",Symbol());        Hi I'm new to MQL5 programming..... Why I can't change Symbol to another Symbol? Allways is "EURUSD"....?! Best regards Siljo
Hi everyone, I got used to call macd indicator in MT4 in a very simple way and now I've got to switch in MT5 and things look deeply differents So experts, I kindly request your help : in MT4  calling macd and signal was quite easy for current or past period just by setting the right buffer and the...
Hi everybody, I try to make a indicator parameters optimization. The algorithm is: 1. Take a indicator handle with main parameter = StartValue; 2. Take a data and calculate QualityRating (my own algorithm); 3. Release handle; 4. Repeat points 1, 2, and 3 for each value between StartValue+1 to...
I am trying to select the input for an Enum using the results of a Function (Symbol). It is not working. I can MANUALLY type the input (Example: EURUSD)and get the correct result. However, if I use the Function (in this case Symbol) it does not work. I've tried every method to convert Symbol()to...
Hello, Is there an open source EA, developed in MQL5, of a Grid strategy? Thanks, Pierre
I'm writing a script to learn more about mql5, this is a simple buy/sell stop order script, but it isn't workin. I used PRINT function to test the if condition, the PRINT works, so trade.BuyStop is running, but nothing happens when I use the script. Am I using the trade.BuyStop and trade.SellStop...
//+------------------------------------------------------------------+//| MACD crossing the Signal line//| WORKING ON Trailing Stop Loss //+------------------------------------------------------------------+#include <Trade\Trade.mqh> // Get code from other places//--- Input Variables (Accessible...
Hi, I currently have a system that opens a trade almost every 5 minutes. I'm currently trying to wrap my head around creating a trailing stop loss that does something like this: "when price moves to 5 pips in profit stoploss is moved to entry when price moves to 8 pips in profit stoploss moves to 4...
How might I accurately get the total Position Value for my entire account? I need the total Position Value for all open trades in the account for an EA I am working on (Expressed in the account's home currency). Could someone kindly point me in the right direction or provide example code? I am quite...