EA31337-classes
EA31337-classes copied to clipboard
📦📈 EA31337 framework (MQL library for writing trading Expert Advisors, indicators and scripts)
In Ichimoku 2nd and 3rd buffers are shifted by senkou_span_shift bars. In this [code example](https://www.mql5.com/en/docs/indicators/iichimoku), it's shifted as `CopyBuffer(ind_handle,2,-senkou_span_shift` and `CopyBuffer(ind_handle,3,-senkou_span_shift`. > if senkou_span_shift>0, the line is shifted in the...
> 2022.04.03 19:01:42.870 Core 1 2020.07.29 00:05:00 2020.07.28 23:58:59: INFO: {}: Trade::OrdersCloseViaProp2:950 > 2022.04.03 19:01:42.870 Core 1 2020.07.29 00:05:00 2020.07.28 23:58:59: WARNING: Trade::OrdersCloseViaProp2:954: Issue with closing the order!
> 2014.10.31 06:00:00: zero divide, check divider to avoid this error in 'Math.h' (81,22) ``` static double ChangeInPct(double _v1, double _v2, bool _hundreds = false) { double _result = 0;...
> 2021.12.13 16:38:22.739 Core 3 pass 35 tested with error "critical runtime error 502 in OnTick function (array out of range, module Experts\EA31337-Advanced-v2.009.ex5, file Order.struct.h, line 84, col 16)" in...
Code: ``` logger.Info(__FUNCTION_LINE__, _order.Ptr().ToString()); Print(_order.Ptr().ToString()); ``` - Place it in OnOrderOpen() in Trade and run any EA or strategy in MT4. - First issue is a memory leak. - The...