EA31337-classes icon indicating copy to clipboard operation
EA31337-classes copied to clipboard

📦📈 EA31337 framework (MQL library for writing trading Expert Advisors, indicators and scripts)

Results 167 EA31337-classes issues
Sort by recently updated
recently updated
newest added

- 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

- Improve entry validation. - Improve GetEntry() code to the latest standard. - Add enumeration for support and resistance modes.

enhancement