-
-
Notifications
You must be signed in to change notification settings - Fork 100
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.007-dev-new (Chart refactor, OpenCL) #749
Open
kenorb
wants to merge
161
commits into
v3.006-dev-new
Choose a base branch
from
v3.007-dev-new
base: v3.006-dev-new
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
* tag 'v2.009': (27 commits)
* dev-indicator-refactor: (73 commits)
* origin/dev-v2012: (97 commits) Added TaskManager::Add(string _entry) method which creates TaskEntry from JSON string. EA: Adds test for task init EA: Reenables initial task logic Trade: Integrates TaskManager logic CompileTest: Adds missing Task includes EA/Strategy: Integrates taskable actions Task: Adds struct methods for arguments EA: Integrates TaskManager logic with Task's conditions Strategy: Renames tsm to tasks Task: Fixes TaskCondition test GHA: Includes testing on .mq? changes Task: Fixes TaskAction test Strategy: Integrates TaskManager logic with Task's conditions Fixed DictObjectIterator's value pointer's cast. Fixed TaskEntry::Get()'s switch. Made tasks dictionary to store references to Task type. Task/TaskObject: Adds support for objects Task: Adds TaskManager Task: Improves processing methods Task: Adds TaskObject Task.test: Adds TestTask01() Task/Task: Adds missing virtual methods ...
* origin/master: Added SerializeStub() method to Chart class. Added more error checks. (#629) Improves tasks return logic EA: Adds enum's comment Adds Indi_Custom indicator Indi_MA: Renames InpMAMethod to _ma_method to avoid global variable conflicts Indi_MA: Renames InpMAPeriod to _ma_period to avoid global variable conflicts Initial new Account classes Account: Moves enums, defines and structs to Account/ Fixed Dicts to take into consideration overflow listeners. GHA: Removes init-platform due to hang GHA: Uses 4.0.0.1349 to compile main tests GHA: Uses 4.0.0.1349 to run main tests Fixes problem with non-visual mode 4086 errors due to BarsCalculated() returning an error even if iCustom was not yet executed. Indicator: Moves Init() to protected section Indi_AC: Sets 2 modes when using iCustom() Chart: ChartTf: Adds SecsToTf() GHA: Adds Tick tests Fixed Dicts to take into consideration overflow listeners. Tick/TickManager: Adds TickManagerOverflowListener() Adds TickManager
Reformats code
…n than EmitEntry() from Indi_TickMt.
…dles that are cleared somehow when adding new candles.
Serializer: Renames .mqh to .h
Moves Indicator and Serializer related files to own dirs
…rflow Listener works (enum items). Got rid of unnecessary overflow listeners in some classes.
… into dev-indi-renko
…d from cache. Not yet works as we need to fix GetBarTime() in situation where there is no candle at shift 0.
…re)generate candles/ticks to by used by IndicatorCandle and IndicatorTick-based indicators.
…o connect Indi_TickMt with IndicatorCandle.
* 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. ...
…form::Tick() and IndicatorData::EmitHistory().
…lasses into v3.007-dev-new
…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
…s() for buffers and support for calling MT5 code from MT4.
…icator-support V3.007 dev new mt5 code in mt4 indicator support
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.