I need a developer with very good English skills to provide me the code for a function that I want to insert into my own
code and which should do the following:
-
Count how many open orders a currency (or an index, etc) is involved in, separately on buy and sell.
-
Count the total lot size on buy and the total lot size on sell that the currency (or index) is involved in.
For example, if I have the following trades open:
2 lots of SELL GBPUSD
0.5 lot of SELL EURGBP
0.5 lot of BUY EURUSD
Then the results provided by the function will be:
Total number of open orders BUY on GBP: 1
Total lot size BUY on GBP: 0.5
Total number of open orders SELL on GBP: 1
Total lot size SELL on GBP: 2
Net lot size on GBP (BUY-SELL): -1.5
The function will return the same type of results for EUR, USD and all other currencies, indices, etc that are involved in
open orders.
Important: you have to be careful to identify when the currency is the first or the second in the currency pair in order to get the
result right. For example, a SELL order on EURGBP counts as a SELL on EUR, but as a BUY on GBP.
The code should also work for symbols composed of only one element, like US30.
Exception: I need an exception to be introduced in the case of instruments XTIUSD and XAUUSD, in the sense that in these cases the
function will NOT add these to the count of number of orders and size of lots on USD, BUT it will add them to the count of the number of orders and
the size of lots on XTI and XAU respectively.
Use of the function:
I should be able to call this function in the main program something like this: get_lot_count(Symbol), where symbol
can be GBPUSD, XTIUSD, US30, etc. When called, the function will calculate and provide (in separate variables) all the information
mentioned above in relation to the instrument(s) present in the symbol, regardless of whether there are 2 currencies in
the Symbol (like in EURUSD, in which case the information will be, of course, separate for EUR and USD) or a stand-alone instrument in the
symbol (like in US30).
I am flexible to suggestions on how to best organise the information.
Note: when applying for this job please let me know if you have experience in doing something similar or other information
that would help me understand that you actually looked carefully at the specs and that you are not just sending an “automated” application.
Commandes similaires
Close Vol (%N): Closes half (or any percentage you want) of the lot size of your open positions. For example, if you have five open orders of 0.06 lots and want to close half of each, you simply click it, and it will close the specified volume from each individual order. Close Order (%N): Closes half (or any amount you want) of the total number of your open orders. For example, if you have ten open orders and want to
I need a professional MQL5 developer to build a fully automated Expert Advisor (EA) named " Hassanien Daily Breakout ". The EA is based on daily price levels and specific execution times. Technical Specifications: Time Settings (Iraq Time - GMT+3): Execution Time: 10:00 AM. Full Clean-up Time: 10:50 PM (Close all open positions and delete pending orders). Entry Logic: Case 1 (Pending Orders): At 10:00 AM
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with $100. I am willing to pay up to $1500 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
Need an trailing SL manager which can work with my all open trades (trades may be multiple), Put a fix SL based on entry price and then trail my strictly in my favoured direction, Initial SL shud be confiurable via a small dashboard
Create a forex robot especially for sculping using the 3 ema strategy which consists of the following moving average levels of the 15 ma ,30 ema , 60 ema and 90 which enter potentially on a retest into the ema and targets opposite direction after the retest .Potentially bringing into account that the number of retested emas controlls the number of entreis which for eg. retest of the 15 ema single 0.01 trade is
Need to improve logic in existing coding for Range breakout/breakin EA 1) for timing range like 1am-10am Asian Range with max entry per session like London 1-2 times max entry 10-4pm & US session timings 1-2 entry 4pm - 8pm or 2) candle high low range eg 4pm to 4:30pm - entry logic eg mark 30min candle high low range as given in attached picture with buffer if required to show entry , SL & TP in trade/backtest mode
Make a Robot for mt5 using supertrend indicator for entry in trade with period 2 and multiplier 1.1 using Heiken Ashi candle also with martingle of 2 with maximum step for martingle is 15 step until profit reaches double of total loss. Select time frame 1 minute.Always close the previous trade if in loss then take next trade with martingle of 2 of previous lot in loss. All parameter have the option to change it
Robot que combine 2 indicadores en la ejecución automatica: 1 el Gann High Low y el Donchian Channel (DC) ACTIVO: XAU/USD EN UNA HORA PARA EL DC: período DC = 55 velas displacement/shift = 1 Mas Detalles en este video : https://youtu.be/3jI3cZY89T4?si=YEZAkMvWiq9O8-u9
Hello, I need an Expert Advisor for both MT4 and MT5 based on a recovery/grid trading strategy. Strategy Logic: User manually opens either a Buy or Sell market order. Once the first trade is opened, the EA automatically places an opposite pending order at a user-defined distance. If the pending order gets triggered, the EA places another opposite pending order at the original order price. This cycle continues
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity