Friends

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

Lukasz
Registered at MQL5.community
Lukasz
Added topic Why is period_converter script producing different number of records for the same number of M1 records?
Sometime ago, I imported historical data into MT4 and today realized that imported data was GMT+1, so I wanted to correct this and import it again using shift = -1. In both cases, there are 2524624 M1 bars (as shown in the history center), however
Lukasz
Added topic Bug report - tester downloads D1 data from the broker again which causes mismatched data errors
I finally found the root cause of problems in the tester (see my other post here ). Steps to reproduce: 1) Stop MT4 2) Delete all files under MT4_HOME/history and MT4_HOME/tester/history 3) Start MT4 4) Go to history center and download EURUSD M1
Lukasz
Added topic The same test with the same settings (EA, symbol. etc.) run twice - why is modeling quality different?
In another post I complained about modeling quality itself. Now I found that the modeling quality is not constant for the same test that is run multiple times . This ultimately proves that the tester is not reliable (build 222). 1. First, let's make
Lukasz
Added topic Misleading "unmatched data error" message or a bug?
During backesting, I'm seeing the following error message: 2009.03.30 23:27:26 TestGenerator: unmatched data error (low value 1.3987 at 2008.12.30 09:05 and price 1.3986 mismatched) However (as depicted on the attached screenshot) the low value is
Lukasz
Added topic Where to get reliable and accurate M1 historical data for MT4?
I downloaded M1 historical data using the history center in MT4 but getting dozes of errors like this during backtesting: 2009.03.28 12:01:37 TestGenerator: unmatched data error (low value 1.2565 at 2008.11.24 09:00 and price 1.2563 mismatched) Also
Lukasz
Added topic Missing data in the History Center for EUR/USD (build 222)?
After I downloaded data for the EUR/USD symbol using the History Center, I can only see 1 minute data from 03/25/2009 till 03/27/2009. There is no data available prior to 03/25/2009. Is this correct? How to get all data, i.e. starting from 2000? Not
Lukasz
Added topic Why predefined variable "Point" is 0 when using a sub-pip broker?
Today, I updated MT4 to the latest version (build 222) and noticed that the predefined variable "Point" returns 0 when using a sub-pip broker (such as United World Capital, which is the default demo broker in 222 build). MarketInfo
Lukasz
Added topic Calling SetIndexStyle() doesn't work from init() when the code is recompiled - a bug?
What I noticed that if an indicator is recompiled while still being attached to a chart, the line width specified via SetIndexStyle() is ignored inside init() and the default width is used (1). Here is the code, you can try it yourself: #property
Lukasz
Added topic IndicatorCounted() - let's clarify this once and for all
According to the description of the IndicatorCounted () function in the manual: ...To avoid indicator calculation errors in such situations, the IndicatorCounted() function returns the count of bars minus one. The above is clear, then after this a
Lukasz
Added topic Do I need to normalize this (double_type * Point)?
Do I need to normalize the following calculated stop loss? double sl = 20 * Point; The documentation states that: The calculated StopLoss and TakeProfit values, as well as open price of pending orders must be normalized with a precision the value of
Lukasz
Added topic My first Expert Advisor - any suggestions are welcomed!
I finally managed to write my first EA, using a very trivial trading strategy based on MA crossover. My intention was to develop a template (EA engine) rather than a profitable EA for now. Any suggestions/comments are welcomed. PS. Before I went to
Lukasz
Added topic How much to risk - position size or a stop loss level?
According to a "golden rule" no more than 2% of capital should be risked for a single trade. Considering the above which of the following would be the best approach: 1) Position size should be no more than 2% of available capital 2)
Lukasz
Added topic Iterating through available orders in reverse
Is there any benefit of iterating through the list of available orders in reverse? I noticed that this approach is used by others, for example: for (int i = OrdersTotal() - 1; i >= 0; i++) { } vs. for (int i = 0; i < OrdersTotal(); i++) { } For
Lukasz
Added topic A correct way of checking when a position becomes profitable
Hello, I want to update (trail) stop loss level only if a position is profitable. Is the below expression a correct way of detecting this condition? OrderProfit () - OrderCommission() + OrderSwap() > 0 Does the commission returned by this function