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).
Commandes similaires
Hey guys, I’ve been trading for 6 years now and I need to automate a strategy that is really simple and ove developed by myself. Can you help me on that? Here is my e-mail angelocherubini24@gmail.com
Hello Great Developer I am looking for a highly experienced MQL5 developer to build a production-grade Telegram to MT5 signal copier. Requirements: • <1 second execution latency (Telegram → MT5) • Intelligent signal parsing (layered entries, partial closes, BE, TP4 open trailing, modifications) • Multi-provider support (scalable to 100+) • Built-in advanced backtesting system • Configurable risk management settings •
What information would you need for Ninjatrader automated trading and approximately how long would it take ? Bill if anyone can give response here I will be glad to discuss
■Specification: Hello freelancers i need a bot.Bot requirements (MT5 EA -Extra Conservative).■Platform: MetaTrader 4/5 (PC and mobile compatible).■Markets:Forex Pairs(Gbpusd,Gbpjpy,Usdjpy),Us30,Gold,Bitcoin. ■Risk Profile(Very Conservative) ◇Risk 0.25% -0.5% per trade maximum.◇No martingale,no grid,no averaging down.◇One trade per symbol at a time. ◇Maximum 1-6 good trades per day.■STRATEGY LOGIC(All
Hello, Good programmer help in track of programmer in mql5 market sells product and give fake expert advisor see attached for name of programmer. NEEDS TO GIVE HIS CLIENT MONEY BACK OR PROVIDE THE REAL EXPERT ADVISOR Gold on the Go Experts Nguyen Hang Hai Ha Version: 1.1 Updated: 23 June 2025 Activations: 10 Expert Gold on the Go is the latest generation of automated trading robots programmed
Hello! I am looking for an experienced developer to build a robust, customizable Expert Advisor (MT4/MT5) or a standalone Python bot. The strategy is based on pure Price Action (Support & Resistance breakouts) on the XAUUSD (Gold) 30-Minute chart. It relies heavily on "human-like" chart analysis, such as looking left for targets, waiting for a price pullback (a "flip") before entering, and managing the trade based on
Creating this robot to help trade for you.It all about making profit. A robot that can change lives help people make profits. It’s not just a bot but the way to the future
I need very small modification in MQL4 code, details will be send for selected programmers. Source of code required. Thank you for your patience and attention, Have a nice day! I prefer programmers who will be accepting crypto payment on next project, so please write me in first message if you will be able to accept crypto in the future
hello great developer We want a bot like this that flips small accounts We need a bot that works live account and flips small accounts but places 2 direction buy stop and sell stop at the same time brother
//+------------------------------------------------------------------+ //| SavannaFX Pro | //| Created for Junior | //+------------------------------------------------------------------+ #property strict input int FastMA = 20; input int SlowMA = 50; input int RSIPeriod = 14; input double LotSize = 0.1; input int StopLoss = 300; input int TakeProfit = 600; int