Hi All, I've trend Indicator it has 3 inputs, I try to use it in EA with iCustom Function when i test it successfully load But it's not working , I think there are other parameters not shown in the indicator inputs. My question: is there a method to know the full parameters of the successfully
hi guys , i ask at expert , if is possible calculate iMA of open-close and result recalculate iMA ???? i ask this because in manual iMA want like parameter only int enumerator PRICE_CLOSE but is not possible combine thankz
Hello i want to create a trendline on 4hr Timeframe and access the starting point price of the trendline (or any shift of the trendline) on all the other timeframes. From 1min to Daily timeframes i get the correct price but on weekly and montlhy the price i get is 0 How can i get the correct price
Hi everyone I am trying to plot a price range with ATR and MA indicator. Here is my code and I receive no error or warning. But lines do not appear in the chart. Anyone has a clue? int Countrd_bars=prev_calculated; for ( int i=rates_total-Countrd_bars- 1 ;i>= 0 ;i--) {
Hi all, Hoping someone can assist with my issue. I have a custom indicator which I created with 7 buffers: int start() { int counted_bars=IndicatorCounted(); int limit= Bars -IndicatorCounted(); int k; if (counted_bars< 1 ) for (k= 0 ; k<limit- 1 ; k++) k= Bars -counted_bars- 1
hi as you know . mql4 library has not function about rate od change ( ROC ) and therefore i can not use it like ima or istoch ... and i write a function for calculating ROC and save it namely iRoc. how can i use it like internal function in mql4 ( iMA, iCCI,...)
Hello, I currently have this indicator that I modify with some parameters by watching tutorials (I am not a programmer) this indicator marks the high and low in an hour range from 23:00 to 14:00 but what can I do so that the lines that draw the high and low fully extend? #property copyright
I would really appreciate if one could advice how to write a code that executes, if "All Open trades are OP_BUY" or if "All Open trades are OP_SELL", then no OrderSend
Hi, I'm looking to buy a 10" tablet to use MT4 mobile app. My preference is Android. However I have seen many examples of iPad displaying multiple charts at same time on the screen, but I've never seen that on an Android device. Can Android tablet also display multiple charts? Or is the app less
Hi, I will be very thankful if someone helps me with this. I'm not a coder, I use only *** software for creating my EA. I need MACD divergence and I use the below code with icustom Indicator . When this indicator creates an arrow the divergence happens and the number of each buffer (mode0 and
Hello everyone .Good day. EURUSD AND USDCHF correlation is around -70 and -80 . How can calculate this correlated value in mql4? Thanks
//**************************************************************************************************************** Transactions from RESULT screen whereby 49 2020.10.09 18:45 buy 5 0.07 1.18193 1.18051 1.18248 0.00 1006.69 50 2020.10.09 18:45 modify 5 0.07 1.18193 1.18051 1.18322 0.00 1006.69 51
hi guys i try to do an oscillator in separated windows but it draw only a line , where is the error ? thankz at all
Hi all, could you help me with this approach, i need to code a signal that opens a trade n days before the end of the month or n first days of new month. Could you help my with pseudocode please?. Best.
Hello, I currently have this code that shows the high and low of the previous day but I need it to show the high and low of the previous day but at a specific time it would be from 23:00 to 14:00, how could I do it? I have no knowledge of programming! const string h0="H0", h0S = "H0Str", h1="H1"
Hey, so I have a custom indicator that does all the logic behind the strategy and it send an arrow whenever it's to buy or sell. And on my EA I what to check if the value of the index buffer is empty or not. Here is my arrow setup on the Indicator: SetIndexBuffer ( 0 , SlowDnPts); SetIndexBuffer
Hi All, I am a newbie in programming. I am trying to build an expert advisor based on Engulfing Pattern. That is, I want the EA to open a long position after a Bullish Engulfing is formed in an uptrend (50 EMA is above 200 EMA) and to open a short position after a Bearish Engulfing is formed in a
The MetaTrader 4 platform update will be released on Friday , July the 24th, 2020. This version provides enhancements for built-in MQL5.community services, as well as error fixes and platform stability improvements. The update will be available through the Live Update system
Hello, I want to know how to pass an array which is in another array struct to a function by reference. struct SRLines { string name; double price; }; struct CiCSupAndResLines // Support and Resistance Line from SmartLine Indicator { string symb; SRLines M1[]; SRLines M5[]; SRLines
Can anyone help with this please? I have previously added EA's to my MT4 on my iMac with no problem but I have just acquired a new one and it will not paste into the Expert Folder. I copy from the unzipped folder file and click on Paste into the Expert Folder in MT4 but nothing happens? I have
Hello, I've been having this issue for quite some time. Every time I reboot my computer the indicators that I have downloaded from the MQL5 market won't load onto my charts. I have to go back into the mql5 market and redownload the indicators everytime. I have mt4 installed on two computers and
#define FLAT = "h1_flat" ; //... some code string trend = FLAT; Getting error '=' - operand expected SignalGenerator.mqh 69 25 When I do not use constant but assign string, no error. Does not make sense. What is wrong here? How to assing constant to variable? Update: solved - had to be this way. But
Hi there, I've been looking at the adding the custom indicators as a resource to package up my Expert Advisor into 1 package. It all seems to work fine with one caveat... it's sooo slow. My Strategytester now runs a fraction of the speed compared to when I addressed the Indicator in the Indicators
hi, i have a variable in the ontick which is based on a moving average so it keeps on changing (and thats good) I know I can't use it in a function since its not global, but if I declare it globally the value will be fixed to that when it was first loaded. for now i'm reclaring the varible both in
Lets say our criteria for movement is that it will be movement if its over 250 pips
Hi everyone, I had a MQL4 strategy based on the ticks but unfortunately I needed the duration between two ticks. I thought that GetTickCount() did the job, but I have just understood the GetTickCount relies on the computer time, so at each run of the same test in the same interval of course I don't
Hello I have this code that adds a fibonacci configured with risk / reward .. but I need it not to be added when adding the EA to the chart as the code currently does, I need the fibonacci to be added to the chart when I use the buy or sell button so I wanted to know who can help me with this code
Hi guys! 1)Can I have an example of stop at breakeven? 2)In the backtest, the breakeven works, but in real it doesn't work, why? Thanks. Marco
Hi is this even possible in mql4 ? Being able to comment/uncomment lines within the file depending on the result of some lines somewhere within the same file? for eg: if ( x) { comment lines 25 - 30 ; } else { uncomment lines 55 - 58 ; } or How this/similar can be achieved with use of any device

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.