Which code do i have to use if i don't want the ea to use 'free margin' or even 'margin' ?
How do I tranfer from EA4 to be EA5? when I have change to MT5 I have ea trade MT4 it can not use MT5 now
Please help! Custom indicator, which call an other indicator, is not shown in the strategy tester
(6)
Hi everybody,
I really need you help:
I have an expert advisor that usesChartIndicatorAdd() to show in a sub window an indicator. Inside thisindicator, there is a call to another indicator. (The second one is necessary to compute the first one.)
This second one in not shownin the Strategy tester...
Sometimes the indicator gives a different reality to the one we expected.
While we are not the ones who can read the future state with certainty.
Indicator is needed, but the strategy remains the more mainstream.
If we managed to combine the indicators and strategies ...
of course it will sound...
Hi,
This may be a stupid question but hopefully it's possible! I have an EA that I'm testing on MT4 (not mine, one that I purchased) however it doesn't implement a stop loss. Rather than manually managing trades that go really sour, is there some way to automatically put in a SL at a certain level...
Inputs
input bool Inp_Trade_Indicator_Signals = true; // Enable the use of indicators input bool Inp_iAD0Handle_Enabled = true; input ENUM_TIMEFRAMES Inp_iAD0_TimeFrame_Period = PERIOD_D1; // Accumilation Distribution Timeframeinput...
To compare 1.36 with 1.36 i need to use
if(CompareDoubles(x , y)){
// the same
}
But how to compare like this ?
if ( 1.36 >= 1.36 ){
?
Does this bug with compare doubles are only with == ? or with > < too ?
thanks
the only correct way in my mind is:
if(CompareDoubles(x , y) || x > y){...
Hi all,
It's my first post here.
I'm starting to learn about EA recebtly, and I've a doubt about time functions. I've been looking for a code that allow to buy/sell at a specific time, but I only found examples that work with a time value of HH:MM. What about seconds? Is it possible to define a...
I want to ask is there system or ea to send signals from MT4 to several Emails and SMS just when new orders opened or closed ?
Thanks
Hi, i have this problems, in every chart it always returns "10". What i done wrong?
this is the code, very very simply.
Help Please
//+------------------------------------------------------------------+//| CruceDeMedias.mq5 |//|...
[Deleted]
Good Morning !
Can someone please help me understand what is PR (picture atached) and how it is generated ?
Why sometimies we have this info and sometimes we do not have it ?
Thank you in advance
MRC
Hello, I have a Wordpress-page with a member section. I would like to create an EA where the Users can login with their member details and will be able to recieve a trade signal with my predefined parameters . Is there a possiblity to connect Metatrader with my Wordpress-Plugin so that the EA only
I have a question for team of metaquotes:
I use scripts to close positions to set the take profit / stoploss, etc ...
in the new build does not work if the key expert advisor is not activated!
you can separate script expert advisor?? are not exactly the same thing!
even better if you could...
Dears,
Im trying to implement a simple martingale strategy, that is, every time I have a deal with a loss, the next deal will have twice the volume of the previous.
I have no clue about why it is not working, I have tryed to work with positions, instead of deal, but got an error message.
Thanks...
After compile, test, compile, test.. ect. ect. ...
New code compiles correctly but settings changed like Input Constants do not change.
After setting up a new demo account and decreasing the leverage from 1:200 to 1:50 Leverage does not change when called from Scripts and EA.
Any Ideas to clear...
Hello,
I'm having some errors with the following code, even though it originates from this official site:
http://codebase.mql4.com/ru/source/2493
It seems to generate one tick with a price value of 0, which means the chart scaling becomes unusable.
Can anyone please update this...
[Deleted]
Dear fellow traders,
I am pretty new to MQL5. Therefor I studied this article and expert advisor for beginners: https://www.mql5.com/en/articles/35
It has a really nice expert advisor and I would like to adjust/work with it in the future. Then I installed the expert advisor into my strategy...
Hi,
I have a simple EA that take entry,sl,tp from some indicators and trade.
It works fine. And then, I make few extension to my indicators.
When I run the EA again, on the chart, I see many wrong trades where: there is NO BUY Arrow on chart (from my indicator). Somehow, it still assign Entry...
Is there a way to limit the max margin used by a EA to a fixed amount like $100?
Thank you
How much slippage should I allow when subscribing to signals? 5? 2.5? .5? Any advice will be greatly appreciated, thanks!
Many broker setup different commission and leverage values for different symbol, especially precious metals.
It's big trouble to implement perfect money management module.
Therefore, could MT4/5 terminal provide SYMBOL_COMMISSION & SYMBOL_LEVERAGE properties in new build?
Regards
[Deleted]
Hi There! Can someone please give me some guidance regarding ST Architecture? Picture attached shows my machine with the remote agents I have installed in my network. Note that Local Machine is has an i7 CPU compared to the old remote CPUs. On the other hand, we run approx. 100- tasks per CPU
Is there any function that will open trade if any openorder takeprofit hit.I am new in mql programming.
use CalcMargin Function and I calculate Lot Size to be 1.03 how can i step it down to 1.02?
When running an EA using iBands in the Strategy Tester I get error message.I am testing on EURCHF"CopyBuffer RSI failed code 4807" I can see that the Strategy Tester is downloading data. When that is complete the error messages stopsand the EA works as expected.How do I "hold" the EA until all data...
[Deleted]
Hi there !
What is the purpose of the Indicator option in Strategy Tester ?
When you run ST and change the option from Expert to Indicator the dropdown filelist gets all ghe ex5 indicators. Since there is no OrderSend() events, what is the real purpose of this ? What am I going to test ?
Thank...
Need help to calculate AVERAGE VOLUME PER PRICE LEVEL Hello everyone, I'm wondering if there's anyone out there who could advise on how to calculate average volume per price level in that particular candlestick bar. UPBAR Eg. High 1.00010 Close 1.00008 Open 1.00005 Low
[Deleted]
Hi there !
Sometimes I see that MT5 loose ticks. sometimes the whole tick dissapear, sometimes (like in the pict below), the information of one Print is not shown.
Any past experience/ related article ?
Regards,
Marcelo
Trying to write a function that homogenise my deals : Symbol 1 : Lot size : 0.01 (x) Tick size : 0.5 Tick value : 12.5 euros Potential profit for z pips : 10 euros Symbol 2 : Lot size : y Tick size : 0.5 Tick value : 5 euros Potential profit for z pips : 10 euros How to calculate y ? (edit : tick...
Hello there. I am running MT5 with recent Wine and Ubuntu. I notice that a lot of files with extension "lnk" get greated for the source code I'm editing (*.mqh, *.mq5). How can I avoid those files and why are they being created? Thanks, Nelson.-
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.