Expert Advisors and Automated Trading - page 349

Kindly add trailing stop function to this EA. I ordered from freelance but developer is not available to modify EA for me.
Hello,  i face this error and i can't find the solution  return code of the server 3396333104  i'm using this function    uint SendRandomPendingOrder(long const magic_number,string Symbol_name,double open_price,string order_type,double lot,double Stop_Loss,double Take_Profit)   { //--- prepare a...
Hi   During the testing the SL and TP were not triggered when the price was reached. Has anyone experienced this ? This happened several times. I appreciate any help . 
Hey there, WebRequest() isn't working with indicators, for whatever reason, therefore I need a possibility to load a file from a http or ftp. The samples I found to work with wininet.dll dont seem to work, any of them produces errors and not results. I am not that familiar with internet stuff, so I...
Dear Community, I would like to know what makes an Expert Advisor to be universal (to attach on one chart and trade all symbols)? for the following code: #property copyright "Copyright © 2011, Krzysztof Sosnierz"#property link      ""// Current countersint...
Hello all, I have a script here that calculates a moving average of the last N mid prices (N = 5, mid price = bid+ask/2) at every book event, (10++ per second). My issue is about the simple calculation. I dont know if there is some kind of delay because of the loop that populates the array i
  Strategy tester  (3)
Regularly I use the "Strategy tester" to optimize my expert. I was making analysis from 1-Oct-2015 However when I changed the computer, and install the MT4 again, the "Strategy tester" only allows me to simulate from Jun-2016, which is terribly short. Is there any way to force to a simulation...
Hello,  me and my friend made, what seems to be, a very good EA. We bought real tick by tick history, imported it in MT4 and backtested it since jan. 2007 to jul. 2016 (10 years), because we want it to be long term profitable.   We're testing it on live account for few months now and it seems to be...
Hi   I'm looking for a code which closes all open orders ( long and short ) for the current pair, when one of the orders hits TP or gets manually closed   Right now i'm struggling with the spread which causes not all orders to close due to the difference, and to me adding that code...
Hi guys! I need of a function that returns the number of orders in a specified pair of currency. PS: Fot MT4 Someone can help me?
Have anyone of you had the case when Open prices and Control Points have quite nice growth of equity vs Every tick has huge drawdowns for the same strategy?What do you do in this situation? Is it reasonable to update the EA to work only on new bars/ once per bar etc? Strategy works on H1 timeline.
Hello traders, I need your expertise to find an EA that can open more than one trade ( if needed by the criteria). For example, the Buy order should be opened if the Stochastic is crossing up the 20 level and close the trade when the Stochastic reaches 80 level. Also the EA should open a Sell...
I have some historical file contains a records in a structure (datetime, bid price). I can read it into memory. Is there exists some memory buffer for analyse methods? How can I use it to test my automated strategy?   
Hi, I've been using CExpertSignal and it's data access methods (Open, Close, High, Low) from the series mask successfully for a single time frame. However I'd like to expand it to use multiple timeframes and can't seem to find any documentation on how to achieve it with the base classes. Does
Hi,   A have a downloaded form mql5 indicator which work on chart. So I don't have a code. There is possibility to make a ea which will be put orders when a indicator generate a signal? indicator genereate signal buy/sell and I am almost every time too late because it work fine only when is...
double getLots(double lt) ( double marginrequired = MarketInfo(Symbol(), MODE_MARGINREQUIRED); double freemargin = AccountFreeMargin(); if(freemargin > (marginrequired * lt)) { return(lt); } double result = freemargin / marginrequired; result = MathFloor(result * 10) / 10;
I found a free ex4 expert that is shared on the web many years ago it looks promising it uses a fixed big stoploss (over 100 pips)   I would like to optimize this stoploss but the problem is that it is not an extern variable  so it doesn't appear in the expert inputs when attaching...
 Hi there,   i got a problem with this error code (10036). As far as I understand the MQL5 Documentation, this error says "Position with the specified POSITION_IDENTIFIER has already been closed" How do I solve this Error? Any hints or do you need more data from me...
Is this possible? It would be awesome if I could see these levels on the tick chart. If it's not possible would it be possible to release the source code for it so that I can add these myself? Cheers
Hey Everyone found this EA ,tried on EUR/USD pair in 5min, seems good to me . i am looking for the best settings ,can anyone Backtest this EA with 99% model quality ? Thanks
  Backtesting a Neural Network  (12   1 2)
Hello, Can a backtesting bedone where all of historical data (up to real date) is needed before algorithmstarts placing trades in backtesting mode? The logic behind it is that a neuralnetwork has to be trained with a historical data. However, for backtesting resultsnot to be biased all of the data...
Hello everybody, I need to buy/sell in strategy tester with a indicator (buyed in market) I think i can't do an EA without metaeditor text (i have only the .ex5 file) So i wanna put manually the orders in strategy tester Someone can help me? PS. tryed with this https://www.mql5...
Do you look for a quick profit with high risk Do you look for a steady income with low risk
hii dear all am a manual trader and i believe scalping is the method which is sucessful in all the time but need to use lower timeframe.. so i hv strategy and am using it manually since long time.. but i missed some opportunity as am not online allways.. so i want to convert it automated but i dont...
Hi, I'm making an EA to work with fratcal and I have a problem with string comparison with type of order. On a uptrend, when an Upper Fractal (new high) appears it should send an modify order but when I call the function the string comparison doesn´t work. Let's see: When there is an order Sell...
Hi All, I have a problem when my trades are closing before the signal provider hit TP/SL (because of difference in prices, slippage and off quotes) When it closes trades before signal provider MT4 opens the same trades again, I think because of the synchronize without
hi how can i add a comment when im using PositionClose? thanks
Hello My expert contains a notification code (email/popup/push) but every timeframe change (back and forth e.g: H1>> D1 >> H1) it sends out a message however this is an unwanted behaviour, since conditions not met or already met How to solve this?
I got his expert from Freelance that opens many trades per bar. I'd like someone to tweak it for me so that it can only open one trade per bar. The original developer has gone MIA. Please assist.
Hi, A position is opened with let's say 3*max volume. The position is correctly trailed, but when the price cross the trail price, not the whole position is closed, only 1 or 2*max volume : Same when I use PositionClose function (with no deviation spec). Is there anyway to force the whole position...