-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.008-dev-new #753
Merged
Merged
v3.008-dev-new #753
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reformats code
…s and conversion.
… introduced MemoryFileSystem for accessing temporary files written by MQL/C++ code.
…print the results.
* tag 'v2.012': (84 commits) EA: Sets trade params across all strategies EA/Strategy/Trade: Adds AddTaskObject() EA/Strategy/Trade: AddTask: Fixes code syntax to avoid issues with invalid pointers Trade: TradeParams: Sets log_level in struct constructor Trade: Disables filling modes for MQL4 EA/Strategy: Improves trading logic EA: Fixes recent issue with error during trade request Indicator: Fixes timeframe assignment in class constructor EA/Strategy: More fixes for log printing based on the level EA/Strategy: Fixes log printing based on the level Strategy/Trade: Adds log level getters/setters Trade/Strategy: Improves logic on detecting defined spread limits Trade: TradeParams: Adds max_spread Trade: Checks spread limits Fixes spread/deviation limit logic IndicatorData: Adds setter for IndicatorDataParams struct Exchange: Uses AccountBase instead of AccountMt Account/AccountMt: Fixes zero division Account: Renames Account to AccountMt Exchange: Expands test ...
* tag 'v2.012': (84 commits) EA: Sets trade params across all strategies EA/Strategy/Trade: Adds AddTaskObject() EA/Strategy/Trade: AddTask: Fixes code syntax to avoid issues with invalid pointers Trade: TradeParams: Sets log_level in struct constructor Trade: Disables filling modes for MQL4 EA/Strategy: Improves trading logic EA: Fixes recent issue with error during trade request Indicator: Fixes timeframe assignment in class constructor EA/Strategy: More fixes for log printing based on the level EA/Strategy: Fixes log printing based on the level Strategy/Trade: Adds log level getters/setters Trade/Strategy: Improves logic on detecting defined spread limits Trade: TradeParams: Adds max_spread Trade: Checks spread limits Fixes spread/deviation limit logic IndicatorData: Adds setter for IndicatorDataParams struct Exchange: Uses AccountBase instead of AccountMt Account/AccountMt: Fixes zero division Account: Renames Account to AccountMt Exchange: Expands test ...
* origin/v3.004-dev-cpp: Adds clang-format pre-commit hook Adds .clang-tidy
…008-dev-new * origin/v3.004-dev-indi-rename: Moves Indicator and IndicatorBase into Indicator/
…ev-new * origin/v3.003-dev-vscode: devcontainer: Adds vscode Vim extension Converts tabs into spaces in devcontainer.json Adds additional vscode C++ extensions Adds .devcontainer
…v-new * origin/v3.004-dev-tasks:
…-new * origin/v3.004-dev-cpp2: Adds clang-format pre-commit hook
…008-dev-new * origin/v3.004-dev-new-std-fix: Std: Uses Alert() and DebugBreak() for MQL only
* origin/v3.005-dev: (42 commits) Fixes ZigZag and ZigZagColor value validation. Fixes problem with not preserving TF passed to Candle indicators. Fixing CompileTest Should fix problems with DrawIndicatorTest as Platform::AddWithDefaultBindings() must take symbol and time-frame (we use fixed pair of symbol and time-frame, so code will work in c++). Little changes required by emcc support. Should fix problem with MA expecting additional bar, despite it has all required bars to generate averages. Fixes warning "too many arguments for function-like macro 'RUNTIME_ERROR'" Tiny internal changes. Part of testing emcc API. Fixes tests using Platform::FetchDefaultCandleIndicator() as method now requires both, symbol and time-frame to be passed. Fixes Indi_RSI #elif error. Also, added PERIOD_TF_IRREGULAR enum value for ENUM_TIMEFRAME, so IndicatorTfParams could be initialized as non-tf-based indicator type. Empty commit to run tests. src/IndicatorTest.cpp WIP. Making a Tester class and exporting IndicatorTfDummy and RSI indicator to be used in JS. Little changes for array #defines. Fixes recent syntax errors for C++. WIP. Testing RSI over IndicatorTfDummy over Indi_TickProvider. RSI returns values. It's good! WIP. Testing RSI over IndicatorTfDummy over Indi_TickProvider. Now we need to implement missing extern functions. WIP. Fixing MT4 errors. Fixing MQL4 errors. WIP. Using Indi_TickProvider to provide tick for Candle indicator and finally, for RSI or other one. ...
…ams' Get<T>() and Set<T>() methods. Also fixed formatting of files.
…ams' Get<T>() and Set<T>() methods. Also fixed formatting of files.
Fixed problem with casting string to ENUM_LOG_LEVEL
Also changed .clang-format in order to indent macros. Changed Indi_Bands's OnCalculate param names in order to prevent warnings.
…e indicator and fixes in Indi_TickMt. Still requires work in the area where ticks are used to form candles.
* origin/v3.007-dev-new: Legacy code for MT4. OnCalculate() automatic ticking, ArraySetAsSeries() for buffers and support for calling MT5 code from MT4. Refs #11. WIP. Making indicators to use Platform::OnCalculate(), Platform::Tick() and IndicatorData::EmitHistory().
…ams' Get<T>() and Set<T>() methods. Also fixed formatting of files.
* origin/v3.008-dev-new: Fixed problem with casting string to ENUM_LOG_LEVEL via indicator params' Get<T>() and Set<T>() methods. Also fixed formatting of files.
…ew`. This code is not yet ready to merge.
… After fixing errors and before clang-format.
…lasses into v3.008-dev-new--fixes-after-merge-from-v3.007-dev-new-itemshistory-fixes
…g slots two times. There is still a problem with GetEntry() using too many entries.
…t-entry-problem WIP. Dict now uses class instead of struct in order to prevent copying slots two times.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.