Skip to content
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
wants to merge 161 commits into
base: v3.006-dev-new
Choose a base branch
from
Open

Conversation

kenorb
Copy link
Member

@kenorb kenorb commented May 1, 2024

No description provided.

kenorb and others added 30 commits October 28, 2021 21:58
* tag 'v2.009': (27 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
…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.
…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.
kenorb and others added 14 commits May 4, 2024 12:26
* 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
…-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().
…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
nseam and others added 15 commits May 22, 2024 19:39
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.
… 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants