Hi,
How to make my EA set SL to minimal StopLoss ?
Some pair require minimum 10 pips for SL/TP, some may more than 10 pips
Can anyone please advise
Thanks in advance
Hi, I rented an EA and want to transfer the rent licences from my desktop to my VPS. I logged my account in the MT4 on the VPS but the EA does not show up, so I assume I have to transfer the license. Is that possible, anyone knows? RGds
Hi all,
I'm new to coding and MQL5 and this is my first ea.
The problem I have is "unexpected token" for my buy conditions.
I did a google search and was not able to find any answer, so I was hoping you guys can help me with the issue.
Please let me know if I need to send more information....
I spent so much time on the Book I do not think I yet get it.
Lets say I want to compare current calculation results with previously taken. I store all results, when new one come in I compare them to the last stored.
My attempt to code...
Hi,
My market orders are never rejected, why ? A position is everytime opened.
(Broker FXPro demo account)
MqlTradeRequest req = {0}; req.action = TRADE_ACTION_DEAL;req.symbol = _Symbol;req.magic = 1;req.volume = 0.01;req.type = ORDER_TYPE_SELL; // --- Buy is also...
Hi, I'm using several EA's on an account, and would like to be able to export my history from MT4 to CSV, so I can analyze the actual profit per EA. Does anyone have an idea how to do this
Hi all,
I am using CTrade class to do a trailling stop. It works perfectly but the problem is that my EA after doesn't open more positions.
If i leave my trailing stop, my EA is working without problems but if i put the trailing stop, at the moment that one position is using the trailing, the EA...
Is anyone using python (possibly with native C extensions for performance)?
Hello guys, Im about to hire few traders and give them trading capital. I have EA which closes trades after certain % of loss and then disables whole account. Only problem is, that this is possible only if the EA is running on the traders computer (not working when 2 instances are online, 1 trader,...
Hi, I'm trying to find if there are 3 consecutive up or down bars with the below EA the problem is that it stops counting after first bar is complete ( check it on M1) I will be glad if someone could help me here. //-------------------------------------------------------------------- bool New_Bar=
Hello every one,
:)
Usually we used to code:
double trade_point; if (Digits == 3 || Digits == 5) trade_point = Point * 10;
But what if we have another chances such as the gold or silver or.....
The gold as u know is not 3 and not 5 digits
So, what is the replacement of the...
I am trying to make robot with two ZigZag indicators simultaneously. Is it somehow possible to change the color of one ZigZag indicator just for better look in tester
I want to replace my trailing stop to Virtual as I am about to change to a broker with 50 point stop level, However I completely have no idea where to start, Can someone enlighten me a little bit.
//for starters I would start by writing what i know for (int i=0; i<OrdersTotal();...
Hi. I am doing a multi-currency, multi-timeframe EA. I have the problem that the EA is sending just a few signals because it doesn´t load the historical data for every pair and timeframe. I can´t have a open window for every pair in every timeframe so I have no idea about how to solve it. If someone...
Hello Guys,
I'm trying to create a scanner which should met 2 criteria
(i) Last price should be HIGH or LOW of lat 10 bars
(ii) Breakout should occur only by 3 continuous up or down bars
I've written following code for it (see below)
Now problem is that ideally it should work on every bar but...
Hi, I use a c++ dll into my mql5 EA and i have a big problem, i just can't send orders from my extern dll algorythm. If i write this : onTimer(){ while(true) { }} the onTick() is never trigger, because there is only one thread allocate for the EA... and it's a big problem. 1st question, do you...
This code gives error: Ticks could not be loaded. GetLastError()=4014
I don't know why.
input int ticks=10; // the number of requested ticks //+------------------------------------------------------------------+//| Expert initialization function...
I think this is weird, I got this error when doing test. I have no idea where's the problem, the only clue I have is stop level. Testing on 4 digit data.
I got error 130 when i used stop loss less than 10 pips, tried 6,7,8,9 all have error 130.
EURUSD,H1: Buy BreakEven OrderModify Error...
[Deleted]
Can someone help me with a code that closes all orders when orders hit certain % of DD
thanks
Hello everybody!
I'm a new user of this forum and I'm trying to learn MQL4 to build a my own EA, but now I have a little problem with my code.
The MT4 doesn't read this part :
"
int H = OrdersTotal();
//CORREZIONE BUY
if (H>0)
{
OrderSelect(H-1,SELECT_BY_POS);
if(OrderType()==0...
hi, I'm writing a neural network and need it to know if the last operation was successful. something like if [last deal generate profit] then x=0 if [last deal was at loss] then x=1 and possibly if [last 2 deals was at loss] then x=-1 what is the parameter can I use to find out the info I need
Hi there, I just downloaded few top EA put them into strategy tester and the results looks impressive but checking some single trades it does not look like they would ever be profitable or even executed because price just never been at specified level at a time. Has anyone else been in doubt going...
[Deleted]
Hello I just want to copy some trades from Signals but i can see the Signal provider got symbol like EURUSDpro or EURUSD.m and my broker provide symbol like EURUSD only without any extension will i still be able to copy trades Kindly let me know Thanks Sameer
Does anyone know include the "trailing start" command in the code below?
The EA is super simple and yet would like to test this command to open trades.
Just like the "trailingStop", only it is used to open operations.
(RSI9 -- oversold 85 / overbought 15)
extern int...
[Deleted]
Hello I like to ask if i can use Multi EA in same platform for example using EURUSD 1 m chart with 1 EA using 30 M chart with EURUSD but another EA is that possible ? kindly let me know Thanks Sameer
HELLO EVERY ONE
HOPE 2016 WILL BE A GREAT YEAR SAME THE 2015
:)
I AM A NEW PROGRAMMER IN MQL4
I AM C/C++, JAVA, INTERNED DEVELOPER ...
ONLY A SINGLE QUESTION PLZ
CAN ANYONE INFORM ME THE CODE OF HEDGING IN MQL4 LANGUAGE:
I WANT TO MAKE IT AS AN INPUT FROM USER TO ENABLE OR DISABLE THE...
//+------------------------------------------------------------------+
//| volume |
//+------------------------------------------------------------------+
double volume()
{
Lots=AccountInfoDouble(ACCOUNT_MARGIN_FREE)/8000;...
I am willing to share it as a signal.
What about yours?
Can anyone help me with MT4 code that will highlight when there is a higher low above a low?
Can anyone tell me what could be causing these errors? StopLevels level is 20 pips, all trades should pass. Handicaps and off-quotes are annoying :)

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.