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%
パブリッシュした人: 8 codes
2
開発者 2
評価
(97)
プロジェクト
121
25%
仲裁
5
20% / 60%
期限切れ
17
14%
3
開発者 3
評価
(453)
プロジェクト
566
26%
仲裁
24
42% / 38%
期限切れ
85
15%
パブリッシュした人: 6 codes
4
開発者 4
評価
(258)
プロジェクト
396
28%
仲裁
69
19% / 49%
期限切れ
121
31%
仕事中
5
開発者 5
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
6
開発者 6
評価
(130)
プロジェクト
210
40%
仲裁
90
20% / 43%
期限切れ
85
40%
7
開発者 7
評価
(64)
プロジェクト
144
46%
仲裁
20
40% / 20%
期限切れ
32
22%
8
開発者 8
評価
(80)
プロジェクト
117
67%
仲裁
16
25% / 13%
期限切れ
12
10%
パブリッシュした人: 2 codes

プロジェクト情報

予算
30+ USD
締め切り
最低 1 最高 3 日