int ArrayResize( object&array[], int new_size) can Sets a new size forthe first dimension. but if the array[4][][3] i want tochange the size of second dimesion of it. how to do that ? thank you.
Greetings, trendsetters. In fact, I think there are quite a few contenders. So in this thread in the future we will post the results of Mr. sever30 . I leave the terms of use, so that it was clear what it is about. I propose a small contest. I am looking for traders who work in forex (currency
i got the "error 1" on ordermodify function. i searched the error code, it means that no error but my ea still showing this error. how to fix it? please help.
My history data shows the last closed position below the table while all the previous were above it.Total=OrdersHistoryTotal()"for(int i=0;i =0;i--) "Please which of this will select the last close order if the table is as aboveor can someone explain how the history table...
[Deleted]
Hi all, How can I stop https://www.mql5.com/en/code/8126 this report expert to flood? I mean everytime I refresh the html file, page goes long and long.. Any idea how to stop it ?
[Deleted]
the pic is a trade from last nite.a pending order I put in. green line was my sell entry,red line a 20 pip stop.look at the history - got filled at 11:42 gmt at 0.98384 (candle under red line) stopped out at 12:00 gmt at 0.98541 on the next candletrade lasted 13 minutes...
[Deleted]
I was writing a deinit() to try and delete all the objects associated with the indicator that created them on close of that indicator. All the objects created by the indicator start with the letters T16 followed by some other identifiers including a number for each arrow. I wrote this short code to
[Deleted]
It happens very often that we get unwanted calls in our life but you can do nothing about it. It maybe someone you are familiar with or someone you never know, it maybe a relentless salesman, or an annoying ex, or a harassment call from freaks. It is disturbing, it is torturing, you are totally...
[Deleted]
Function "Trailing_Stop_Handler" is not referenced and will be removed from exp-file Function "Trailing_Stop_Handler" is not referenced and will be removed from exp-file Function "Trailing_Stop_Handler" is not referenced and will be removed from exp-file The above where WARNING message...
Please coding of EA i have done keeps opening same position as the one closed before it instead of waiting for the next opposite signal. i want order history control that will select the last closed order that has same ordertype andsymbol with that of which is to be processed by the EA for making
can someone help me with an indicator. 3 vertical lines drawn on markets open. ( adjustable time would be a good idea as times of metatrader changes from broker to broker ) Tokyo - London - USA Using 15 mins chart, the high and low is marked with horizontal lines. eg. using FXCM... a screen shot...
New article Using Pseudo-Templates as Alternative to C++ Templates is published at mql5.com: The article describes a way of programming without using templates but keeping the style of programming iherenet to them. It tells about implementation of templates using custom methods and has a ready-made...
Hi Programmers! Can I check whether the chart used by the EA is the active chart in the MetaTrader? Thank you. Relative
Hi All.. Is there a way for an indicator to get the current time when using the testing Platform using visual with FromTo Dates?An indicator by itself does not know whether its running in TestMode or not(To my knowledge, that function works for EAs/Scripts only). I have had to resort to a dummy EA...
[Deleted]
I was wondering if anyone has written an indicator in MQL4 of the Kase Peak Oscillator (KPO). I have found mql4 codes based on the following algorithm: KPO = RWI(high) - RWI(low) where RWI(high)=(High[0]-Low[n])/ATR*sqrt(n), RWI(low) =(High[n]-Low[0])/ATR*sqrt(n), and ATR is the average true...
Hello !! Once again about RSI. I looked around on this forum for RSI EA and ….. it is a lot of it. Some of them simple – some of them serious robots. But …… I couldn’t find RSI EA which cross level 80 from the top to the bottom and level 20 from bottom to top. . I am not sure you are...
[Deleted]
Hi I have an EA that uses ATR: res = iATR(Symbol(),Period(),theAtrPeriod,shift); return(NormalizeDouble(res,Digits)); return(res); I have comments on the chart showing what the EA is seeing, I have found that sometimes the EA misses a trade because it was showing a very slightly different atr...
[Deleted]
Hello all. I started to write an Expert Advisor and started testing Bill William on history. I've been thinking, there are profitable Expert Advisors, so I don't have to reinvent the wheel. ( Besides, the Championship has even been organized). If I have a developer who yields 50% per month on demos
Hello! Please advice on how to change these values or somehow else squeeze chart. Here is what I am trying to achieve. I apply template to a chart and my resistance\support levels look just fine on Daily Chart, but when I change timeframe to let say 1H, windowspricemin and windowspricemax are...
Hi, I don't know what is wrong. I can't close the order. There is last ERROR nr 129. Can you help me? for(pos = OrdersTotal()-1; pos >= 0 ; pos--) if ( OrderSelect(pos, SELECT_BY_POS) && OrderMagicNumber() == 4...
[Deleted]
Hi I am trying to save the final candle of the trading day to a csv file, logging the currency pair and the candle type ie bull, bear, neutral. I have used this code below and modifed it for my use but I am new to coding and cant seem to get it to work, please can anyone help with this?...
How can I tell if my EA is running in the Strategy Tester or in realtime data? When I run it for real my EA adds lines on the chart and activates individual windows when trades look propitious - I think it would be inefficient for it to do this if I run it in the tester. To prevent this I'd like to...
New article Random Walk and the Trend Indicator is published at mql5.com: Random Walk looks very similar to the real market data, but it has some significant features. In this article we will consider the properties of Random Walk, simulated using the coin-tossing game. To study the properties of...
Is there a way to work out the most common max reading pf the indicator? Alternatively, how can I get a mving average top show on this indicator window? ...or last option a bollinger band around the indicator?...
Hello every one, I want to know if an ea can be programmed to trade with different settings and different charts at the same time. For example say parabolic sar setting 0.01 and 0.04. at the same time. also can it trade 5 minutes 15, 30, 1 hour charts simultaneously.
[Deleted]
i just tested the MACD.MQL4,but the terminal shows:couldnot send order,error 131.who could tell me why? the code is written by metasoft,isnot wrong?TKS!
I have an EA that produces an array of future prices. I'd like to be able to plot these on the chart to ensure the EA is working properly. Is there any way to do this, similar to loading the array into an indicator buffer-type object, or do i have to draw a bunch of small lines with ObjectCreate?

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.