[Deleted]
for(N=3000-144-1;N>=0;N--){ A[N]=iCustom(NULL,0,"zCog",17,11,13,0,N); B[N]=iCustom(NULL,0,"zma",3,0,N); } int M; for(N=3000-144-1;N>=0;N--){ if(A[N+1]<A[N]&&B[N+1]<B[N]){M=A[N];GG[N]=A[N];G[N]=EMPTY_VALUE;R[N]=EMPTY_VALUE;Z[N]=0;}else...
Hello, I am back with another question about Booleans. How do I use boolean to hide buffer 2 (ExtMapBuffer2). I have tried different ways and I am stumped. #property indicator_separate_window#property indicator_buffers 2#property indicator_color1 Red#property indicator_color2 Limeextern bool...
Hi coding experts. I would like to show previous repainted arrows to maximize/find a good system Thanks in advance Here's the code EDIT: Decompiled code removed
Dear programmers, I have programmed the fractal indicator for trade. Everything is as I expected but there is only one problem. When the algorithm is true it opens order normally and puts take profit after TakeProfit hits because of situation is still true it opens new order. I dont want this, I...
Hi, How come trendline for stoploss isn't drawn in demo trade mode? I don't have this problem during backtest where all stoploss even on the same bar will be drawn. No trendline showing during demo mode (suppose for those yellow trades): No problem in backtest:
Hello everybody, I would like that my ea just start after 6am GMT (3am local time). How could I do this? I did with the code below in init() function, but I guess that there are something easier. int init() { int secondsNow = TimeLocal(); for(int i=1;i<=86400;i++) if(TimeDay(secondsNow+i)...
I am importing data from MT4 to travez of DDE to an Excel spreadsheet . I do real time data on all pairs of divisaspero when I import data from the oil ( CL - OCT12 ) the return I get error Symbol Bid CL - OCT12 # VALUE ! someone please tell me how to solve this problem
Hi all! This is kinda' a tricky question so read carefully! Can anyone provide instruction as to allow seconds to lapse until seconds reach a value of ten (10). Once seconds reach a value of ten, value ten (10) substitutes and FREEZES into vector "array j" element 0. (this means that once the value...
[Deleted]
Sometimes my orders are closed for a price, which was never reached. The EA is programmed like this: if( loss > 150.0) { close Order; } Could it be, that the visual picture shows not the correct price or is it a problem with the brooker ?
Dear Community, is it possible to draw someletters instead of the Wingdings symbols in the indicator? Like on the following screenshot: Thank you very much!
Currently with the indicators I use, moving averages, bollinger bands in particular, there really are only 4 line styles...dashed...dotted and then a variation of longer dashes and dots. I would like to find a way to enhance these. For instance, why do the dots have to be so tiny? Why can't there be...
hi i want an indicator like zigzag by this property: i want indicator that show wave by width channel. i mean : for example in down trend, when one low break after (minimum)X candle, the wave show by indicator. one indicator i found in this link but it is not what i want .
hello my friend. i cant speake english.please excusme me.im not familiar with mql4 and programing.but for complete my trading system i strongly need the basic of calculation of this indicator.i attach indicator.i want know what basic of calculation of this indicator.what is fish0 and fish 1 and what...
[Deleted]
What is the problem here (last bar do not draw): #property indicator_chart_window#property indicator_buffers 1#property indicator_color1 Red#property indicator_width1 1//---- input parametersextern int PERIOD =12;//---- indicator bufferdouble Buffer[];int init() { SetIndexBuffer(0,Buffer);...
Hi Forum, I use the Ichimoku indicator and I wanted to see if the the price is above, in or below the cloud in a higher timeframe. I trade the M5 and wanted to know how the M15 looks like without switching the timeframe. Green = last bar is above the could Yellow = last bar is in the cloud (or part
How can I tell if my brokerage company is shutting the EA down? The Expert Advisor just stops trading, and there are no errors in opening or closing orders. The server is Sig-Lite
[Deleted]
Hi there, From what I have read on this forum regarding Double Precision Math operations the concensus seems to be that one must use the NormalizeDouble function to produce expected results when using double precision numbers. However, I am still experiencing some strange problems when using double...
[Deleted]
Wondering if somebody has done this already (save some time).. I have a SMA on my chart, I want a histogram in a separate window showing the distance between the price and the SMA. Also I want the histogram bar to be RED if the last bar was taller, GREEN if shorter. Thanks in advance. Mo
-
Hi all. This may be a silly question, and it may not make much sense to some people, but still: should I pay attention to the volume figures in Forex? After all, the volume of currency that the player operates in the market is very, very small compared to the global basket? And if not, it turns out
[Deleted]
How to loop through the current ACTIVE orders to get max/min OrderOpenPrice() for each OrderType()?
(1)
We know that, in order to access such order details; the order should be selected first by indexing the opened positions. i.e. for ( int i = 0; i <= OrdersTotal() - 1; i ++ ) { // --- Select & Gather Order Info ... } Now, the gathered OrderOpenPrice() at i = k should be stored somehow in...
hello guys I wanted to develop a site like myfxbook.com. I am wondering how does it fetch all account history. they must be having an EA or something through which they can change login account. so my question is "how to change login into metrader through ea or dll or any other programmtic style"...
Hi, I am trying to write my first indicator. Well, I am just playing with code and having some fun. I would like to display a message box when the specified parameter is TRUE and when I okay the parameter box. Below is the code, it does not do a lot. #property indicator_separate_window #property
I believe I have seen this request a few times so with my best programmers hat on I have written the following, yet to test it on demo account criticisms please Note it was written for clarity not efficiency - I'll screem if you also ask for it to place a trade at price :-) (maybe I will add that...
HI EVERYONE I was trying to develop a code on metaeditor in which I need to retrieve previous candle information, i.e., open high close and low. can anyone help me in that?
The way I see it, this formula would allow the advisor or trader to enter the market at the right time, as well as not entering. If there is already something based on this formula, suggest it and I will close this thread. If not, let's make this indicator together, as I lack experience in
Hi Can someone help me with code that I can use to find high/low for a period from x to y, and which I will be using later in the day? For example to find the high/low for at period from midnight to 4:30 AM, and which I will be using in the afternoon. Thanks in advance. GJ
[Deleted]
Can anyone better describe AccountStopoutLevel() than the metatrader documentation? 0 - calculation of percentage ratio between margin and equity; Is it the Margin used? The Free Margin? Is it Margin / Equity or Equity / Margin? How is it calculated? Best regards
Hi, how can I draw two rectangles a little bit shifted without transparency??
sorry but anyone - ......and the best and fastest way to get a .........sharpe ratio is ?????????? please????
Just a beginner... Would this be the most efficient way of displaying the value of a variable on a chart in a script or expert? Note I don't want to use Comment() because font is too small. If there is a more efficient way, please describe. Thanks //-------------------------------------- double...

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.