I have opened an account and need an adviser to help me start trading.
I want that when the levels of the ATR indicator exceeds 0.0006 my robot launches a sales trade. please who can help me on this code ...?
Hi can anyone please find out the mistake and complete this EA.
Is there any way to backtest multiple instruments strategy in the 1-second timeframe? I understand that the lowest timeframe is 1 minute and would like to know if there is any possible way to work around it? Thank you!
[Deleted]
Hi. i've write an EA to send me signals based on rsi. I need to get the rsi of H1,H4,D1 timeframe in 20 symbols,so i'm initializating 60 indicators and getting the value of them. the question is : what is the method that gives best perfomance ? 1- Initializate the indicators once inside OnInit and...
Hello I coded a ea and I wish it faq between 6h GMT and 18h GMT ... What is the code that I can insert for that?
Hello When I create an object using ObjectCreate() function, I can't select it on the chart with the mouse click. No objects also appear in the Object List on the chart. In the MQL4 EA, I created a graphical interface in which trend lines were used to set levels. I could drag them freely with the...
Hello I'm totally newbie in coding! When I compile my EA with metaeditor i get this error: Could it depend because the Mt4 version is different now from the past when the EA was created? Can someone help me to correct this? Please? Thank so much to all the memebers!
Hello, I use MT4 and/or MT5 for trading BTCUSD . Where would I find historical data? How can I log the data I see from my broker? Thank you and sorry if it sounds strange. I am an absolute newbie here
Hi Reading code examples in the Documentations, why there are times when this line is used for opening positions MqlTradeRequest request={0}; but other times, this line is used for closing positions MqlTradeRequest request; Is this how to initialise the struct in mql5? but why leave out the "{0}" or...
Hi there, this simple Martingail Expert here compiles fine and catches all the trades in backtesting. In Live trading though, it catches maybe about 50% of the intended trades and misses out on the other half. I traded it live on a single pair for about half a year and it maybe caught 80%. Recently...
Hi everyone! I can't figure why I have no ticks in my strategy tester For example, if my EA is: int OnInit() { return(INIT_SUCCEEDED); } void OnDeinit(const int reason) { } void OnTick() { Print("HelloTick"); } And then I start the strategy tester with it (keeping all settings by...
I would like to draw a simple indicator in my EA. It could be as simple as drawing myVal: double D2sma = iMA(NULL, 0, 10, 0, MODE_SMA, PRICE_CLOSE, 0); double D1ema = iMA(NULL, 0, 20, 0, MODE_EMA, PRICE_CLOSE, 0); double myVal = (D1ema+D2sma)/2 Is there a very simple and clear example of...
We often experience this in our EA. what causes this to happen.? any clue.? Thank you.
BrainTrading Semi-Manual EA for M30 timeframe system. Introdution. History of the development EA was created for well-known BrainTrading system for M30 timeframe. Public section about this system is here Brain Systems - Forex-TSD and there are 2 threads with indicators, explanations and the...
Need to stop this looping just want it to open 2 pending orders, one one is filled delete the other one and then not open any more until dropped on chart again. Code here. //+------------------------------------------------------------------+//| Open Two Pend...
The ideia is not to enter in the range of price of the last position. For example if last position was opened in 1.15 the next should not enter from 1.20 to 1.10. I was using CPositionInfo with PositionSelect(_Symbol) then PositionPrice, but when position is closed PositionPrice returns to zero
Hello. I made an EA for MT4 where I combine indicators for multiple timeframes (for example EMA for 1W period and RSI for 1D period). These timeframes are hardcoded in my source code, so it should not affect what timeframe I choose in tester. This is partially true, because when I choose timeframes...
Hello, I have subscripted to a signals service but when the EA copies the signal in my account, it doesn't copy the same volume. For example the EA position is 0,02 but in my MT4 platform the same position is 0,01. The margin in the account is ok. Have you solution please? Thanks in advance Davide
Dear all, So i'm pretty new to MQL5 and are trying to learn the language, What i'm trying to do is that i have pending orders with SL and TP being executed OnInit() What i needed is that if the pending order were closed due to hitting SL, i want to retrieve the price of that particular order. so i...
Hello! Whenever I try to use the strategy tester, the following occurs: 2018.12.01 02:42:30.426 Tester USDJPY: history check started 2018.12.01 02:42:30.626 Tester USDJPY: history data begins from 1999.01.04 00:00 2018.12.01 02:42:30.627 Core 2 connecting to 127.0.0.1:3000 2018.12...
I have a need to determine type of a variable which can then be used is a switch statement, and my thoughts are to hash the "typename" string of said var. Do you know a better way? void OnStart(){ int a; Print(type_id(a)); uint b; Print(type_id(b));...
It's been more than a month since I've been busting my head with a small EA robot that works with 2-way crunching. It does scalper in the HFT style. It opens quite a lot of orders and does not go through the stoploss: either take-profit or through the indicator signal. what I want is to close all...
I have used a number of different trading platforms over the years but have not encountered any as difficult to use as mql5 is there anywhere I can find STEP BY STEP INSTRUCTIONS FOR USING THE PLATFORM? some of us may find videos in which in which rapidly spoken english and even more rapid
Hi guys, I have been trying to success in this bussines for many years and I still cant do it. I am now feeling down and losing hope...but before I quit and asume I wasted so many years of my live I wonder if any of you want to mentor/guide me thanks you very much, wish you all the best A.G.
I set up the program, and I have 12 testers. I was at 0.04, then the next day, went DOWN to 0.02. I need help understanding this, and what else I can do to increase traffic
[Deleted]
Hi,i'm trying to discover out why OnTimer is called once. in my Init Method i have : EventSetTimer(10);OnTimer(); Inside the method OnTimer,i'm printing a number. But this number is printed once and the OnTimer is not called anymore. Do you have any suggestions ? edit : the method OnTick is called...
Can anyone recommend an EA Robot which trades very frequently at low risk.. I have a few running at the moment but trading is infrequent. Presumably settings can be changed to achieve more frequent trading but is there anything out there which is set up to trade very frequently by default..
Hey guys i´m new in this field. Which EA can you recommend?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.