Trading History Balance

MQL4 积分

工作已完成

执行时间3 天
员工反馈
Excellent Client , will work with again
客户反馈
Legend! Very helpful and professional, willing to go an extra mile to make customer understand his work. Thank you.

指定

Please help I have a complex problem for my size but not for your size Im sure :). Please note that Im not a programmer and my logic is not good but please if interested I'm willing to explain further.


I need to access trading history balance for 2 Classes of magic numbers and be filtered using:

  • recent time (hours) // Input variable;
  • limit history (number of trades in history)  //Input variable

Class 1

T History balance (Last 72 hours  //make it an Input variable, and Last 20 trades  //make it an Input variable, ) for magic numbers  1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12 including open and closed positions to reflect current balance (sum of profit/losses for those magic numbers made in the last 20 trades)

Class 2

T History balance (Last 72 hours  //make it an Input variable, and Last 20 trades  //make it an Input variable, ) for magic numbers  101, 102, 103, 104,105, 106, 107, 108, 109, 110, 111, and 112 including open and closed positions to reflect current balance (sum of profit/losses for those magic numbers made in the last 20 trades)

Then Code

//Global declaration

bool _Compare_1;

bool _Compare_2;


int start() {

  
   //Local declaration
  _Compare_1 = (Class_1 > Class_2);        // To trigger _Conditional_Arithmetic
  _Compare_2 = (Class_1 Class_2)
{
   if(Condition) Value1 +=Value2;
   return(Value1);
}


double _Conditional_Arithmetic_2(bool Condition, double Value1, double Value2)     // To be triggered by _Compare_2 = (Class_1 < Class_2
{
   if(Condition) Value1 +=Value2;
   return(Value1);
}


//Then I will merge this code with my EA. Does it make sense?

反馈

1
开发者 1
等级
(590)
项目
789
71%
仲裁
9
33% / 33%
逾期
22
3%
空闲
2
开发者 2
等级
(97)
项目
121
25%
仲裁
5
20% / 60%
逾期
17
14%
空闲
3
开发者 3
等级
(439)
项目
545
25%
仲裁
21
38% / 38%
逾期
83
15%
空闲
4
开发者 4
等级
(258)
项目
395
28%
仲裁
69
19% / 49%
逾期
120
30%
空闲
5
开发者 5
等级
(559)
项目
927
48%
仲裁
301
59% / 25%
逾期
124
13%
已载入
6
开发者 6
等级
(130)
项目
210
40%
仲裁
90
20% / 43%
逾期
85
40%
空闲
7
开发者 7
等级
(62)
项目
140
46%
仲裁
19
42% / 16%
逾期
32
23%
空闲
8
开发者 8
等级
(80)
项目
117
67%
仲裁
16
25% / 13%
逾期
12
10%
空闲
相似订单
Preciso de um replicador de ordens do mt5 para o profit. Não é necessário muita coisa no EA,preciso de: selecionar quantidade de contratos , copiar entradas e saídas, take e stop loss
I am looking for simple automated trade for NT8 . I want to place an Oco order at the open 9:30 Buy above the previous bar high and sell below the previous bar close. I want to set my own target and stop. Just this one trade
Overview: We are seeking a highly skilled Python Developer with experience in finance and trading software development, specifically with expertise in MetaTrader 4 (MT4). The project involves creating a Python script that connects to an MT4 account to extract historic trades and graphically present historical drawdown data (got from third party data) on < 15 min timeframe. Project Objectives: Develop a Python script
Seeking a freelance developer to bridge MetaTrader 4 (MT4) with eToro. Your task is to create a seamless connection to execute trades across both platforms. This will allow my ea's to copy trades onto the platform, i'm looking for something similar to the program CMAM that allows fixed lots and auto balance risk options based on equity and balance
Hi Everybody. I need to refine a code, written with my limited knowledge, in Tradingview for automated trading to entry orders in MT4 via Pineconnector that generates an alarm containing entry price, TP and SL (the latter two in value and not in pips) per single trade. The code to be refined already calculates the entry price (the entry is at the opening of the candle following the occurrence of the specific

项目信息

预算
30+ USD
开发人员
27 USD
截止日期
 1  3 天