작업 종료됨

실행 시간 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 코드
    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)
    프로젝트
    844
    73%
    중재
    15
    53% / 13%
    기한 초과
    193
    23%
    작업중
    13
    개발자 13
    등급
    (225)
    프로젝트
    285
    41%
    중재
    15
    13% / 47%
    기한 초과
    67
    24%
    무료
    14
    개발자 14
    등급
    (298)
    프로젝트
    477
    40%
    중재
    105
    40% / 24%
    기한 초과
    81
    17%
    로드됨
    게재됨: 2 코드
    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 코드
    비슷한 주문
    Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
    Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
    Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only

    프로젝트 정보

    예산
    50 - 125 USD
    기한
    에서 1  10 일