Hi Community, I would like to backtest a few eas automaticaly and export the results to a CSV everytime including a few furter fields like EA name, timeframe and so on. Further I would like to add a screenshot of the backtest result. Is this somehow possible? Thanks! -J.
hi guys ..i have some troubles with this block of codes .. int init() {////////////////////////////////////////////////////////////////////////////if(MarketInfo(Symbol(), MODE_DIGITS)==3||MarketInfo(Symbol(), MODE_DIGITS)==5)mypoint=10;else mypoint=1; pte=Point*mypoint; return...
I've been toying with a bunch of EAs I've written, and the optimization takes forever. Is there any option to make the optimizer work on a multi-thread setup, or a third party option? Thanks!
Hello, MT4 does not working on Windows 10 build 9926. How can I fix it? Best, Max
New article Portfolio trading in MetaTrader 4 has been published: The article reveals the portfolio trading principles and their application to Forex market. A few simple mathematical portfolio arrangement models are considered. The article contains examples of practical implementation of the...
Hey Guys, I have currently two problems. 1. How can I display a name of a horizontal line on the chart? - I tried to create a label and set it with TimePrice to XY to the right position. But there is the problem that it will always be on the same XY... So if I press + or -, the label is somewhere.....
[Deleted]
Hello, I'm newbie, but I'm trying to develop an EA. I would like to open long or short positions on the basis of my signal at determinate price. in particular: OrderSend with OP_BUY or OP_SELL at price of open current bar. OrderClose at price of close current bar. Thank's a lot...
Is there any function to show Positive & Negative Sign for numbers? For example if the result is 5.0 it should display the +5.0 and for negative number -5.0. I tried to use "+ sign" to concatenate but if I use #property strict it gives me warning: implicit conversion from 'number' to 'string'...
The new version of MetaTrader 4 Android features a free built-in chat enabling traders to chat with other MQL5.community members. Specify the desired user's login in a message recipient's section to send a message directly to this user's mobile device. The built-in chat allows you...
I created my indicator then run it but how can I change the input setting? I use extern for MA_Method and Period.
(11 1 2)
I created my indicator then run it but how can I change the input setting? I use extern for MA_Method and Period. Where to find the setting for extern? I want to change it when my indicator is running. If I use the built-in indicator the input setting is easy to change: You have to click the...
Hi all! I was opening new charts and got to a point where it does not open a new chart. How do i increase this limit? thank you! I actually reached this limit because for every pair/instrument, i open 2 of the same chart as i want to have 20 & 50 MA and another with 20 & 50 EMA, instead of...
[Deleted]
How do I call this indicator to return the color (red/green) of the volume of the current bar?
[Deleted]
extern int MagicNumber=1111;extern double Lots =0.05;extern double StopLoss=100;extern double TakeProfit=100;extern int TrailingStop=0;extern int Slippage=3;//+------------------------------------------------------------------+// expert start...
Hello there my EA seems to put double the trades when I put it on a DEMO account. (they are entry orders) Does anyone has an idea what could it be? Thank you Luis
Hello , I have a doubt about the back test . I am checking my indicator that points out the candles , making a back test would merely truthfully or I could find a chart with candles position that does not match up with reality ? Another doubt , if you increase the speed of the back test execution
Hello, While I try to compile the mq4 file, I receive various errors. I attach the corresponding txt file 'research 5 - chart 2 red lines ETI.txt'. I looked up on compiling errors, but could not see an answer. I have following errors and warnings: * 'ObjectCreate' - variable expected (11, 6)...
How to reset the default value of Global Variable Array inside the function? I use global array to used it in many function but I want to reset it first before using it because I used the global array in different function. bool x[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL};void aaa(){ x[] =...
Can you please help with this. This indicator has no errors on metaeditor yet when I try adding it to metatrader it doesnt connect.//+------------------------------------------------------------------+//| MA_In_Color.mq4...
[Deleted]
Looking to see if theres a irc channel or any chat room for mql programming.
I'm trying to code an indicator that displays a histogram of each hour in the past based of a candlestick's high and close. For example it calculates whether each specific hour in the day has been bearish or bullish based of the past data. For example.. Each bar in the histogram represents each...
If I have two points with two different times can I know the time difference in minutes?
[Deleted]
All, I have write a EA for test, it imports some functions from another DLL, but I could not do the back test, it always said 'the DLL is not allowed', e.g. "2016.10.15 10:28:09.389 2016.09.01 00:00 Cannot call 'ConsoleApplication2.dll::InitPipe', DLL is not allowed.' But, how can I allow the DLL...
Where the best place to put the global variables? Inside init(){...} or outside the function?? My variables will used in many functions repeatedly. I want to know the best way and efficiently to create indicator.
I found BUG in Nested if - else if - else if - else. I can't declare same variable name in other blocks. According to MQL4 documentation: A variable declared inside a block (part of code enclosed in curly brackets) belongs to the local scope. Such a variable is not visible (and therefore not
void OnStart() { double Lots=((1860.03*1.0/100)/(114.542-114.511))/(0.87/0.001); double NormLotsRound=MathRound(Lots/0.01)*0.01; double NormLotsDouble=NormalizeDouble(Lots,2); Print("Lots is, ",Lots); Print("MathRound(Lots/0.01) is, ",MathRound(Lots/0.01)); Print("Lots with MathRound,...
[Deleted]
Hello, I have an EA. I want to insert security code in it. I want to do that the EA works till specific dat and time. Forexample; I want that the EA works till Oct 15, 15:30 pm. Secondly, I want to hide my EA's code. Can you help me, please? Finally, I want tthat the EA works for specific parity
Is it safe to buy EA from folks you do not really know ? Can the EA that you buy from some one else online be used to hack into your PC ? Regards
The most interesting figures at the Strategy Tester Report are imho Total net result and Relative drawdown. Both figures will be greatly dependant on the choosen Order size. Another valid statement is that the rate between Order size and Account balance together with the Relative drawdown will...
[Deleted]
Hello, I write an Expert Advisors program that stores the Indicator values iEnvelopes, iBands and iMA in an Array. Unfortunately, the program doesn't work. No prices are stored in the Array. What must I do? extern int SMA_Period = 4;extern int SMA_Shift = 0;extern int SMA_Method = 0;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.