[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...
[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.-
I need the CODE of the difference between the last tick and the previous tick of the last tick for Example
the last tick for Eur is 1.3254 and the previous tick of the last tick is 1.3256 so the difference between them is 1.3254-1.3256=-0.0002
I was always wondering why direct EA conversions from MT5 to MT4 generated sometimes totally different results. Today i noticed that MT4 and MT5 adx indicators return different values with exact same settings. Why is that? How do i bypass that so that both of them generate same results?
i...
I subscribed to a Signal Provider, and the opened orders are on my MT4 which is the same as that of the Signal Provider but with the corresponding ratio. But during the course of the trade, the Signal Provider doubled his equity, all of a sudden my opened orders lot sizes are all halved. Is it part
Is there any library for functions such linear regression, slope, correlation and coefficient of determination R ? Thanks Bijan
I tried out Blessing the EA. Well it is a free EA, but you need to buy the settings. It is quite a complicated systems where you need to input and optimize a lot of variables. Certainly not a plug and play type of EA. I tried one with an optimized...
Tracking wins, and losses
//Global Variables int losses = 0; int wins = 0;// Scan History double ScanClosedTrades() { HistorySelect(0,TimeCurrent()); int deals = HistoryDealsTotal(); ulong ticket = HistoryDealGetTicket(deals-1); double profit = 0;...
I need Help in my EA
I need the code of the difference between the last tick "last price of currency" and the tick before the last tick
for Example last tick for Eur is 1.3254 and the tick before the last tick is 1.3256 so the difference is 1.3254-1.3256=-2
[Deleted]
Hi there !
On question please ... when I use the EA or even the ST, all new graphs are Bar Candle + Grid.
How can I change this behaviour to open with Candlestick + No Grid ?
Regards,
MRC
I want to edit my Expert Advisor to give a short message on the chart if there are no trades open currently.
I know it's something like:
if( Some condition ) Comment( "There aren't any trades open now." );
What condition do I need to put there?
please suggest where wrong coding rules in this code. when I written below class. foo2, foo3 called unexpected copy constructor and operator=() each objects. execution result paste in below. class foo{ public : string s; foo( string a) { s = a; printf ( "foo constructor [%s]" , a); } foo(
I can check the open price
I can not get the close price to compare them.
HistoryOrderGetDouble(HistoryOrderGetTicket(HistoryOrdersTotal()-1),ORDER_PRICE_OPEN);
Hi,
I'm looking for a colorful-way to show info (text, strings) in the upper left corner. For that I'm using Comment() function. Is there anyway to colorize text from inside this function ?
Thanks
the back-tester reports incorrect equity and my EA starts acting wired.
What might be the problem?
Alert("AccountInfoDouble(ACCOUNT_BALANCE)= ", (AccountInfoDouble(ACCOUNT_BALANCE)), " (AccountInfoDouble(ACCOUNT_EQUITY)) = ", (AccountInfoDouble(ACCOUNT_EQUITY)) );
Details on...
Hi,For the start, I'm just joined to this server and I'm an absolute newbie in forex at all. So please, don't kill me if will ask some stupid question and remember a saying "no stupid questions exists, only answers" ;) :)
So trying to learn "mql5" basics - (i have some programming background -...
At richt-clicking in MartketWatch window, Symbols item display a tree of directories where symbols are grouped often by asset class, for instance, forex, futures, metals. Could that symbol directory name be known from EA or could the symbol tree be browsed from EA? I m...
[Deleted]
Hi there!
Am I doing something wrong?
When the market is closed, I ask ST to run a test ona EA based on "today’s" market data.
To do this, I am setting the dates are shown below. Yesterday for example I did 05/20 > 05/21.
I have played I little bit with these dates with no success.
Is there any...
First of all, the live period is NO#1 importance condition, so I ignore all signals that less than 3 months.
Other criterias:
1. Profit per month: 5% up
2. Max DD: Less than 25%
3. Profit trades(won rate): 40% up
4. Init. Deposit: Max $10,000 for DEMO type account. For REAL account, it's very...
[Deleted]
Hi there ! Were do I configure the pink fields ? Where do I set its parameters ? (_Points and _Digits) Thanks ! mrequest.sl= NormalizeDouble (price_info.bid+stop_loss* _Point , _Digits ); // Stop Loss (SELL)
[Deleted]
Hi there !
Can someone please give "best practices" on how to solve this problem!
If I run 2 instruments @ same account, how can I inform me EA to calculate the margin per instrument
I am using the folowing code but it is halting the system because it is adding all margins to my account...
[Deleted]
Hi there !
One question please ... how can I change the color of an indicator on a EA ?
If I use iMa, iStdDev, iMACD etc ... all of them come with a standart color (red for iMA for example).
I see no parameters to change the color unless using them as an external/iCustom indicator.
I just want...
[Deleted]
Hi there ! I am trying to add iCustom to my EA @ OnInit() part. I have realized that he problem is @ the iCustom definition. Here is the code ... if (tipo_de_indicador==YTRD_INDITYPE_JMA) { iJMA_fast_handle= iCustom (my_symbol,my_timeframe, "JMA" , 7 , 100 , PRICE_CLOSE , 0 , 0 );
[Deleted]
Hi there !
Can someone please help me here ?
I saw that was necessary to include \n but it is not working.
Thank you in advance
void EnvioDeEmail(string tipo) { string corpo_email=" login: "+(string)login+ " ticks: "+(string)ticks+ " | MAF1...
I recently came across a strange behavior: when I apply an EA to a chart, I don't see the Ok and Cancel buttons. This of course means I can't apply the EA to the chart, and the only thing I can do is click the X button to close the EA inputs window without applying. This is how it looks like: The
I tried using Milestone EA which I found here. One strange error is that once I load it always says it cannot delete the news that are produced in the Files folder, after I deleted, then the error disappear. But wondering if deleting these will affect other EA functionality? I think Milestone...
is possible with this new platform to test "sread trading" strategies?
1)I would like to buy and sell simultaneously on two different markets
2)in addition to buying and selling I need the program loads correctly both series, and that allows me to access these series for the logic of the program...

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.