Alon D
Alon D
Freelancer programmer at
Friends

Add friends via their profile or user search and you will be able to see if they are online

Alon D
Added topic Signals page - Main chart calculation
Hello. Does the percentage shown include deposits made throughout the signal
Alon D
Added topic Equity loss maximal
Hello. I'm looking for a way to find an EA's Equity Loss Maximal figure. And I don't mean the existing Equity drawdown maximal because I only want to know what was the maximum amount a position has dropped with respect to it's entry price, not to
Alon D
Added topic EA in Strategy tester placing positions that I don't have funds for...
I'm testing an EA. I noticed it sometimes opens positions (in strategy tester) with a volume much greater than my balance + leverage. How is that possible? I this screenshot I have 972 EUR balance and I'm using 1:30 leverage. It opened a volume of
Alon D
Added topic MetaEditor - debugging input params
Hello. When I start debugging with historical data from MetaEditor, it changes my EA's input parameters and I can't figure out where can I set those? These are not the defaults and they are not what I set in strategy tester before starting the
Alon D
Added topic Strategy tester - bug report
Couldn't find a bug report contact so I'll put this here. There's a small bug in the strategy tester results that took me a while to figure out. If I do backtest + forward test, and in the backtest I filtered out some options, lets say
Alon D
Added topic Memory usage by an indicator
Hello, I have a function using the iATR method.  My function is being called once per bar onTick(); I noticed when backtesting that my RAM gets filled up within a few seconds and my Windows freezes. If I comment-out the last line
Alon D
Added topic Strategy tester results don't match
Hi I ran the tester with the fast genetic algorithm with forward testing. Then I picked a specific result, put the exact parameters into my bot, and ran it in visual mode. I got very different results in both backtest and forward test visual tests
Alon D
Added topic Strategy tester - choosing the right result
I have the following results table. I'm not sure which one to prefer. My testing was done on a 500 euros account. The first row has the most profit in forward testing, but the backtest is at a small loss. The third raw has profit in both forward and
Alon D
Added topic Strategy tester cache
In the documentation, it's said that MT5 caches optimization results for each testing parameters such as period in order to not repeat them. https://www.metatrader5.com/en/terminal/help/algotrading/strategy_optimization What if my "to date" is
Alon D
Added topic Detect volatility
I would like my EA to have separate TP and SL for when it's volatile and when it's calm. How should I detect it? (I don't want to use an indicator) Will taking the average size of all the bars in the last week be enough? Anything above it would be
Alon D
Added topic Using global variables as input parameters
I am trying to follow this article https://www.mql5.com/en/articles/4917 He is setting the optimized parameters as global variables. But how do I use them in my EA? I can't set input parameters to global variables because they require a constant. And
Alon D
Added topic Optimizing strategies
Has there been any study about the best strategies to optimize? Right now I'm asking myself if it's best to test over a long period of time (a few months) or to re-test once a day over a short period of a couple of weeks. Testing over a short period
Alon D
Added topic Creating links between inputs for strategy tester
Hello Is it possible to link several inputs before testing? For example, if I have 1 boolean input and 1 double input, and when the boolean is set to false, I don't want the strategy tester to bother testing all the range of the double input because
Alon D
Added topic Question about margin
Hello, I opened a demo account with a 1:1 leverage with a certain broker. I am trading Gold (XAUUSD), so contract size is 100 I have 50,000 EUR in the account. And I opened a BUY with trade size of 0.1 The current price was 1870.00 on MT5 I see that
Alon D
Added topic onTradeTransaction not triggered
Calling positionClose from the CTrade class doesn't trigger the  onTradeTransaction   event. Is there a different way I should close a position
Alon D
Added topic Subtracting 2 doubles
I have this code:    double previousBar_open = ( double ) iOpen ( _Symbol , PERIOD_CURRENT , 1 );    double previousBar_close = ( double ) iClose ( _Symbol , PERIOD_CURRENT , 1 );    double previousBarDifference =
Alon D
Added topic Problems back-testing my bot
Hello, I wrote a simple bot with MQL5. It only has 2 input parameters (SL and TP distance) When I run strategy tester I get no results. It just shows as if it's working forever. Any other bot I'm testing has no problems. Do I need to do something
Alon D
Registered at MQL5.community