diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 33d83342a..87fd10d78 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,3 +1,7 @@ --- +# MD013 line-length - Line length MD013: line_length: 120 +# MD033 no-inline-html - Inline HTML +MD033: + allowed_elements: [details] diff --git a/README.md b/README.md index b467a9154..475d5a24a 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ Projects implementing this framework: Multi-strategy trading robot. - [EA31337-strategies](https://github.com/EA31337/EA31337-strategies): EA strategies. +- [EA31337-indicators-other](https://github.com/EA31337/EA31337-indicators-other): + 3rd party indicators ## Conversion @@ -65,6 +67,8 @@ This framework can be used to convert your MQL4 code to be compatible with both Find below the table of conversion (replace code on left with the right one): +
+ | MQL4 (original) | MQL4 & MQL5 (replace with) | Required include file | |:---------------------|:---------------------------|:----------------------| | `WindowRedraw()` | `Chart::WindowRedraw()` | `Chart.mqh` | @@ -124,21 +128,27 @@ Find below the table of conversion (replace code on left with the right one): | `OrderType()` | `OrderStatic::Type()` | `Order.struct.h` | | `OrdersTotal()` | `TradeStatic::TotalActive()` | `Trade.mqh` | +
+ Here are the special [predefined variables](https://docs.mql4.com/predefined) conversion: +
+ | MQL4 (original) | MQL4 & MQL5 (replace with) | Required include file | -|:---------------------|:-----------------------------|:-----------------| -| `Ask` | `SymbolInfo::GetAsk()` | `SymbolInfo.mqh` | -| `Bars` | `Chart::iBars()` | `Chart.mqh` | -| `Bid` | `SymbolInfo::GetBid()` | `SymbolInfo.mqh` | -| `Close[]` | `Chart::iClose()` | `Chart.mqh` | -| `Digits` | `SymbolInfo::GetDigits()` | `SymbolInfo.mqh` | -| `High[]` | `Chart::iHigh()` | `Chart.mqh` | -| `Low[]` | `Chart::iLow()` | `Chart.mqh` | -| `Open[]` | `Chart::iOpen()` | `Chart.mqh` | -| `Point` | `SymbolInfo::GetPointSize()` | `SymbolInfo.mqh` | -| `Time[]` | `Chart::iTime()` | `Chart.mqh` | -| `Volume[]` | `Chart::iVolume()` | `Chart.mqh` | +|:---------------------|:-----------------------------|:--------------------| +| `Ask` | `SymbolInfo::GetAsk()` | `SymbolInfo.struct.static.h` | +| `Bars` | `ChartStatic::iBars()` | `Chart.struct.static.h` | +| `Bid` | `SymbolInfo::GetBid()` | `SymbolInfo.struct.static.h` | +| `Close[]` | `ChartStatic::iClose()` | `Chart.struct.static.h` | +| `Digits` | `SymbolInfo::GetDigits()` | `SymbolInfo.struct.static.h` | +| `High[]` | `ChartStatic::iHigh()` | `Chart.struct.static.h` | +| `Low[]` | `ChartStatic::iLow()` | `Chart.struct.static.h` | +| `Open[]` | `ChartStatic::iOpen()` | `Chart.struct.static.h` | +| `Point` | `SymbolInfo::GetPointSize()` | `SymbolInfo.struct.static.h` | +| `Time[]` | `ChartStatic::iTime()` | `Chart.struct.static.h` | +| `Volume[]` | `ChartStatic::iVolume()` | `Chart.struct.static.h` | + +
## Classes