仕事が完了した

実行時間4 日
依頼者からのフィードバック
Thank you Bartlomiej, Very effective. Very efficient. Pleasure to have worked with you. Until next time, take care. Giuseppe

指定

Shifting MA's

MQL4
Any currency pair

Any time frame

 Slippage function

Spread function

LONG:  (Must have its own input fields as the variables/criteria will be different to SHORT):
MA Period - input field
MA Shift - input field

MA Method - input field
MA Apply to - input field

Max Deals for Consecutive Time Frames - input field (example 5 or 15)

Only one Buy open within the same Time Frame  
Lot size - input field
Take Profit - input field

Trailing stop - input field (function on each order separately)
Trailing stop - On/Off selection
PM = Previous Move and must always be a positive value.

-       If previous candle was up, the “Move” will be Close less Open

-       Example Close = 1300 & Open = 1290 so “Move” = 10 (positive)

-       If previous candle was down, the “Move” will be Close less Open * -1

-        Example Close = 1300 & Open = 1315 so “Move” = (-15 * -1) (positive)



Methodology - BUY:
A) Open Buy’s in the following order:

1.    Previous candle close is below previous MA, and

Current High moves higher than current MA + PM, then

Open at level current MA + Previous Move

Example:

-       Previous Close is 1900

-       Previous MA is 2000

-       Previous Move (PM) is 20

-       Current MA is 2010

-       Current High is 2040

-       Open Buy at 2030 (2010 + 20)

2.    Buy if No 1 above did not trigger

Previous candle close is below previous MA, and

Current High moves lower than current MA + PM, and

Current candle closes above current MA, then

Open at close of current candle

Example:

-       Previous Close is 1900

-       Previous MA is 2000

-       Previous Move (PM) is 20

-       Current MA is 2010

-       Current High is 2025

-       Current Close is at 2022

-       Open Buy at 2022

 

3.    Buy if No 1 or No 2 above has already triggered, and

Current candle closes above or equal to Current MA

Repeat for every candle until “Max Consecutive Deals” is reached

 

 

B) Close when one of the following is triggered whichever first:

  1.  Take Profit, OR
  2.  Stop Loss (has two criteria - see next step)

Two criteria for Stop Loss

- Current Low < (Previous Close less Previous Move), AND

Current Low < Current MA, OR


 3. Trailing Stop, OR
 4.     Price closes below current MA

     

    SHORT  (Must have its own input fields as the variable/criteria will be different to LONG):
    MA Period - input field
    MA Shift - input field

    MA Method - input field
    MA Apply to - input field

    Max Deals for Consecutive Time Frames - input field (example 5 or 15)
    Only one Sell open within the same Time Frame  
    Lot size - input field
    Take Profit - input field

    Trailing stop - input field (function on each order separately)

    Trailing stop - On/Off selection

    Methodology:
    Same as for LONG but just to the opposite


    応答済み

    1
    開発者 1
    評価
    (430)
    プロジェクト
    606
    55%
    仲裁
    48
    23% / 56%
    期限切れ
    176
    29%
    2
    開発者 2
    評価
    (349)
    プロジェクト
    463
    51%
    仲裁
    41
    24% / 49%
    期限切れ
    149
    32%
    3
    開発者 3
    評価
    (1931)
    プロジェクト
    3552
    88%
    仲裁
    73
    40% / 15%
    期限切れ
    268
    8%
    4
    開発者 4
    評価
    (574)
    プロジェクト
    945
    47%
    仲裁
    309
    58% / 27%
    期限切れ
    125
    13%
    5
    開発者 5
    評価
    (6)
    プロジェクト
    8
    13%
    仲裁
    1
    0% / 100%
    期限切れ
    0
    6
    開発者 6
    評価
    (772)
    プロジェクト
    1039
    44%
    仲裁
    50
    8% / 50%
    期限切れ
    116
    11%
    7
    開発者 7
    評価
    (365)
    プロジェクト
    507
    40%
    仲裁
    159
    17% / 74%
    期限切れ
    99
    20%
    取り込み中
    8
    開発者 8
    評価
    (144)
    プロジェクト
    285
    42%
    仲裁
    19
    63% / 5%
    期限切れ
    29
    10%
    パブリッシュした人: 2 codes
    9
    開発者 9
    評価
    (4)
    プロジェクト
    12
    0%
    仲裁
    0
    期限切れ
    3
    25%
    10
    開発者 10
    評価
    (26)
    プロジェクト
    34
    26%
    仲裁
    7
    14% / 43%
    期限切れ
    7
    21%
    11
    開発者 11
    評価
    プロジェクト
    0
    0%
    仲裁
    0
    期限切れ
    0
    12
    開発者 12
    評価
    (564)
    プロジェクト
    845
    73%
    仲裁
    15
    53% / 13%
    期限切れ
    193
    23%
    13
    開発者 13
    評価
    (225)
    プロジェクト
    285
    41%
    仲裁
    15
    13% / 47%
    期限切れ
    67
    24%
    14
    開発者 14
    評価
    (298)
    プロジェクト
    478
    40%
    仲裁
    105
    40% / 24%
    期限切れ
    82
    17%
    取り込み中
    パブリッシュした人: 2 codes
    15
    開発者 15
    評価
    (271)
    プロジェクト
    553
    50%
    仲裁
    57
    40% / 37%
    期限切れ
    227
    41%
    仕事中
    16
    開発者 16
    評価
    (4)
    プロジェクト
    4
    0%
    仲裁
    5
    0% / 80%
    期限切れ
    1
    25%
    17
    開発者 17
    評価
    (22)
    プロジェクト
    18
    6%
    仲裁
    31
    3% / 65%
    期限切れ
    5
    28%
    18
    開発者 18
    評価
    (135)
    プロジェクト
    163
    40%
    仲裁
    11
    27% / 73%
    期限切れ
    24
    15%
    19
    開発者 19
    評価
    (69)
    プロジェクト
    146
    34%
    仲裁
    13
    8% / 62%
    期限切れ
    26
    18%
    パブリッシュした人: 6 codes
    類似した注文
    //———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
    MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project
    MT4/MT5 HFT EA us30 30 - 3000 USD
    Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
    I need an Expert Advisor (EA) programmed and designed to help me with trading. Requirements: * The programmer must have experience in implementing software projects. * The script must be high-quality, clean, clear, and editable at any time, with ownership of the script provided. * It must work on the MT4 platform. * The maximum project completion time is 7 to 14 days. * The programmer must be cooperative and

    プロジェクト情報

    予算
    50 - 125 USD
    締め切り
    最低 1 最高 10 日