Expert Advisors and Automated Trading - page 149

To post a new topic, please log in or register
Hi Guys, i'm thinking about how to protect my own programmed EA against decompiling by other people and thinking about a server based solution were the EA needs to connect to my server and get their trade data over something like an api with key authentication. So my question is, has anybody done...
Could you suggest a way to code an external program to comunicate with mt4? I would like to have my application (Visual c++ Windows app) that can send commands to mt4 and receive infro from it. Let's say that my app will show ask and bid and send command like buy and sell. I thought to write a...
Have you an expert witch be able to close all open position at profit ... but the profit wil be variable example 2 $ every 0.01 lot 10$ every 0.05 lot 100$ every 0.5 lot?? THANKS
Hi, I am using metatrader 5 and am currently developing an EA for the platform. I hope you guys can help me out with a small problem. I am using the below code to check if there is a trade placed in my expert advisor and if there is what kind of trade is it (BUY/SELL)...
Wanted to ask if I need a coder to build an EA or if something simpler is needed. I have an entry alert system using a moving average and the stochastic. I want to be sent a notification (email and or SMS) when those conditions are met. I want to have a visual alert system that I can apply to any...
Hi, I really need some help in the coding please. I have basic knowledge in MQL4. I have made an EA that notifies me of potential reversal trends depending on Japanese candlesticks. The problem is that the EA works as it should in the strategy tester and I can see the results and the report... but...
I would like to backtest a set of indicatores, for example an indicator for range charts, and one custom indicator for signals. How can I backtest them together? on mql i saw some people writing: pause the backtest, add indicators, start again. But I don´t understand where I can pause the...
forexmmm
  Multi time frame EA (11   1 2)
Hi everyone, New to mql5. I have a multi time frame expert advisor that I made that takes signals from three different time frames; m1, m5, and m15. My question is whether or not metatraders strategy tester will be able to access all three time frames when I run it through the...
Slavin12
Hello, I decide to copy signal from MQL5. I choose my signal provider. But i dont find bookmark with signal in my MT4. Where is it? Thank
If I have placed a BUY/SELL order and set takeprofit/stoploss for that order, but I want to close that order before either condition meets, how do I close it programmatically? Thank you in advance.
Hi All Attached is a very useful indicator showing where to BUY and SELL on every time frame. I have test run it and it is extremely useful. Is anyone able to help me in trying to make an Automated Trading System or EA based off this indictor so that it buys when the indicator suggests you to BUY...
Hi guys. I subscribed to a mql5 signal on mt4 and trades are being copied to my platform everyday, and I need an EA able to do some simple management on running trades. The most important function expected from my subject EA is to close trades on a specific pip loss, and this loss edge needs to be...
Hi Guys, I am testing a scalping EA which I had designed here on MQL5. Seems to be working fine, but it has a coupleof small problems. 1) Some times when it gets within a few pips of the Buy or Sell order lines(rather than waiting until it hits) it will open the order. This is costly ifthe price...
Hey guys,  I have a small issue with this part of code. I need to close partially an order which is opened manually (so no magic)... The problem is that the code doesn't stop to execute, so any order after will be resized as the first one till will go to 0. Ie. starting from 1 lot, will go to 0.5, 0...
Hi Everyone, I am new to the world of MQL4 coding but I managed to modify a free code to a one-sided pending order entry script as included in this message. I appreciate if I would get this script converted into a straddle ( 2 opposing orders). Keep It Simple, Mr...
Hi mql5 forum, I had the idea of doing a semiatomatic EA, just to have a quick eye confirmation, and not doing it totally automatic. I dont know if its possible, but im interested on it. I tried to put a MessageBox() function but i read somewhere it wasnt going to run because of something i...
  Trailing Stop (1)
Hello, can somone please post a good working trailing stop? I found non for copy paste. Sorry for my clumsiness! Thank you.
I am trying to find out why my EA doesn't work on live data. Here is what I found out: Left section is real live tick from demo account, whereas right section is the history tick from same demo account. The broker I am using is ActivTrades. First column in left section is datetime,...
HI, I am trying return a MQLRates array in my function, but I get a error: class TradeLibrary{ private: MqlRates rates[]; public: MqlRates getRates(); }; MqlRates TradeLibrary::getRates(){ return rates; // this don't works}
Hello, I am MERO from Austria. (German Speaking for PN) I am searching for a buffer/cache/bumper for the RSI to avoid tiwtch/quiver/cushion. I need a clear, stabil signal from the RSI. Can anyone help? Thank you for your time.
greetings, creating an EA that looks only at candle close prices to determine momentum however i notice the sensitivity varies a lot based on whether a market is trending or bouncing, id imagine volume is also effecting sensitivity. so i want to look at an indicator to determine these...
Hey, have problems with programming. Im a newbie and tried to solve this problem but im hopeless :D double shift = 0.2; for (ii=0; ii<4; ii++) During compiling it says: 'ii' - undecleared identifier Thats crazy because the indicator worked very well. Then i started uploading it...
HI Guys, Can anyone help me making an EA of pending Orders: If market price equals = X or Current Price then place buy stop order at market price Y and place sell stop order at market price Z Thanks, Alessia
my code is in mt4 format with Ask - undeclared identifier Bid - undeclared identifier OP_BUY - undeclared identifier OP_SELL - undeclared identifier boolean return TRUE or True of FALSE or False - undeclared identifier RefreshRates - function not defined AccountEquity - function not defined...
Hi there, I am working with some of the classes from the cathegory "Controls". Does anyone know how it's possible to focus the mouse on an object, i.E. CPanel or CButton or a derived object, when the mouse button is held down and the mousepointer is inside the rectangle of this object? With...
forexmmm
Hi, Which one is better for back testing accuracy with expert advisers? My expert adviser is used on the minute one timeframe for 8-15 pip take profits depending what the average true range calculations are on my expert adviser. I have heard that MT4 cannot back test multi time frame expert...
Hello, i have a problem with CPositionInfo: It seems that after on OnTradeTransaction event type=...ORDER_ADD CPositionInfo.Select(transaction.Symbol) sometimes provides volume BEFORE this fill and sometime INCLUDING the fill of this transaction. You can't rely on it. Has anyone the same...
Hello, I need goldfinch EA .set file , can you give me your goldfinch EA mt5 or mt4 .set file ? and I test it on VPS and share than feedback with you I need it , please help me thanks
Hi, How do I redownload my purchase PZGOLDFınch-EA?
Hello everyone, 1. I got stuck with a tiny issue... I work with 30m chart and I want to check if my last candle became the highest among last 20 candles in order to open BUY. For some reason this just doesn't work. The tester returns the highest value only of the last tick of the test and simply...