Expert Advisors and Automated Trading - page 38

To post a new topic, please log in or register
Hi, I'm actually looking for an expert advisor that could permit me to place limit orders with TP and SL (to hide it from Broker) , free or paying ; With the maximum of feature by the way;  Please link me page of the market if you have one. MT4 EXPERT ADVISOR PLEASE. EDIT WITH POSSIBILITY TO ADD AN...
Recently, I have been testing my new strategy on forex market and I figured, that it would be much more efficient with some automation. As I'm completely inexperienced if it comes to MQL programming, I just wanted to ask you, as an experts, if it's possible to create such EA (I trade on MT5):  The...
Hi guys, why I have different size between MT4 master (sender) and MT4 receiver when I copy signal?  Below the MT4 Master to send the signal Here the MT4 Receiver signal How you can see there are difference in Size position. Why? Below the setup signal Thanks so much,
Hi moderators... I try to signup a signal https://www.mql5.com/en/signals/new?mt=4&l=1400037984&b=ICMarkets-Live14&t=0 and subscribing return a error "specified account already being used as a signal" I checked my account and it's all right, I'm not providing any sign, so I should be able to sign...
Hello, I'm trying to write a very simple rule into my EA where when Supertrend Indicator turns bearish on H1 Timeframe it closes the opened buy order and when it turns bullish on H1 Timeframe it closes the opened sell order, but for some (probably obvious reasons for you coders) it doesn't work. So...
hello, I'm trying to write an expert that buys at lower band of the Bollinger bands and sell at upper bands and this is my code \ Ask<=(iBands(Symbol(),PERIOD_CURRENT,0,20,2,0,MODE_LOWER,1) Bid>=iBands(Symbol(),PERIOD_CURRENT,0,20,2,0,MODE_UPPER,1) but the EA only opens sell positions and not any...
I would like to understand a bit more on how the "every tick" backtesting model work. Pls correct my understanding if I am wrong.   For example, in a simple moving average cross over system where we generate a buy signal when the fast MA cross above the slow MA, if we backtest the EA in a 4hr time...
Ever wonder why your EA does not sell on market? Only very few comment about it? So, this is the place to share experiences on how you changed your EA to make it useful! Or not... :P
Hello, I'm developing an EA that will make .ex5 available for free. However, a person can download and sell the signal. I would block. It is possible through MQL to block the signal sale.
Hello everyone, I made an EA based on Heiken Ashi, and I need to apply the martingale strategy, I made a class for Martingale and I put the martingale factor as an input for the user, but at the time of backteste the calculation of the martingale is incorrect, example initial lot  of 0.1 and...
Hi guys :) I'm looking for EA like this: I take BUY and EA take BUY's on every next bullish candle. The SELL trades works in analogic way.  Excample: Thanks for help :)
Greetings! Is there a way to make the chart zoom in and out automatically so that all objects on it are visible?
Hi i got an indicator that is based on tick data only. the problem is it uses some big average buffer, so each time i wanna use it i need to wait for the buffer to fill to get the first value (i could not wait, and start displaying curves right away, but the readings would be totally off without the...
  ParameterGetRange() (13   1 2)
How does one use this function? The below code is not working.   //+------------------------------------------------------------------+ //|                                                         test.mq5 | //|                                                   Copyright 2017 |...
How many individual robots (or instances of the same robot on different currency pairs) is it possible to run simultaneously on an MT4 platform?
Hi, I need an EA program code schema that would pass verification in a place where new robots are added. Please send code EA. Thank You.
Dear ladies and gentlemen, Are there any expert advisors for scalping purposes on a free basis. I figured out that it is hard to find some expert advisors working On a real account. Being attached to a leverage of 30, this might also be a challenge for such a program.Back testing did not bring the...
To get back a stringor a list of strings from a Windows API functions, you pass in apointer to a buffer. I like to use the wide character functions likeGetPrivateProfileSectionNamesW(), seehttps://docs.microsoft.com/en-gb/windows/desktop/api/winbase/nf-winbase-getprivateprofilesectionnamesw.This...
I'm running a very popular signal on an MT4 ECN 1:500 account at Trader's Way with no problems at all. I have three such accounts at Trader's Way and one such account with only 1:200 leverage at FXChoice - I live in the US. :( I have no problems installing, uninstalling and reinstalling the MT4...
Good Afternoon! I am looking for some advice on how to have CustomCharts on MetaTrader5 like PERIOD_M28, PERIOD_M66, etc since we do not have theoption available. For MT4 I see there is a PeriodConverter Script. ForMT5, I did not see any specific solution for this subject. Can someone please give me...
I wonder this is possible. I run several same EAs on several charts for same currency. Each EA have their own independent position and trade. To avoid conflict between EAs, I use the MagicNumber as identifier through 'INPUT' when launch the EA. That is, Magic Number is assigned when the EA is...
Hi! I have a strategy implemented in MQL-4, which one I will migrate to MQL-5, trying to use the corresponding APIs (if possible), I mean, not using the MQL-5 classes. I'm not a trader and I have read some articles to understand the new concepts, and please correct me if I'm somehow wrong:...
Hi, I work in MT4. Is there a function to transfer automatically money from the current account to a second account ? Thanks
Hi all, I have been running EAs that open / close multiple trades during specific sessions. I use the CTrade class, but it occurred to me that lately only one position is being opened, instead of several. This seems to have worked before.  Could someone please alleviate me of my troubles, and post...
I'm new to forex and MQL5 (but have a software background) so I apologize in advance if this is posted in the wrong forum. I'm writing an EA but am struggling a little with the terminology and workings of the forex market. Take the currency pair EURUSD at a bid of 1.14131 and an ask of 1.14161. I...
Hello i need coder ho can code my mt5 idicator to ea .  need add  tp, sl , trailing  and some other options leter !
My opening and closing loops, despite being exact to the point never work. Please help
This EA closes all the trades when everything either reaches a set positive or negative amount. However, when no trades are open it has a problem. "Zero Dived in EA" (see attachment) then the entire EA stops. I need help in what to do to my EA to make it so when no trades are open it will continue...
Hi, I have a variable called switch_action in my OnTick function, you can see below how it is calculated. void OnTick()  {   int switch_action;   int ticket=-1;   double price;   double TradeSize;   double SL;//---//Open Buy Order, instant signal is tested first   RefreshRates();   if(Cross(0...
Hello. Can Anybody help me? I found the following code that works on MT4 to toggle AutoTrading button: #include <WinUser32.mqh>#import "user32.dll"int GetAncestor(int,int);#define MT4_WMCMD_EXPERTS  33020#importvoid OnTick()  {   int main=GetAncestor(WindowHandle(Symbol(),Period()),2/GA_ROOT/);...