Comments (2)
Since the new build of MQL5 compilator, class enums are now needs to be explicitly referenced, e.g. Condition::ENUM_MARKET_CONDITION
instead of ENUM_MARKET_CONDITION
. This makes the syntax not back compatible.
For example:
MQL4:
struct A {
enum bla {
A, B, C
};
};
bla x = C;
MQL5:
struct A {
enum bla {
A, B, C
};
};
bla x = A::bla::C;
The workaround is to move the enums outside of the class.
from ea31337-classes.
Fixed in #60
from ea31337-classes.
Related Issues (20)
- New enum for Envelopes modes
- Support for both AND/OR operations for SOFM/SCFM
- Support for negative shifts
- Extend BarEntry with extra information
- Support for OHLC based on Bid/Ask prices
- Detect Wyckoff pattern
- Account::GetMarginFreeInPct() wrong calculation
- Strategy: Add OnOrderClose()/OnOrderModify()/OnOrderProcess()
- Order: OrderModify: Support for different request actions
- EA: OnOrderOpen: Add _request
- Indi_Account/Indi_Spread
- Calculate DXY (US Dollar Index) HOT 1
- Adds more trading hours
- Pattern: Chart's gaps
- Stop loss improvements
- MQL5: iMA/iOsMA/iMACD/etc on indicator
- Pattern: Add FVG Up/Dn
- 'SetDataSourceType' - undeclared identifier
- Matrix multiplication using OpenCL
- Array out of range in Array.mqh (773,33)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ea31337-classes.