Rafal W.

Results 509 issues of Rafal W.

> I had the lot size set at 1000. Refs:

bug

> 2021.12.13 13:45:01.774 Core 1 pass 14 tested with error "critical runtime error 502 in OnTick function (array out of range, module Experts\EA31337-Advanced-v2.009.ex5, file Log.mqh, line 133, col 9)" in...

bug

- DateTime.struct.h: Implement GetWeekOfYear() - Confirm 'New week started' logic in GetStartedPeriods()

enhancement

- Support for closing order via % (e.g. when order_close_loss/order_close_profit is below 0) - Strategy's OnOrderOpen()

- [ ] New Class: Base64 (`base64.mqh`) - Related: https://www.mql5.com/en/code/15930 - [ ] Compatibility with MQL4 and MQL5 - [ ] Create a CI test.

enhancement
low-pri

Method: `SummaryReport.CalculateSummary()` Currently, all profit is calculated from the history. It would be great if the summary report has the breakdown of profits for the given magic numbers. So if...

enhancement
low-pri

Initial deposit is always zero for backtests. CalculateInitialDeposit() is to fix. Class: `SummaryReport.mqh` Test: ``` void OnDeinit(const int reason) { double ExtInitialDeposit = CalculateInitialDeposit(); CalculateSummary(ExtInitialDeposit); Print(GenerateReport()); } ``` To test,...

enhancement
MQL4
low-pri

Release indicator after successful test (is ready), so it's not showing on the chart anymore. - Refs: https://github.com/EA31337/EA31337-classes/blob/v2.006/tests/IndicatorsTest.mq5#L171

enhancement

``` // bands_on_price_params.SetDataSource(indi_price_4_bands, true, INDI_PRICE_MODE_OPEN); ... // ma_on_price_params.SetDataSource(indi_price_4_ma, true, INDI_PRICE_MODE_OPEN); ... // rsi_on_price_params.SetDataSource(indi_price_4_rsi, true, INDI_PRICE_MODE_OPEN); ```

enhancement

- HistorySelectByPosition()

enhancement