Expert Advisors and Automated Trading - page 458

I want to get 2nd buffer of a Custom Indicator. in indicator SetIndexBuffer(0,IndMapBuffer1,INDICATOR_DATA); PlotIndexSetInteger(0,PLOT_LINE_STYLE,STYLE_SOLID); PlotIndexSetInteger(1,PLOT_LINE_STYLE,STYLE_SOLID); SetIndexBuffer(1,IndMapBuffer2,INDICATOR_DATA); when call CopyBuffer...
Hi! I have a pivot points file to the meta trader and i want to know according to what time setting the pivot were defined. I tried meta editor but i couldn't understand that from there. I attached the file. I want to know according to which time zone and which start and end time the pivots were...
I have been experiencing some sort of cache problem with the Metatrader 5 tester when checking the chart that opens after the test is done. The problem is that the chart shows not only the trades my EA made in this run, but also trades from previous runs. Because of this it is really difficult to
Hello, can somebody put a EA for download here, with wich it is possible to make a backtest like this: EURUSD 1 min chart, EURUSD 5 min chart, EURUSD 15 min chart and at same time USDCHF 1 min chart, USDCHF 5 min chart, USDCHF 15 min chart I want to code a strategie and backtest it like in the...
Anyone have examples of running an Ea and it get Setting From an INI File? Different Times of the Day The Chart Bar Would Change Colors so Right Before a Major News Event The Outline Of my Bars will Turn red at night the outline is green run scripts at certain times of the day , save setting when to...
  News Filter  (4)
Hi Guys, How to code a news filter based on "Economic Calendar" object, include Event Time, Name, Currency, Importance,Actual,Forecast,Previous? 
Hi, If anyone can help converting this from mql4 to mql5 as I try to understand the new logic ofmql5. Thanks. doubleHigh4=iHigh(Symbol(),PERIOD_H1,iHighest(Symbol(),PERIOD_H1,MODE_HIGH,4,1)); doubleLow4=iLow(Symbol(),PERIOD_H1,iLowest(Symbol(),PERIOD_H1,MODE_LOW,4...
Hello, i'm looking for a possibility to open and close positions based ticks und not on OHLC. The signal for open or close is the simple CrossoverMA (Timeframe: H4) but i want to close and open positions by ticks so that i can close and open earlier and don't have to wait for a complete bar...
like topic, MT5 donot release this function, who can tell me when it is ready?
Hi, I really need a help with closing positions close to StopLoss. It sometimes happens that I decide to close a position one or two ticks before SL is reached. I send a request for instant order in a direction opposite to open position. Because of the fact that such action takes a while it can...
Hello, i've been fighting for two weeks with a very strange network problem. I've wrote a DLL to use sockets with my EA wich connects to a remote server and then starts sending out every price update. No problem at this stage. Since i'd like the EA to work even with the strategy tester, i've...
  multi custom max  (1)
Hi Guys, Is it possiable to output multi custom max values in report file after one time optimization in strategy tester? if no, can escalate this as a feature request? thanks...
Hi, I ran the code in the following article https://www.mql5.com/en/articles/112 to understand the concept of magic numers . I ran the code magic_exp0_en.mq5. Whie debugging I tried to switch the focus of the current chart between two different time frames i.e. EURUSD M5 and EURUSD H1 to see if...
Hi all, i'm moving from mql4 and i need help... here my problem: i want to find the profit of the last closed trade... i can do easily on mq4 but i find some difficult here... Pls can you help me??? (with an example plsss) Thanks All
Hi people, Does anyone know why in Strategy Tester, after running, the "Optimization Results" table exhibits less passes than in Optimization Graph ? Shouldn't they show the same number of passes ? In my execution, the results table has only 3420 passes while in the graph there are more than...
Does anyone know where the forward testing results are kept when performing backtest optimization with forward testing? BTW, is it possible to only perform forward testing based on positive results of slow optimization backtest? Currently, in slow optimization, it is running all cases for forward...
Is it possiable that there is an exclusive position for every expert by specified magic number? we can buy/sell orders, modify sl/tp without affecting by other experts.
Hi, I have been living in MT4 land and considering paying a visit to MT5 town sometime soon. One idea I had for an EA that is not possible in MT4 is a program that draws a Buy and Sell button to the screen/chart with predetermined stoploss and/or take profit levels.. this would suit an manual...
Hi, I copied files included in this article, but when I want to run a script I got an Alert: 2011.04.01 21:54:57 Core 1 2010.01.14 17:23:00 Error of creating neuronet from DLL ".....\MQL5\Files\NeuroSolutions\WeekPattern.dll" What can be a reason of this Alert. Regards T.
  Wrong iRSI?  (1)
Hi, I am very new to mql5 so I apologize... When I do something such as... int rsi; rsi = iRSI(_Symbol, PERIOD_H1, 21, PRICE_CLOSE); Alert(rsi); The result is.. for example 10 ... however when I go to the chart and add an RSI with the same values, the result is like 48 ... What am I doing...
Hi, I'm trying to save an arrow object to a file using binary read/write mode. I've got two problems: The .bin file that is created seems very small: 5 bytes for an arrow object. I don't think it's storing all the arrow properties.I'm unable to load the object from the .bin file. The Load() method...
  New build?  (2)
None of my saved ea's, some from the Wizard, will show a chart with the trades placed. Is anyone else having this problem? -Regards
Hi all, i'm using a CPositionInfo Obj to store my position with the storeState and then check it later for updates with checkState. How can i tell to the Obj to sync again with the server? At the moment i've replaced a plain class obj with a pointer so i delete and create the CPositionInfo every
Hi, Is it possible to access the calculated results of a simulation inside the OnTester() handler? I mean the values of Profit Factor, Equity Drawdown Maximal (%), Sharpe Ratio, Largest profit trade, etc. It would be very interesting the have available these fields when you are defining a...
Hey everybody I have got an EA made for MT4. But after reading up on the articles in here I have been wondering if it would be a good idea to get it rewritten in MQL5? But im just not sure whether or not it with make my EA better, or provide other advantages? My EA is based on a support/resistance
Hello, Someone please could tell me how to export the results of the Forward Optimization out of the Terminal? When you select the option Optiomization and Forward, the BaskTest is first done, and the results is automatically exported as XLS to terminal_data_folder/tester/cache. Then the Forward
Hello everyone ! Can someone tell me how to include C++ classes with .DLL My code is not working: MQL5LAZY#import "MQL5DLLSamples.dll"void CreatingLazy(int ordre,float raison,float THRESHOLD1,float THRESHOLD2,int K_MIN,int K_MAX,float& present[],int size);void Communicate();#importvoid...
Is it possiable to get these value in the ontester() function after testing? can you add this as a feature request?
[Deleted]
We have coded converter (for experts only advisors only) http://mq4-mq5.com
Can we combine testing reports of two or more EAs into one? excel or html.