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).
Ordini simili
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
I have redone the brief, and the EA is much simpler, and should be a lot easier to setup. Please have a look and tell me if you can do it .I would appreciate a speedy response from you
EA should work with any pair like jpy , oil and Gold pairs along with EURUSD , GBPUSD etc and GBPJPY and too Lot size … its fixed for all. So which ever size client set . it will set for all the trades Gap between pips … its fixed gap. As when the EA starts it starts with a buy instant + the additional Grid Trades will be set to pending Buy stop and sell stop with equal size of gap and lot size. TP for Each lot in
I would to develop a trading bot with some confluences I use TradeLocker Settings must be adjustable…… I am based in uk and very keen to move my strategy to trade automatically I use TradingView for my analysis forex trades and use TradeLocker to action it and I want to come up with an EA to automate it with 3-5 confluences
Le robot achète/vend au changement de couleur de HARSI avec SL en fonction des bougies précédentes. TP et nbre de lots calculés en en fonction du SL. Le détails de la stratégie et un schéma seront transmis en second temps via un fichier séparé
Hi I would to develop a trading bot with some confluences I use TradeLocker Settings must be adjustable…… I am based in uk and very keen to move my strategy to trade automatically
Hello. I need to develop an MQL4 program for an Expert Advisor that initiates only two pending orders at a time designated by the user: one buy stop and one sell stop. These pending orders should include both stop loss and take profit parameters, with a optional distance from the current market price. Furthermore, provide for an optional lot size and formulate a system to automatically cancel the second pending order
I'm looking for a skilled MQL5 developer to create a fully automated MT4 Expert Advisor (EA) based on a breakout scalping strategy. The EA should: Identify support and resistance levels: Utilize technical indicators or other methods to accurately determine key price levels. Execute trades upon breakouts: Open positions immediately after a price decisively breaks through a support or resistance level, aiming to
I need to fix an indicator that MT5 says is too slow. The message in Expert Tab when the indicator is used inside another indicator through iCustom function is this: "Indicator is too slow 27674 ms. rewrite the indicator, please". So the indicator needs to be fixed to speed it up. I request first version ex5 file with expiration before starting the job. I request final source code mq5 file. Thank you Regards
Hope so, you are fine and in good health I would like to invite you for the work, I have one indicator that is written in pine script (Tradingview) language, I would like it to be converted to Mql 5, that will further lead in making of trading bot according to condition I will share with you Following, the indicator file is already attached, kindly look into it and if you can , I would be happy to work with you