I've a prototype of class which aims to store the values of the indicators. I believe it's nearly finished, but it needs some expert eye to finish it up, improve and test it.
Here are the job goals:
- store the values depending on the type (doubles, integers or bools, you can use MqlParam struct, overloaded methods or function templates),
- for each value, store the bar datetime and key of the value (e.g. MODE_MAIN, MODE_SIGNAL),
- when new key is specified along with the value, add this key as new automatically,
- each value is added on the top of the array (Array as Series), so accessing 0th element should always return the latest,
- when value has been added for the same bar time again for given timeframe, ignore it (unless force option is specified, so it'll update the existing one),
- here is the proposed sample usage of that class given dummy values of MA and MACD indicators, so after finish demonstrate that the class is working on the existing simple code,
- print the values when calling ToString(),
- adjust and provide code demonstrating sample usage of that class for the testing purposes (as per link above, you can use the existing one).
Coding rules:
- provide warning/error free code,
- use the existing class, don't create a new one,
- don't use external libraries or classes other than existing,
- avoid adding not related things,
- use indentation of 2 spaces, no trailing spaces,
- clean up any unused objects to avoid any memory leak reports,
- existing code is compatible with MQL5 and MQL4, so it should stay this way.
Please don't apply if you don't have time this week, or if you're not familiar with MQL5 class coding.
Class file: Indicator.mqh (however you need to download the whole zip file to include the other classes).
相似订单
Hello, I need some expert who can hlep me fix the errors of this bot that will work normally ba check the bot file, error messages, and any specific issues you are currently facing so you can get started
1. Project Overview I am looking for an experienced MQL5 developer to design a robust, clean, and well-structured Expert Advisor (EA) for MetaTrader 5. The goal is to transform a clearly defined trading logic into a stable, efficient, and fully configurable EA , suitable for backtesting and optimization. 2. Platform & Language Platform: MetaTrader 5 Programming language: MQL5 Code must follow best practices (modular
Please, I need an expert and professional to watch the uploaded video and tell me the name of the strategy. Thank you very much.Please name the strategy accurately, professionally, and clearly
I want a modification on my ea . A spread filter or slipage filter such that when the market price is less than 50 point away from the pend order , then ea check the spread if less than the set filter spread. If spread is more than the set spread, the ea will delete the pend order . Secondly , if the broker price is moved or sliped the pending order from the original price it was set by the tolerable slipage distance
Hi, I’m currently looking to purchase a profitable Expert Advisor (EA) for XAUUSD on MT4 and different Symbols . If you have an EA that has consistently been profitable, I’d be interested in purchasing the source code. I would like to backtest the strategy and evaluate it before making any purchases. What I’m ideally looking for: Designed specifically for XAUUSD (MT4) Consistent profitability with solid risk
Hello, good day to you Developers, I am looking for someone that can deliver on a project with the following requirements: The job I am about to give out will involve "Tradingview" and "Metatrader 5" Tradingview: for analysis, as the Strategy uses one second charts/candles, Metatrader 5: for executing and managing the trades. For this EA to work well for the project's aims, SPEED of execution is of upmost
1. Objective Create an MT5 automation script (or set of scripts) that fully automates my strategy optimization workflow, including: • Batch optimization runs • Automatic filtering of results • Automatic forward testing • Exporting and organizing results into structured files/folders The goal is to reduce manual work and allow one‑click execution of the entire pipeline. 2. Platform & Environment • MetaTrader 5 •
I'd like to optimize in Strategy Tester by Custom Optimization of strategies ran by Win Rate %. I can't find a way to view each scenario's win rate without running them individually and looking at Backtest
Would it be possible to connect Futures prop firm with Rithmic or Tradeovate platform to Ninjatrader automated trading ? If anyone can do this for me I will be happy to get started with the person right away
hello great developer I want to modify my NT8 indicator to change its arrow printing logic so that arrows appear on the first candled dot, not after the series. no repaint and no back painting. all in real time. This will help me get timely signals. Scope of work - Modify NT8 indicator logic to print arrows on the first candled dot. - Ensure arrow print matches 90%+ accuracy compared to the current functionality. -